colouring GL_QUADS persective/ortho


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???

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:

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