Homework 2 - Orthographic Ray Tracer & Motion Blur

The following pictures demonstrate a simple Orthographic Ray tracer displaying spheres and triangles, and also motion blur.
 

Reproduction of book example image - using no filtering (has jaggies)

Reproduction of book image - using b-spline filtering (625 samples per pixel)


 

Motion Blurred Image - This image shows how we can represent motion blurring by adding time as another dimension of our sampeling process.  Basically, I took 225 jittered time instances, shuffled them and then paired each time with one of the 225 samples for a pixel.  Depending on where the sphere or triangle was at the given time instance a colored or black rgb value would be returned.  These  values are averaged,  and create some areas that are darker than others creating a blurring effect.  This is basically what happens with a camera on film when things move while the shutter is open.

(B-spline filtered 225 samples/pixel)