Hi Henry,

El Jueves 23 Abril 2009ES 15:35:30 Mrs. Mister escribió:
> now i updraded to osg 2.6 and i read trough the header files
> of osgViewer::Viewer and View and osg::Camera. sadly i had
> no idea where to start or how the procedure for obtaining
> the position and orientation of the actual Camera, View is?

You could:

Viewer->getCamera(0)->getViewMatrix().decompose(translation, rotation, scale, 
scaleorientation);

See the method osg::Matrixd::decompose

HTH,

Alberto
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to