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
- (*10) at position (eyex,
eyey, eyez),
- (*10) looking at point
(look_atx,
look_aty, look_atz), with
- the original up-direction for the camera being
<0,1,0>.
- speed-up has been accomplished by more
wisely computing the ray's direction, for each ray.
|