Hi Jean Sebastien,

Thanks for the advice, I forgot the stateSet of the drawables ! Not sure
this will be the solution, but it can helps a lot.

Thanks everyone for your help.

Regards,
   Vincent.

2009/6/9 Jean-Sébastien Guay <jean-sebastien.g...@cm-labs.com>

> Hi Vincent,
>
>  I'm the original poster, and the problem I had is that I cannot use a
>> material, because it will modify the state set, that is common for a lot of
>> other geodes...
>>
>
> You can clone the stateset and then each geode will have a unique one which
> you can modify.
>
> Or you can put the transparency in a material that will be in the
> Drawable's stateset instead of the Geode's. That way all other parts of the
> state will be inherited from the shared stateset, but you can give each
> drawable a different material.
>
> Hope this helps,
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
>                               http://www.cm-labs.com/
>                        http://whitestar02.webhop.org/
>
> _______________________________________________
> 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