Front and back surfaces

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 !

  • 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.