Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: 4x4 Object matrix to camera matrix

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2014
    Posts
    5

    4x4 Object matrix to camera matrix

    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

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2014
    Posts
    5
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •