Hi Davide,

to addition to Robert - the way how I resolved similar case in the past was
indeed by having the NodeMask only on/off (0x0/0xffffffff) and in
combination with osg::Node::setUserValue where I was holding my ids (here
you can put your layer id for example) I was able to make the combination
of which nodes (for you layers) should be on or not. Just an idea

Cheers,
Nick

On Mon, Oct 17, 2016 at 5:24 PM, Davide Raccagni <[email protected]>
wrote:

> Hi Robert,
> thank you very much: Group override solves visibility and intersect
> problem at once.
>
> Cheers,
> Davide
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69045#69045
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to