On 11 September 2015 at 05:20, Tony Vasile <[email protected]> wrote:

> Okay I modified the example visit_model.cpp from the OpenSceneGraph 3.0
> Beginner's Guide to print the Descriptions and there was the data I was
> looking for. The sonic boom of comprehension.
>

You can probably simplify things a bit further if you are using OSG-3.4 as
osg::Drawable and hence osg::Geometry are now osg::Node, so can be directly
handled by the osg::NodeVisitor, this means there is no need to have an
MyVisitor::apply(Geode&) that traverses through the drawables.  Instead you
just need a MyVisitor::apply(osg::Geometry&).

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to