PDA

View Full Version : Ray Tracing Help



brett01
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.

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

http://www.google.com

brett01
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.

brett01
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 !!

RGHP
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.

Bye!

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

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

http://www.devmaster.net/articles/raytracing_series/part1.php

Bye!