Tuesday, March 24, 2009

Part 2: Camera Modeling

Below the image for part 2 of the ray tracer is shown. I had to pick new coordinates for the location of all the objects because blender rotates the camera and I couldn't find values for "lookat".



And for extra credit, here is the super-sampled image. I used 8 different points to calculate the color of a single pixel.


Sunday, March 15, 2009

Part 1: Setting the Scene

Goals:
  • Obtain locations / orientations / attributes of objects in scene
  • Obtain position / parameters of light source
  • Obtain position / parameters of camera

For part 1, I used Blender as the program of choice to set up the scene. It was the first time I had ever used the program, so there was a learning curve. In the end, I was able to similarly reproduce the image given. My version came out like this:


And here is the scene as seen through the blender 3d frame:

Luckily for me, Blender provides a nice little object properties box so instead of typing out the properties for all of the objects, i just screenshotted them. The properties are listed below.


The Goal.

The goal of this project is to recreate the image below: