[osg-users] Insersector doesn't take into account DrawableCullCallback result
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Mon Oct 17 13:21:33 PDT 2016
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 <davide.raccagni at gmail.com>
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161017/fd6917c3/attachment-0003.htm>
More information about the osg-users
mailing list