Ray Tracing, Version 1.1
*Speed-up Computing Ray's Direction
Goal: Ray trace a scene where
- the only object in the scene is the generic sphere
- the only attribute of the generic sphere is an assigned (emissive)
color
- the camera is set up on the positive z axis, looking
toward the origin
- (*10) speed-up has been accomplished
by more wisely computing the ray's direction, for each ray.
|