Checkpoint 1

For the first checkpoint of the Ray Tracer I am building for CSCI-711 Global Illumination, here are two pictures of the scene. Picture on the left is the scene from the expected viewpoint, the picture on the right is just the same scene from a different angle.

For the scene I’m using two spheres and a scaled cube as a floor.

The parameters of the scene:

  • Green Sphere
    • Scaled in (x, y, z) -> (0.4,0.4,0.4).
    • Translated in (x, y, z) -> (0,0.1,-2) .
  • Red Sphere
    • Scaled in (x, y, z) -> (0.3,0.3,0.3), smaller than the green on.
    • Translated in (x, y, z) -> (-0.5,-0.2,-2.5), comparing with the green one this one is to the left, below and in the back of the green sphere.
  • Floor
    • Scaled in (x, y, z) -> (3,0.1,6), small on y and large on x and z.
    • Translated in (x, y, z) -> (-0.7,-0.8,-4), below the spheres and moved a bit to the left.
  • Phong illumination model
    • Position (x, y, z) -> (0.5, 2.5, 0.0), essentially above and a little to the right of the camera
    • Intensity (x, y, z) -> (1.0, 1.0, 1.0)
    • Ambient light (x, y, z) -> (0.5, 0.5, 0.5)
  • Camera (left picture)
    • World position (x, y, z) -> (0,0,0)
    • Look at (x, y, z) -> (0.0,0.0,-1.0)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s