CS 420 Computer Graphics


Lab 13
Dr. Tong Yu, Fall 2007

Transformation Matrices

Login and open two windows, one for editing and one for compiling and executing programs.

  1. Copy the program cube_mat.cpp from the lecture notes. Compile and execute it.
  2. Try different projection and modelview transformations ( translation, rotation, and scaling ) and examine the outputs to check if they are consistent with what you expect. In particular, try the rotation transformations about x, y, z axis for 30.