Lighting & Materials

  • Understand the basic principles behind the OpenGL Lighting Model
  • Be able to distinguish between ambient, diffuse & specular lighting
  • Be able to specify the components of these lighting types
  • Have an appreciation of how the lighting characteristics are combined with the material properties in the rendering of a scene

Objectives

  • Introduce model of a plane, and render it
  • Colour that model
  • Enable a basic ambient lighting model, and observer the results
  • Introduce normal calculation into our `Vector lass
  • Define a light source, and observe its effect on our plane
  • Encode a range of material properties and explore their visual characteristics

Objectives

  • Incorporate force generators into the physics model