Please do a search of the mailng list archives ,

 the topics of retrieving a camera translation XYZ and orienation HPR
has been covered extensively and numerous times


Gordon
Product Manager 3d
__________________________________________________________
Gordon Tomlinson
Email  : gtomlinson @ overwatch.textron.com
__________________________________________________________


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Oren
David
Sent: Thursday, March 26, 2009 7:36 AM
To: [email protected]
Subject: [osg-users] Get the camera axis (X,Y,Z)

Hi,

I'm trying to get my camera axis because I want to rotate an node
according to these axis. I have a camera controlled by a joystick and a
node, sometime I move the camera around and sometimes I need the node to
rotate relatively to my camera also using the joystick, so I'll be able
to rotate the node left/right up/down relatively to my  camera current
position

I hope I explained my self fair enough.

Thank you.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9276#9276





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to