Lab 4: Lathe Objects
CS 142: The Mathematics of Computer Graphics, Spring 2007


Due Date: Tuesday, Feb 13.

Goals

Practice with Matrices

These will not be collected. We will go over them in class.

  1. What is the matrix for the 2D rotation by 30 degrees? What is the inverse matrix?
  2. What is the matrix for the 2D translation by 2 units along x and -3 units along y? What is the inverse matrix?
  3. What is the matrix for the 3D scale by 2 along x and 4 along z (y is unchanged)? What is the matrix in the Povray format? What is the inverse matrix?
  4. What is the single matrix that represents a 2D rotation by 30 degrees followed by a scale along x? (hint, write down each matrix separately and then multiply them together).
  5. What is the matrix that represents a shear along x by an amount proportional to y?
  6. What is the matrix that represents a 3D rotation by 25 degrees about the x axis (don't worry if you get the clockwise vs counterclockwise directions wrong). What is this matrix in Povray's format?
  7. How do you convert degrees to radians? Radians to degrees?
  8. How do you define the sine function?

Lathe Objects

Render a simple picture of your lathe object. Choose lighting and a camera angle that shows off the shape of the object.

Creating an Include file.

Summary of what to turn in

No later than class time on Tuesday, Feb 13, please do the following:

We will discuss the images during class on Feb 13.


[top]  [Schedule]  [Home]