[osg-users] Rotate Camera on Its Axis

Rômulo Cerqueira romulogcerqueira at gmail.com
Thu Jun 11 06:04:55 PDT 2015


Hi,
I have problems with this topic.

I get my View Matrix by viewer->getCamera()->getViewMatrix() and apply a rotation by preMult, but the camera rotates using the center of the world scene as reference, not its own center.

How I can do this?

... 

Thank you!

Cheers,
Rômulo

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








More information about the osg-users mailing list