Hi all, Just a simple question, I have now found a need to use LookAt functions, but I don’t understand something, I create a matrix using lookAt, but when I call getlookAt, it does not give the same results back I originally used when creating it. Any ideas?
Code : osg::Vec3d eye(0.0, -89.0, 0.0); osg::Vec3d cnt(0.0, 0.0, 0.0); osg::Vec3d up(0.0, 1.0, 0.0); M.makeLookAt(eye, cnt, up); M.getLookAt(eye, cnt, up, 89.0); The results I get are all –1.#IND0000000000000 (not a number) Cheers Jason PS: I am attending Sig-graph 2014 this year, so it will be great to finally meet some of the wizards from OSG. Internet Email Confidentiality Footer: This email and any files transmitted with it contain privileged/confidential information intended for the addressee. Neither the confidentiality of nor any privilege in the email is waived, lost or destroyed by reason that it has been transmitted other than to the addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

