Tutorial
Geometric Transformations 2

(The tutorial solutions are also available)
  1. Draw a cavalier projection of a block of size x=2, y=3, z=4. Use a 30-degree projection, i.e., the z-axis should make a 30-degree angle with the x-axis.

  2. Give a projection matrix that produces the cavalier projection of question 1. Ensure that points lying the xy-plane are unaltered by the projection.

  3. The gluViewport() function call is used to setup the transformation from normalized device coordinates to the display coordinate system, as shown below. Derive the necessary 2D transformation.