Optional Features for Project 6

These features complete the following, more accurate, lighting model:

Here is what the new symbols mean:

  • phi is the angle between r and the reflection of the ray from light source i at p
  • specm is the specular reflectance of the surface (scalar)
  • shine controls how sharp the specular hilight is (usually > 1)
  • transparencym is the transparency of the surface
  • rt is the transmitted ray through the surface (a ray)

    Some more, non-lighting oriented features:

    While it's tempting to read the scene in from a file, I'd rather you work on graphics-related features, so I will give no extra credit for that.