I have been working on this project for a while now. I got my first positive results yesterday. For those who don’t know what a raytracer is, it is a light simulation program used in computer graphics to achieve a better and more realistic looking output as compared to the other techniques. A raytracer shoots a ray from a said view-point and through every pixel of a viewing plane. These rays return the color of the object they intersect with (black if no object is hit). After intersection with the object they trace the lights to find out if they are in the shadow region of another object. (Shadow region is the region where the light cannot reach the object due to another object in the direction of the light). On the basis of the material’s properties the ray further traces to check for reflections and refractions.
The raytracing algorithm has been criticized for being processor intensive and is hence combined with GPU computing.