Hi S2LR, thank you for your reply I converted camera's rotation matrix (as quat) to local quat then I calculated the yaw, pitch and roll angles from the comverted quat but it did not work.
I could not understand your reply exactly, how can I calculate the bearing when the pitch & roll angles are introduced? thanks ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49110#49110 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org