- CS6620 -

HW 2 - Orthonormal Ray Tracer



Description

The assignment was to code a ray tracer which would cast rays originating from each pixel and propagating parallel to the z-axis. Each ray would also be given a time between the opening and closing of a shutter to produce motion blur. Spheres and triangles are the only shapes the ray tracer is required to support.

Spheres, Triangles, and Motion Blur


Here we are. Spheres and triangles. The green sphere is falling straight down at the reflective sphere while the yellow and blue spheres are orbitting the reflective sphere. This is most apparent in the reflections, where the yellow and blue spheres are blurred but the green is not.

A Little More Interesting

This is a much more interesting model, provided last year to the cs3505 class by Keith Morley. The images were also created using a pinhole camera model rather than orthonormal rays.


A sharp image of the x-wing.


The x-wing here is moving slowly and slightly blurred.


The x-wing here appears to be moving much more quickly, but this was actually accomplished by keeping the shutter open longer.

 


Ken Buckner | Home