View Full Version : Ray Tracing Help

10-23-2008, 08:08 PM
Hi, I want a good material for learning raytracing using opengl and glut.I also want to learn how to do global Illumination.Ex:Like ambient occlusion.

10-24-2008, 05:50 AM
Here's all you need:


10-24-2008, 10:37 AM
Hi want some materials that are good and for a beginner.

Keith Z. Leonard
10-24-2008, 11:20 AM
OpenGL is a rendering API, and does not do ray tracing, nor does it do global illumination for you. For GI, you might want to use Jan's tool there (google) and look into screen space ambient occlusion, which give a fairly good approximation in real time. Raytracing is often used to pre-compute light maps (irradiance maps), but is not really done in real time rendering. There have been some example of "real time" ray tracing running at say 4fps or so, which is really impressive, but not ready for prime time yet.

10-24-2008, 11:25 AM
Thank you for the reply sir.I want to do ray tracing and ray casting in my last assignment at college.I want to learn programming of a ray tracer from the scratch.So I need a good resource for learning it.Im a beginner to opengl !!

10-24-2008, 11:41 AM
OpenGL doen's do ray tracing, and is not a good way to start ray tracing with OpenGL(you need to know shaders, CUDA,...). Here is a good link for start ray tracing. It's not old and teach you all the basics.


10-24-2008, 02:48 PM
Hi you didnt post the link dude.

10-25-2008, 03:52 PM
oops, I am a dummy :S..
Sorry, here si the link