View Full Version : Modelview vs Projection

01-19-2002, 12:44 AM
can someone tell me difference between Modelview and Projection on some example(not the definition - i don't get it from it)

01-19-2002, 05:09 AM
In simple terms the modelview moves the eye and objects, the projection is the camera, it converts 3D objects to 2D objects suitable for drawing on the display.

This is just how they are supposed to be used though. You can actually do both with either of these but it will probably mess up things like fog, lighting and the depth buffer.

The more technical difference is that objects are transformed through the modelview matrix then through the projection matrix and some things get transformed through only the modelview (like light positions) and are used for calculations on vertices between the modelview and projection.