HI Robert,

You can using dynamic_cast<osg::Geode*>(node) in C++, but... this doesn't
mean it'll return anything other than a NULL, as most scene graphs will
typically contain a root node that is not a Geode, but something like a
Group.

Perhaps you could explain what you are actually trying to do rather than a
low level request like casting, as it's pretty likely what you are doing
should be done another way.

Robert.

On Wed, Apr 1, 2009 at 6:43 PM, Robert <el_mas_fr...@hotmail.com> wrote:

> Hi,
>
> I'm pretty noob to OSG and I have tried to make it myself but I really need
> some help. I'm using readNodeFile to get a Node but I need a Geode.
>
> How can I "convert" the node to geode?
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=9555#9555
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to