Goal: Ray trace a scene where
- the only objects in the scene are generic spheres,
which may have been
- scaled
- translated
- rotated with respected to an axis
- the only attribute of the generic sphere is an assigned (emissive)
color
- the camera is set up
- at position (eyex,
eyey, eyez),
- looking at point (look_atx,
look_aty, look_atz), with
- the original up-direction for the
camera being <upx,
upy, upz>.
- speed-up has been accomplished by more
wisely computing the ray's direction, for each ray.
- the scene (including camera information and sphere information)
has been described in a file using Scene Description Language
|