21 years, 10 months ago
Highlights
Aaahh I found out what the problem was. The function glTexCoord2f( (float)x / (float)MAP_SIZE, -(float)z / (float)MAP_SIZE );should have been glTexCoord2f( (float)x / (float)MAP…
21 years, 10 months ago
21 years, 10 months ago
Hi all, I'm a starting OpenGL programmer and I don't seem to get my Height map working properly..... I copied the code from another tutorial and tried to make it work in my prog…
21 years, 10 months ago
21 years, 10 months ago
21 years, 10 months ago
Latest Activity
See all in DiscussionsAaahh I found out what the problem was. The function glTexCoord2f( (float)x / (float)MAP_SIZE, -(float)z / (float)MAP_SIZE );should have been …
21 years, 10 months ago
Quote:Original post by sand_manIt looks like its repeating from one side. Must be something to do with the texture mapping.That's …
21 years, 10 months ago
There are serveral ways to do it. Best is to put it in a while statement.while(int stop = 1) //read …
21 years, 10 months ago