Hello Sajjad,

So far i have got from the forum Jean-Sébastien Guay did his Masters thesis
on that domain and it would be really nice
if he provide the link to the report, at least it would be a starting point for me.

My Masters thesis was written in French unfortunately, and translating it all would take too much time. Anyways, the subject was not really ray tracing but an extension to PRT (Precomputed Radiance Transfer) to be able to recompute shading interactively in dynamic scenes.

Ray tracing with OSG is actually pretty easy if you just want to raytrace a picture of your scene, just get your viewer camera's parameters, generate some rays and use the kdtree support in LineSegmentIntersector to trace through the scene. Of course, if you want to do global illumination or advanced effects then it's more complicated, but there's been a lot written on those subjects, and it's not OSG's main focus, so you're pretty much on your own...

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to