PDA

View Full Version : 4x4 Object matrix to camera matrix



Mitchell M
01-03-2014, 04:23 PM
OK so I figured out how to multiply rotation matricies to other matricies used to store object location and I'm able to get them to rotate on their local axises but now I am trying ot make a 6 DOF camera. Is there a good way to use the matrix data that works on objects and then use that at the start of my draw scene to use that data to represent where the camera is?

Thanks
Mitchell

Mitchell M
01-04-2014, 09:03 AM
OK I figured out how to do it. I just take my object matrix and find the inverse of it and load the inverse matrix.