Hello

First, use dynamic_cast<T>(node) it is done for this kind of cast...
Next, if you don't find any FXnode, try to save your graph as an osg file
and have a look in it... maybe Bump mapping isn't represented by a osgFX
node ? (don't know I haven't already used it)
Regards,
   Vincent.

2008/4/29 ka Ming <[EMAIL PROTECTED]>:

> Hallo,
> I have problem to get the effects of my Objects. I read in a 3ds File. I
> know, that in this file bumpmapping is used. Now I want to traverse my
> scenegraph and wanted to know which object have a bumpmap (or another
> effect).
> How can I implement that?
> I trying to cast the Group or Node to an Effect, but this won't work. Any
> suggestions!!
> Regards
>
> ------------------------------
> Gesendet von Yahoo! 
> Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd..yahoo.com/evt=52430/*http://de.overview.mail.yahoo.com>.
>
> Mehr Möglichkeiten, in Kontakt zu bleiben.
>
> _______________________________________________
> 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