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


Read this topic online here:

osg-users mailing list

Reply via email to