CS320      Lab8 - Texture Mapping

Objectives:

  1. Download lab8.zip and import this project.  Try it out.  We have added texture mapping to all but the torus.
     
  2. Let's take a look at various pieces of the code.  First, in init we use the TextureReader class to read in textures.  In display, we use glBindTexture to specify the current texture.  Observe that for the torus we disable the texture mapping so that the material values are used.

     
  3. Add another texture for the torus.

     

  4. Email your completed Lab8 to me.