Project 4: 3D Graphics Pipeline
JAVA Source Code for Project
4:
| Pipeline.java | The infamous purple cow. No custimization, unfortunately |
| Raster.java | Professor McMillan's Raster implementation |
| ZRaster.java | Professor McMillan's ZRaster implementation |
| Matrix3D.java | No major changes, however, I borrowed Prof. McMillan's frustum code from his Matrix class |
| Point3D.java | Allows 3D points to be described. Heavily modified (homogeneous/4D) |
| Matrix.java | This class is a base class for Matrix3D and Point3D which implements a basic Matrix class, with addition, scalar and matrix multiplication. |
| SizeException.java | Exception thrown by the Matrix class |
| EdgeEqn.java | From Prof. McMillan's Triangle Renderer |
| Triangle.java | Used part of Prof. McMillan's Triangle Renderer. Added some functionality to keep it from re-transforming the same points. |
| Vertex3D.java | Extension of Point3D for Pipeline Implementation |
| Light.java | A class that implements ambient, directional and point illumination. Unfortunately, it is per surface, and not per-vertex. |
| Surface.java | Plain supplied surface file |