Reputation:
That's what I understand about graphic pipeline (Opengl) so far, can someone confirm that?
Object space: Object (geometry) specific coords;
World space: rotate, translate and scale the object to world space;
I've read that eye space reverses the Z axis, so, an original +z vertex turns backward from eye, why?
Upvotes: 0
Views: 503
Reputation: 162164
Nope. There are
→ Modelview Transform →
→ Projection Transform →
→ Homogenous Coordinate w-normalization →
The modelview and projection transform are usually expressed by a matrix multiplication. There are no special requirements on the matrices used, but you normally want them to be non-singular. But between that anything goes. The usually found transformations are rotation-scalings + translation and shear-scalings + translation.
I've read that eye space reverses the Z axis, so, an original +z vertex turns backward from eye, why?
No, not really. I think you may maean negative z and w elements in the projection matrix. But that's only to get the depth ordering right. You could flip the sign of them just fine and reverse that effect by making certain adjustments to the depth range and depth test function. The negative sign there is just conventional to obtain a right-handed coordinate system with default settings, i.e. positive Z eye space coordinates come out of the screen.
Upvotes: 3