Thursday, January 8, 2015

Backward RayTracing Algorithm

for every pixel on the image plane{
    construct a ray (starting from eye(camera) through pixel center)
     for every object in the scene{
       find the closest intersection point
     }
    color that intersection point
}

No comments:

Post a Comment