Previous | Next --- Slide 22 of 91
Back to Lecture Thumbnails
xixixi

Is the cube in the clip coordinate a unit cube? The length of each side is 2.

kayvonf

The slide is correct. It's illustrating OpenGL's clip space, which is [-1,-1,1] to [1,1,1]. Given a point P in 3D-H, apply the perspective transform, then move from homogeneous space to 3D clip space (divide by w).

Good online discussions:

https://community.khronos.org/t/normalized-device-coordinates/60709/5

https://gamedev.stackexchange.com/questions/29018/why-does-opengl-require-all-coordinates-in-1-1-ndc/29020>