HI Artem,
Just write a NodeVisitor that has it's traversal mode set to
TRAVERSE_ALL_CHILDREN i.e.
class FindAllNodes : public osg::NodeVisitor
{
public:
FindAllNodes():
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHIILDREN) {}
void apply(osg::Node& node)
{
Hi,
I'm new to OSG, so I think I have simple question, but I cannot find answer for
it.
Actually I'm working with osgEarth and have some osgEarth::PlaceNodes on the
terrain, some models and so on.
So, I have lots of views.
For some needs, I need a mechanism which will allow me to get all the vi
2 matches
Mail list logo