How does a Ray Tracer work?
How does a Ray Tracer work?
By computing one pixel at a time, and for each pixel the basic task is to find the object that is seen at that pixel's position in the image. Each pixel "looks" in a different direction, and any object that is seen by a pixel must intersect the Viewing Ray, a line that emanates from the viewpoint in the direction that pixel is looking.