Author Topic: How to get camera angle?  (Read 855 times)

Offline penprakash

  • byte
  • *
  • Posts: 26
    • View Profile
How to get camera angle?
« on: August 02, 2013, 06:46:05 pm »

 I have integrated the vuforia with jpct-ae, how to i get actual camera angle using direction vector or upside vector?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11963
    • View Profile
Re: How to get camera angle?
« Reply #1 on: August 02, 2013, 09:18:42 pm »
You can find some code to derive angles from a rotation matrix in the forum, if that's what you mean (can't link at it ATM...just search the forum for derive angle or similar). I'm not sure what you mean with direction and up vector. Do you need them or do you have them? If you need them, you can get the z and the y axis from the camera.