Hi check if getViewMatrixAsLookAt(...) on viewer camera is sufficient for your needs
Cheers. 22.08.2012, 22:21, "Paul Leopard" <[email protected]>: > I want to query osgViewer to get the current camera position (Note: not the > home position). As I move around in a scene I want to know the current > coordinates of my eyepoint so that I can save it to a configuration file so > that the next time I run my app I can read that position and set it as the > home position. > > How can I simply get the current eye position (same coordinate frame as the > home position is specified in). > > Thanks in advance, > Paul > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49410#49410 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

