[osg-users] TrackBall Rotation
robert.osfield at gmail.com
Tue Mar 31 02:34:44 PDT 2009
On Tue, Mar 31, 2009 at 9:52 AM, Rajesh.R <osgforum at tevs.eu> wrote:
> How does OSG uses the Rotation matrix computed by TrackBall
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users