View Full Version : colouring GL_QUADS persective/ortho

02-11-2004, 05:43 AM

If anyone can help it'd be much appreciated.

I'm coulouring GL_QUADS in ortho view which works fine, however when I switch the view to perspective the GL_QUADS are no longered coloured properly. You can see though them and the colouring varies as I zoom in and out.

Any ideas anyone????

02-11-2004, 05:56 AM
z-buffering not precise enough?
in the glFrustum or gluPerspective call, make the zFar/zNear ratio as small as possible by pushing zNear out and zFar in as close around your objects without clipping them.

Check this discussion for quad coloring pitfalls: http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/015121.html

[This message has been edited by Relic (edited 02-11-2004).]