Re: [osg-users] getting position and orientation of subobjects in Node Callback traversal

2011-05-10 Thread issam boughanmi
Hi Glenn Thanks for the tip -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39240#39240 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] getting position and orientation of subobjects in Node Callback traversal

2011-05-09 Thread issam boughanmi
Hi, here the situation i am using using blender to make my 3d scene i represent the trees with green cubes : with names like : tree, tree.001, tree.002, etc the cessana airplanes are represented by white cubes and so on for all the repetitive scene objects next in my osg application i am

Re: [osg-users] getting position and orientation of subobjects in Node Callback traversal

2011-05-09 Thread Glenn Waldron
From the visitor, you can call: osg::computeLocalToWorld( getNodePath() ) This will give you the absolute positioning matrix of the node you are visiting. Glenn Waldron / Pelican Mapping / @glennwaldron On Mon, May 9, 2011 at 4:57 AM, issam boughanmi amigof...@gmail.com wrote: Hi, here