Hi Robert,
thanks for your quick reply. If I have well understood, the NameMask allow to 
define up to 32 masks (32 bit). My problem is that I have an unpredictable 
number of layers (in general more than 32): this is the reason why I have used 
DrawableCullCallback. As an alternative you suggest to use Switch: in this case 
I could define a class that extends Switch class and override getValue function 
returning a value in accordance to Layer visibility. What do you think about?

Thanks in advance

Cheers,
Davide

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69041#69041





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to