I have something really crazy going on in my little OpenGL project. I’m writing some terrain code but I get holes through my terrain all over the place.
I tracked it down to the glVertex3f calls.
If I hardcode a call to glVertex3f with a Z value of 0.035723 it just doesn’t render the triangle!
I switched the triangle strips off and used GL_LINE_STRIPS - same problem!
As soon as I change the Z value to 0.05 it works. If I change the Z value to 0.1 it stops working again.
So I typecast everything through GLfloats just in case - still broken.
It looks like a driver problem to me - what do you guys think?
I’m running SDL + OpenGL + NVidia Linux GLX drivers on Mandrake 9.0 with my faithful old TNT2.
Paul