Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenGL examples
#39
So...
Right at the beginning - to the questions of @TempodiBasic:

#32 - texturing the cube - so this post was updated and I added a zip file with the source code and the textures I used, the ones you refer to are not mine.

#35 - thanks for the heads up. There were two problems. One is that for MIPMAPPING to work you have to use a texture such that both sides are divisible by two and at the same time such that its longest side is at most 128 pixels long. It is information that I read recently - respectively - one source claims that it is ideal to upload any large texture, that large is better, it only insists on the condition that both sides are divisible by two, but does not indicate for which version of OpenGL they mean it, and another source again states , that textures up to 128x128 pixels should be selected. This will probably be true, because at larger sizes the program will hang (after eliminating the fatal problem number 2)

Fatal problem number 2, now eliminated everywhere. I forgot! in the library declaration, include the BYVAL declaration before the input parameters. That was why it just didn't work. Now it works as it should and I added BYVAL to all the source codes in the entire thread. I'm very sorry for this, I thought it was unnecessary, but recently I was clearly proven wrong.

When you run the program now, I added the wallpaper to the thread, with which I tried it again, so the first texturing - linear will return a very square wallpaper. The next one will be smoother. The two smooth ones look the same, I don't know where the problem is, I thought maybe my graphics card doesn't support it?  Huh


#34: TerryRitchie - my pleasure and sorry for the confusion.
#35: Mnrvovrfc: I agree with what you're saying.
#36: BPlus: You'd miss a lot Smile But I still can't find the satellites I wrote with MapTriangle...

#37: MasterGy: Well, I'll try to do it. I already had the fog locked in the cube so it should work. At the same time, the fog can be any color and also one number indicates its density. Basically.... well, I already thought of it. As one goes into the fog, according to the SIN, its density will rise to its center (ABS(SIN) = 1) and decrease to zero again as it leaves the fog. I also have to try if there will be three quadrics that create a new shape (for example 2 spheres + cylinder = dumbbell) so that instead of three quadrics only one displaylist would be called... I'VE NEVER TRIED THIS. Smile Heck yeah that's a challenge. I'll try it. I'm not saying it will work, but I have to try!


Reply


Messages In This Thread
OpenGL examples - by Petr - 03-25-2023, 04:01 PM
RE: OpenGL examples - by AshishKingdom - 03-25-2023, 09:46 PM
RE: OpenGL examples - by mnrvovrfc - 03-25-2023, 10:15 PM
RE: OpenGL examples - by Petr - 03-26-2023, 12:26 PM
RE: OpenGL examples - by Petr - 03-29-2023, 01:58 PM
RE: OpenGL examples - by dcromley - 03-29-2023, 03:35 PM
RE: OpenGL examples - by TerryRitchie - 03-29-2023, 04:19 PM
RE: OpenGL examples - by AshishKingdom - 03-31-2023, 11:25 AM
RE: OpenGL examples - by Petr - 03-31-2023, 02:31 PM
RE: OpenGL examples - by Petr - 03-31-2023, 03:12 PM
RE: OpenGL examples - by Petr - 03-31-2023, 06:24 PM
RE: OpenGL examples - by Petr - 03-31-2023, 06:59 PM
RE: OpenGL examples - by TempodiBasic - 04-13-2023, 10:53 PM
RE: OpenGL examples - by Petr - 04-01-2023, 12:56 PM
RE: OpenGL examples - by Petr - 04-01-2023, 01:19 PM
RE: OpenGL examples - by MasterGy - 04-01-2023, 05:20 PM
RE: OpenGL examples - by Petr - 04-01-2023, 06:56 PM
RE: OpenGL examples - by Petr - 04-01-2023, 07:25 PM
RE: OpenGL examples - by Petr - 04-02-2023, 06:36 PM
RE: OpenGL examples - by mnrvovrfc - 04-02-2023, 09:48 PM
RE: OpenGL examples - by Petr - 04-02-2023, 09:03 PM
RE: OpenGL examples - by MasterGy - 04-03-2023, 12:21 PM
RE: OpenGL examples - by Petr - 04-03-2023, 02:12 PM
RE: OpenGL examples - by mnrvovrfc - 04-03-2023, 03:59 PM
RE: OpenGL examples - by Petr - 04-03-2023, 02:23 PM
RE: OpenGL examples - by Petr - 04-03-2023, 07:44 PM
RE: OpenGL examples - by Petr - 04-03-2023, 09:02 PM
RE: OpenGL examples - by Petr - 04-08-2023, 08:40 PM
RE: OpenGL examples - by Petr - 04-09-2023, 07:12 PM
RE: OpenGL examples - by mnrvovrfc - 04-10-2023, 12:42 PM
RE: OpenGL examples - by Petr - 04-12-2023, 08:05 PM
RE: OpenGL examples - by Petr - 04-13-2023, 09:11 PM
RE: OpenGL examples - by mnrvovrfc - 04-14-2023, 01:46 AM
RE: OpenGL examples - by TerryRitchie - 04-14-2023, 03:10 AM
RE: OpenGL examples - by TempodiBasic - 04-14-2023, 08:52 AM
RE: OpenGL examples - by bplus - 04-14-2023, 09:17 AM
RE: OpenGL examples - by MasterGy - 04-14-2023, 10:19 AM
RE: OpenGL examples - by Petr - 04-14-2023, 02:00 PM
RE: OpenGL examples - by Petr - 04-14-2023, 04:23 PM
RE: OpenGL examples - by Petr - 04-14-2023, 08:04 PM
RE: OpenGL examples - by Petr - 04-14-2023, 09:22 PM
RE: OpenGL examples - by Petr - 04-15-2023, 03:08 PM
RE: OpenGL examples - by bplus - 04-15-2023, 05:09 PM
RE: OpenGL examples - by Petr - 04-15-2023, 09:05 PM
RE: OpenGL examples - by Petr - 04-15-2023, 09:27 PM
RE: OpenGL examples - by bplus - 04-15-2023, 10:01 PM
RE: OpenGL examples - by Petr - 04-16-2023, 05:40 AM
RE: OpenGL examples - by bplus - 04-16-2023, 02:22 PM
RE: OpenGL examples - by Petr - 04-17-2023, 06:46 PM
RE: OpenGL examples - by MasterGy - 04-19-2023, 02:43 PM
RE: OpenGL examples - by Petr - 04-19-2023, 02:49 PM
RE: OpenGL examples - by MasterGy - 04-26-2023, 10:12 AM
RE: OpenGL examples - by Petr - 04-26-2023, 02:11 PM



Users browsing this thread: 2 Guest(s)