Hi Ivan, On 12/13/06, Ivan Bolčina <[EMAIL PROTECTED]> wrote:
Is it possible to do the same as I did with lines with billboards? To pass a changing number of them to geode each frame during update?
I wouldn't recommend adding/removing losts of node per frame but you can do it. You have to be careful about the possibility of invalidating iterators during traversal, so avoid adding and removing nodes during update or cull traversals, instead do the ops in the main rendering loop, after sync() but before frame(). However, you would be better off just switch off nodes via a node mask or using osg::Switch. Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
