You need osg::computeLocalToWorld() to get the coordinate transform matrix, 
then multiply each point by this matrix to get real world coords.

eg:

osg::Matrix matrix = osg::computeLocalToWorld(nv->getNodePath());
osg::Vec3 point = data->at(ii) * matrix;

Cheers,
Martin

(at least that's what i did - I could be completely wrong !)

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to