Hi Rabbi, On Mon, Jun 29, 2009 at 10:22 PM, Rabbi Robinson<longa...@gmail.com> wrote: > How do I get current accumulated transform in a nodeupdatecallback? > Specifically > virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) > > What does NodeVisitior->apply(something) mean?
The NodeVisitor has a NodePath that it accumulates, and you can then pass this to a function found in include/osg/Transform to compute the matrix i.e. osg::Matrix matrix = osg::computeLocalToWorld(nv->getNodePath()); Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org