Hi Paul, yes, thanks, it seems this is the way to go.
cheers, art Paul Martz wrote: > Hi Art -- > > Art Tevs wrote: > > > However, currently any node visitor is going in depth-first-search (DFS) > > manner. Does anybody has already tried to implement breadth-first-search > > (BFS) in osg? > > > > Rather than calling NodeVisitor::traverse() from your overridden apply() > methods, iterate over the child list yourself in apply() and have them > accept() the NodeVisitor. You can call (or not call) the children in any > order you wish. > -Paul > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18481#18481 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org