www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: penprakash on August 02, 2013, 06:46:05 pm

Title: How to get camera angle?
Post by: penprakash on August 02, 2013, 06:46:05 pm
Hi,

 I have integrated the vuforia with jpct-ae, how to i get actual camera angle using direction vector or upside vector?
Title: Re: How to get camera angle?
Post by: EgonOlsen 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.