[osg-users] Matrix & Quat precision

Vincent Bourdier vincent.bourdier at gmail.com
Thu Mar 27 01:38:30 PDT 2008


Hi all,

I'm currently making a new Manipulator inherited from MatrixManipulator.

The specificity is : On the call of a function, the manipulator (camera)
have to follow a node which is moving. I mean that the camera have to be
exactly immobile relative to the moving node.
For that i've used Matrix, Vec3 and Quat.

All looks great, but after 10 minutes of running, I can see that a little
moving difference between the node and the camera... if the node rotate
about 2 or 3 axis, the difference is more important...

Using Vec3d, Quat and Matrixd, is there any reason for this lack of
precision ? Or is it my method which is not good... ?

Thanks.

Regards,
   Vincent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080327/06eff19e/attachment.htm 


More information about the osg-users mailing list