Results 1 to 3 of 3

Thread: What exactly does "clip space" mean?

  1. #1
    Member Newbie
    Join Date
    Sep 2001
    Posts
    40

    What exactly does "clip space" mean?

    Hi all,

    I find myself perpetually stumped by the term "clip space" mentioned at every turn in OGL literature. Whilst there is brief mention of the elements making up the projection matrix in both the red and blue books, there never was any attempt at explaining how these were derived. And without such foreknowledge, it becomes quite impossible to grasp what the term "clip space" actually means...(other than saying it is where vertex coords are clipped against -Wc and Wc, that is)
    Can somebody kindly point me to relevant resources, references, websites etc?


    Thousand thanks!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    Belmont, CA, USA
    Posts
    216

    Re: What exactly does "clip space" mean?

    Vertices go though a series of transformations in order to determine where they are on the screen. The stages are generally:

    model space
    world space
    camera space (aka view space and eye space)
    clip space
    screen space

    The reason for the name "clip space" is that this is when view frustum clipping is done. At this point the view frustum is in the shape of a rectangular box (all sides parallel) and it is faster to clip against a box than a frustum.

  3. #3
    Member Newbie
    Join Date
    Sep 2001
    Posts
    40

    Re: What exactly does "clip space" mean?

    Well, actually I do know that part already(the books do explain how clipping is easier against a cuboid volume than a truncated pyramidal volume).
    But what I don't get is *how* the projection matrix works to transform vertices from eye to clip space.
    Basically I need to understand exactly what the projection matrix does in order to fully appreciate what "clip space" truly means...and especially why the clip coords of those verts inside the frustum will always be within -Wc and Wc.

Similar Threads

  1. Camera space shadow mapping clip space issues
    By fredvam in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 09-27-2015, 04:58 PM
  2. transfer the screen space back to clip space, how?
    By tomriddle in forum OpenGL: Advanced Coding
    Replies: 10
    Last Post: 10-19-2011, 11:43 PM
  3. Clip Space coordinate question
    By azcoder in forum OpenGL: GLSL
    Replies: 6
    Last Post: 11-05-2007, 04:21 AM
  4. Clipping triangles in clip space
    By urquidio in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 02-01-2007, 10:52 AM
  5. Clip space volume in opengl
    By jonasmr in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-29-2003, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean