[osg-users] Reading files and callbacks

Robert Osfield robert.osfield at gmail.com
Fri Sep 11 02:17:55 PDT 2015


On 11 September 2015 at 05:20, Tony Vasile <minghia at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150911/30aceb56/attachment-0003.htm>


More information about the osg-users mailing list