Hi,
Use of ref_ptr ensures safe memory management both within the scene
graph and outwith. If you want to switch subgraphs on/off then use
either osg::Switch or a Node::setNodeMask(.). You can manually add
elements/remove elements during the update phase, but in general its
better to just leave
Hello,
I am working on converting a project from SGI Performer in C
to OSG, so I am familiar with constructing a scene graph.
For this project I load all the models I plan to use into a
data structure, at a later point in time based on the user
responses I swap out the sub-graphs that I wish
2 matches
Mail list logo