CS-321 Computer Graphics
Homework
Due Thursday Nov 2

Assignment

Following the material covered in this week's lectures, consider the viewing parameters for the case where P0 =(0,30,40), Pr=(0,0,0), and the "view-up" vector V=(0,10,0).

  1. Compute the 4x4 view-to-model coordinate transformation mTv. Show your work in forming the associated vectors N, n, L, l, and m.
     
  2. Compute the inverse of this transformation, that is: vTm.
     
  3. Using the inverse transformation, compute the viewing coordinates of a point in the model frame with coordinates (0,0,0).
     
  4. Compute the viewing coordinates of a point in the model frame with coordinates (10,33,44).

     

Show all work.

Submit your answer on paper.