Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: what is the range of clipping space in OpenGL?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member Newbie
    Join Date
    Aug 2011

    Question what is the range of clipping space in OpenGL?

    I'm a beginner in opengl, and I enounter a problem concering about clipping space.
    I read from opengl 4.0 reference that Values specified by glClearDepth are clamped to the range 0 1.
    but the normilized device coordinate(NDC) has the rang [-1, 1] right?
    My question: is the value of glClearDepth applied to NDC? if it is, then how could I clip the vertex with z value between [-1, 0]?
    Last edited by Sobeit; 11-30-2012 at 08:50 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts