[osg-users] Little ray-tracing example using the KD-tree

Paul Melis paul at pecm.nl
Tue Jul 15 14:50:55 PDT 2008


Hi all,

Here's a small thingy that (ab)uses the new intersection code to do ray 
tracing, for a single viewpoint (i.e. not interactive) with shadows.
See the attached screenshots for normal OSG rendering versus ray-traced 
rendering. See the source for a few instructions on use.

Bye,
Paul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: raytrace.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080715/986cdf36/attachment-0002.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg.png
Type: image/png
Size: 43072 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080715/986cdf36/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raytraced.png
Type: image/png
Size: 38426 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080715/986cdf36/attachment-0005.png>


More information about the osg-users mailing list