Ray Tracing, Version 2.0
Using Scene Description Language

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>.

  • (10) 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