Lab 7: 3D Hierarchical Modeling
Alex Benn and Andrew Frampton
Quick Summary
In this part, the hierarchical modeling system was modified to work with
the challenges posed by three-dimensional coordinates. This included expansion
of the Module functions to include the recently-developed 3D Matrix functions.
Also, the Module_draw function was modified to work with the 3D perspective
projection.

Figure 1: Test Code Animation (cubism.c)

Figure 2: Cube Pile 1

Figure 3: Cube Pile 2 - Translation

Figure 4: Cube Pile 3 - Scale in 3 Dimensions

Figure 5: Cube Pile 4 - Rotate About X-axis

Figure 6: Cube Pile 5 - Rotate About Y-axis

Figure 7: Cube Pile 6 - Arbitrary Rotate
Questions
- We implemented Module_shearZ(), which applies a shear in the
z-coordinate.

Figure 7: Cube Pile 7 - Z-Shear
Back to Alex and Andrew's other labs