> How exactly does OpenSceneGraph decide to place the origin of a
> geometry-specific (i.e. local) coordinate system?

OSG does not decide this. It depends on how the geometry is specified.
Imagine a unit cube with corners at (-.5,-.5,-.5) and (.5,.5,.5). OSG draws
it with its center at the origin. Now imagine another unit cube, but with
corners at (20,14.6,-32) and (21,15.6,-31). Its origin is still (0,0,0), but
OSG draws it several units away from the origin because of the way it was
"modeled".

(And of course you can change the position of either of those cubes by using
a Transform node such as MatrixTransform.)

If this information seems unfamiliar to you, I would strongly encourage you
to purchase and read through some introduction to 3D graphics books before
you proceed with your work. It's important to have a firm grasp of
coordinate spaces.
   -Paul

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

Reply via email to