Hello James,

It's such a fundamental aspect of a scenegraph.  From all the example's
I've seen in osg, everything is put on the root level.  There's no
concept of a local coordinate system based on some (root) object.

Of course there is.

MatrixTransform:
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01482.html

PositionAttitudeTransform:
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01587.html

DOFTransform:
http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01288.html

All of which derive from osg::Transform, and change the local coordinate system as you expect, and which under the covers work as you described would be done in straight OpenGL. You just don't have to worry about it, you use them and they take care of the rest.

I'm sure if you search all the examples for osg::MatrixTransform you'll come up with a few results (being sarcastic here :-) ).

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to