Thank you again Robert for your explanation.

So I tried to explicitly set some render bins but I am not sure to understand 
what happens now.

I am attaching 2 files: the yellow box and a blue box to which I apply the 
color mask. I modified both files in order to use the same render bin number 
and name ("RenderBin"), what I observe is:

1) if the bin number of the color-masked box is "lower" than the other then it 
hides the yellow box

2) if the bin number of the color-masked box is "higher" than, or equal to, the 
other then it does NOT hide the yellow box

I expected the opposite, am I wrong? 

Also, if instead of using "RenderBin" I use "DepthSortedBin" then the behavior 
is similar but, in the case where the bin numbers are equal, then the occlusion 
works only up to a certain viewing angle.

Cheers.
Alessandro

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




Attachments: 
http://forum.openscenegraph.org//files/bnm_122.osg
http://forum.openscenegraph.org//files/b_o_129.osg


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

Reply via email to