Hi.

This might not help, but :

- For OSG: This is obtained from getAttitude() and getPosition() of the
> PositionAttitudeTransform node that contains the subtree in the scene graph
> which holds the geometry.


getAttitude and getPosition will only tell you the settings of the PAT in
question. If there are any PATs above this in the scenegraph, then the
numbers returned will not reflect the world-to-local transformation. You
need to look at all PATs in the subgraph. For this you can use the
computeLocalToWorldMatrix() method.

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

Reply via email to