[osg-users] PAT and getWorldMatrices difference

Vincent Bourdier vincent.bourdier at gmail.com
Wed Jul 30 00:24:47 PDT 2008


Hi All,

Working on a way to find the good world matrix for a node, I've encountered
some problems :

My structure is this one :

-root
  |-Node...(not osg::Tranform)
     |-PAT (osg::PositionAtitudeTransform)

If I get the PAT translation and rotation, I've a vector and a Quat, which
looks good,
if I consider pat as a node and use _node->getWorldMatrices()[0] and get
Rotation and Translation, the results are not the same...

What can do this ?
How to get real world coordinate form a node (Transform or not) ?

thanks,

Regards,
   Vincent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080730/ad3b1b95/attachment-0002.htm>


More information about the osg-users mailing list