try
ocqn->getQueryStateSet()->setRenderBinDetails(100,"RenderBin",TRANSPARENT_BIN)



kragnfroll wrote:
> Ok. Then I've a problem with my occlusionQuery node !
> 
> Here is how I tested :
> - breakpoint in the OcclusionQueryNode::getNumPixels function
> - configured OQN with a QueryFrameCount of 500 to see occluded node coming 
> 
> And the result is :
> - occlusion working when a node is outside the camera field
> - not working at all when occluded by textured HeightField when opacity is 
> manager (setRenderingHint TRANSPARENT_BIN)
> - working when removing the TRANSPARENT_BIN attribute on the heightField
> 
> I really need transparency. I think I can understand what is going on : the 
> occlusion Query is made before the HeightField is rendered, even if the node 
> I need to occlude is also in the transparent_bin.
> 
> Is there a way to make it work ?


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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to