I want to convert from local coords of a node to world coords. So I assume I have to treverse to root node. Please correct me if I am wrong. Is there any simple solution around ?
Robert Osfield <[EMAIL PROTECTED]> wrote: HI Qasim, I'm not sure exactly what you after but there are Node::getParents(), getParentalPaths() and getWorldMatrices() methods that might offer you a bit of what you are after. Robert. On 7/2/07, Qasim Mumtaz wrote: > Hi. Here is the situation. I got a osg::Group* to a scene graph and I got a > matrix transform of a child node (some where deep in hirarchy). How can I > compare the matrix transform of the child node with all the parents, untill > I find the matrix tranform of all of its parents ??? I hope I am making > sense. Any help will be greatly appreciated. > > Looking forward > Regards > > ________________________________ > Moody friends. Drama queens. Your life? Nope! - their life, your story. > Play Sims Stories at Yahoo! Games. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ --------------------------------- Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
