Wednesday, March 18, 2009

Assignment 1




Blue Sphere:
  • Centered at [0.1, 0.4, 0]
  • Size 0.7
Green Sphere:
  • Centered at [-0.8, -0.1, -1]
  • Size 0.5
Red floor:
  • Vertices at
    • [-5.0, -1, 5]
    • [1.5, -1, 5];
    • [1.5, -1, -30]
    • [-5.0, -1, -30]
Light Source:
  • diffuse light of [1, 1, 1, 1.0]
  • specular light of [1, 1, 1, 1.0]
  • Positioned at [0, 5, 5, 1.0]
Camera:
  • Positioned at [0, 0, 5.0]
  • Looking at [0, 0, 0]
  • Up Vector of [0, 1.0, 0]
  • Perspective of
    • FOV:45
    • Aspect Ratio: 1.0*screenWidth/screenHeight
    • zNear: 1
    • ZFar: 1000

No comments:

Post a Comment