Wait a sec I think I spoke too soon.  I used 

[/code]osg::Matrixd transformMatrix = 
osg::computeLocalToWorld(this->getNodePath(),true);
Code:


to create a transform matrix to go from local to world coordinates, but what 
does world coordinates mean in this case?  What if I've read in my ive terrain 
file but haven't attached it to any root?  What I need is to be able to take a 
vertex coordinate and convert it to lat lon height or xyz with respect to the 
ellipsoid model.  What will multiplying my transformMatrix by the xyz of the 
local vertices give me if my terrain node hasn't been attached to the root yet? 
 



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





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

Reply via email to