3-D Hierarchical Modeling - Writeup
Phil Katz and Stephen St.Vincent
home   |   images
Lab description


Lab summary:

For this lab, we implemented the matrix transformations from last week as Module operations. In addition, we added a Module operation that creates the unit cube centered on the origin, which will be useful once we implement lighting and shading effects.

The new methods that we implemented were:
  • Module_translate - Moves the module in x, y, and/or z.
  • Module_scale - Scales the module in x, y, and/or z.
  • Module_rotateX - Rotates the module about the x-axis.
  • Module_rotateY - Rotates the module about the y-axis.
  • Module_rotateXYZ - Rotates the module to the specified coordinate vectors.
  • Module_cube - Adds a cube made of 12 triangular polygons to the module.
  • Module_cubeFrame - Adds a wireframe cube of 12 lines to the module.



First required image

Original

Translate

Scale

RotateX

RotateY

RotateXYZ
Questions:
  1. What extensions did you do for this assignment, how did you do them, and how well did they work?
    We did not do any extensions for this lab.