What are the 3 parts to a Ray Tracer?
What are the 3 parts to a Ray Tracer?
1. Ray Generation: Computes the origin and direction of each pixel's Viewing Ray based on the camera geometry.
2. Ray Intersection: Finds the closest object intersecting the Viewing Ray
3. Shading: Computes the pixel color based on the results of Ray Intersection.