Rotation by angle
Model-Viewing-Projection Transformation.
View/Camera Transformation: Converts points in canonical coordinates (or world coordinates) to camera coordinates (or places them in camera space).
Camera Space - Eye Space
Projection Transformation: Moves points from camera space to the canonical view volume.
Sometimes called Viewing Transformation
Canonical View Volume - Clip Space or Normalized Device Coordinates
Viewport Transformation: Maps the canonical view volume to screen space.
Screen Space - Pixel Coordinates
Let the following attributes be that of the camera:
The target of the view transformation is to transform the coordinates such that:
the camera is at the origin, and
its up direction is the new
When deducting the matrix for view transformation, consider the inverse rotation which rotates the
The purpose of this projection is to transform the selected volume such that it then centers at origin and has a normalized size of
Note that
If such an orthographic projection happens after applying a perspective projection, then the matrix can be simplified to:
where