basic question about quads
I am working a on simple 3d model with openGL, and something did''n quite work, probably i just miss a line of setting,
i am drawing model, the second square is overlaping the first one. how come?
http://www.thinbox.ca/tests/gus/images/Image2.gif
the red one is suppose to be under.
1) Make sure you have a depth buffer.
2) Make sure you have depth testing enabled glEnable (GL_DEPTH_TEST)
2) Make sure you have depth testing enabled glEnable (GL_DEPTH_TEST)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement