I does this:
const static osg::ref_ptr< osg::Node > staticNode =
osgDB::readNodeFile("Shapes/Shape.osg");
then for each required instance:
const static osg::ref_ptr< osg::Node > nodeCopy =
(osg::Node*)staticNode->clone(osg::CopyOp::DEEP_COPY_NODES);
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12808#12808
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org