Hi -- Yes, as I discussed and demonstrated at the SIGGRAPH OSG BOF last
week, occlusion query in OSG in soon to be a reality. Hopefully my work
should be done before the end of the year, then I'll submit it back to the
OSG distribution. If you'd like to beta test, please contact me offline. and
I'll see what I can do.
 
My approach has been to create a custom Node and Drawable to perform the
occlusion query, obtain the results, then draw (or not draw) the subtree.
This works quite well but needs some modifications before it is finished.
   -Paul
 


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [ <mailto:[EMAIL PROTECTED]>
mailto:[EMAIL PROTECTED] On Behalf
> Of Wangzhu
> Sent: Sunday, August 12, 2007 8:12 PM
> To: osg-users
> Subject: [osg-users] Problem about Occlusion Query
>
> Hello,
> 
>  I'm working on an application, which uses OSG for rendering.
> I would like to incorporate occlusion culling using hard-ware
> occlusion queries, but I'm not sure how to do it in OSG.
>
>  In my approach, I mush issue many tests in one frame, and
> every test needs to draw a certain node. But OSG itself works
> as cull-draw mode, so I’m not sure how to use OSG to draw one
> node at a specific time. It almost made me mad...help...
>
>  Is there any idea to solve the problem? Or some better
> approach to do occlusion query in OSG?
>
>  Any suggestion will be appreciated. Many Thanks~
>
>
> Wangzhu
> [EMAIL PROTECTED]
>
> 2007-08-13
> _______________________________________________
> osg-users mailing list
> [email protected]
>  <http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> negraph.org
> 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to