View Full Version : Front and back surfaces

11-30-2003, 09:05 AM
Hi !

I have created an app that just rotates an common tea-pot but when I run it with perspective projection the back side of tea-pot can be seen from the front side . I 'm sure that I'm setting the depth test , and depth func , etc. properly but no matter what I do doesn't solve the problem !

any help will be appreciated !

12-01-2003, 12:39 AM
- Clear the depth buffer.
- Make the ratio of zNear/zFar in your frustum as big as possible to get a better depth buffer precision.
- Request a depth buffer with 24 bits.
- Enable GL_CULL_FACE.