3D Matrix


The following applets test all of the methods implemented in Matrix3D.java, including helper functions and methods to transform a 3D matrix. I modifed TestMatrix.java to take two additional parameters: method (translate, rotate, skew or scale) and view (perspective or orthographic). The basic idea behind the tests is the same as in the initial file. Point3D.java was not modified.


Source Code:

Matrix3D.java
TestMatrix.java
Point3D.java


Test applets:

Perspective View and Rotate
Perspective View and Translate
Orthographic View and Scale
Orthographic View and Skew