[osg-users] How to get current position of osgViewer camera
1,358 views
Skip to first unread message
Paul Leopard
unread,
Aug 22, 2012, 2:21:20 PM8/22/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
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).