Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: GClements

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    317

    Do you actually have a depth buffer? If you're...

    Do you actually have a depth buffer? If you're using GLUT, you need to pass the GLUT_DEPTH flag to glutInitDisplayMode().

    If glEnable(GL_DEPTH_TEST) doesn't have any effect, then you probably...
  2. Replies
    5
    Views
    317

    My first guess would be that it's related to...

    My first guess would be that it's related to depth testing. Check that the near plane (in gluPerspective, glFrustum, etc) isn't too close, as that dictates the accuracy of the depth buffer.
Results 1 to 2 of 2