Hi,

osg::Geometry was modified to inherit from osg::Node at later date after
the book was published. You are free to use it without osg::Geode if you
don't need backwards compatibility

On Mon, Jul 29, 2019, 14:38 Catalin Flower <[email protected]> wrote:

> Hi,
>
> In the book that I have it says to use the Geode class to add your
> geometries, but the osg::Geometry class is extended from osg::Node and it
> can be added directly on the scene graph and it works.
>
> Is there any reason to use osg::Geode?
>
> Thank you!
>
> Cheers,
> Catalin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76530#76530
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to