Hi Rajesh,

On Tue, Mar 31, 2009 at 9:52 AM, Rajesh.R <[email protected]> wrote:

> How does OSG uses the  Rotation matrix computed by TrackBall
> functionality?.
>
> Whether setviewbyMatrix functionality can  use  rotation matrix for viewing
> the rotation.
>

The osgViewer::Viewer updateTraversal() copies the trackball matrix across
to the viewers camera on each frame.  Go look at the code.  It doesn't use
the "Rotation matrix" as there is no rotation matrix in the
TrackballManipulator, just a complete 4x4 matrix.

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

Reply via email to