Hi Sanat,

When you find geometry (triangles) with your node visitor, apply the 
accumulated transform that you traversed to the triangles.  NodeVisitors have a 
NodeList, which you can use with osg::ComputeLocalToWorld (I think) to get the 
accumulated matrix you need.  Then each triangle will be positioned as it is in 
your osg model.

Cheers,
Tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31341#31341





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

Reply via email to