Author Topic: Getting the pose of the camera?  (Read 2427 times)

Offline redfalcon

  • byte
  • *
  • Posts: 14
    • View Profile
Getting the pose of the camera?
« on: November 15, 2011, 10:16:07 am »
Hello,

is it possible to get the pose of the camera? I tried getting the backbuffer matrix with getBack(), but that doesn't seem to be the same. If I apply e.g. a translation on the camera, the backbuffer matrix will remain the same as before the transformation.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Getting the pose of the camera?
« Reply #1 on: November 15, 2011, 10:28:37 am »
The back matrix reflects the rotations. If you want the position, use getPosition().