On 10/13/06, Brad Colbert <[EMAIL PROTECTED]> wrote:
Hi Robert,
I know this is an old thread but I just started to get into it. Now
that I'm looking at it, how do I get the actual node that was loaded?
The arguments to this call back are a string and an options container
and the return is a Result. How do I get the node that was just loaded?
Like many callbacks in the OSG, where you implement a callback its you responsibility to implement the function, and in this case its your resposibility to implement the read, so you'll have the root node of the loaded subgraph once you gone ahead and loaded it. Typically you'd simple call Registry::instance()->readNodeImplementation().
Robert.
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/