Hi Paul,
but isn't this just cloning? With other words: is there something that
is shared between the nodes?
Plus, i would favour something not involving static data ;-)
cheers
Sebastian
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org