[osg-submissions] Fox for occlusion query example

Paul Martz pmartz at skew-matrix.com
Wed Feb 20 10:56:09 PST 2008


Hi Robert -- Here's a fix for the occlusion query example. If you were to
run the program with some large model (instead of the stock scene), the node
visitor would assign incorrect state to the occlusion query geometry,
causing it to look like crap.
 
Attached are the OcclusionQuery Node src and headers, plus the
osgocclusionquery.cpp example program.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080220/606f88a8/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osgocclusionquery.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080220/606f88a8/attachment.pot 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OcclusionQueryNode
Type: application/octet-stream
Size: 4532 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080220/606f88a8/attachment-0001.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OcclusionQueryNode.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080220/606f88a8/attachment-0001.pot 


More information about the osg-submissions mailing list