www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: redfalcon on November 15, 2011, 10:16:07 am

Title: Getting the pose of the camera?
Post by: redfalcon 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.
Title: Re: Getting the pose of the camera?
Post by: EgonOlsen on November 15, 2011, 10:28:37 am
The back matrix reflects the rotations. If you want the position, use getPosition().