Projecting a 3D point to 2D screen space using a perspective camera matrix
I am attempting to project a series of 3D points onto the screen using a perspective camera matrix. I do not have world space (or consider it being an identity matrix) and my camera does not have camera space (or consider it an identity matrix), I do have a 4x4 matrix for my object space. I am taking the object matrix and multiplying it by the camera perspective matrix, generated with the following method: Matrix4 createPerspectiveMatrix( Float fov, Float aspect, Float near, Float far ) { Float fov2 = (fov/2) * (Math.PI/180); Float tan = Math.tan(fov2); Float f = 1 / tan; return new Matrix4 (