[osg-users] Insersector doesn't take into account DrawableCullCallback result
Davide Raccagni
davide.raccagni at gmail.com
Mon Oct 17 07:48:03 PDT 2016
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
More information about the osg-users
mailing list