Just to be clear, would something like:

osg::Node *node = osgDB::readNodeFile("file.osg");
osg::Geode *geode = osg::dynamic_cast<osg::Geode>node;

geode->getDrawable()->setName("New name");

should work? (syntax might be a little off I'm not at my home system right now).

Thanks for the replies!
-Russ
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to