CS413 Assignment 3: Vanilla Ray Tracer

General Configurations:
# Light is at [4,4,4], color [1,1,1]
# Eye [0,5,2], Look-at [0,0,0], Up [0,0,1]
# Image plane is at [0,4,2] (distance of 1 from eye), Dimensions 2x2 (width and height)
# Development Platform: Visual C++ 8, Release build

  1. Test 1

    Configuration: All materials shaded by Phong Model, pixel color values are clamped to maximum (if any component > 1)

    Runtime: Ray casting: 168 ms.
  2. Test 2

    Configuration: All materials shaded by Phong Model, pixel color values divided by max component of each channel, then mapped by a log function.

    Runtime: Ray Casting: 175 ms.
  3. Test 3

    Configuration: All materials shaded by Phong Model, pixel color values divided by max component of each channel, then mapped by a log function.
    With shadows enabled.

    Runtime: Ray casting: 321 ms.
  4. Test 4

    Configuration: All materials shaded by Phong Model, pixel color values divided by max component of each channel, then mapped by a log function.
    Added some more premitives with shadows and reflection (3 bounces max)

    Runtime: Ray casting: 321 ms.