Week 11:  November 19 - November 24

OUTLINE:

TEXTURE MAPPING

- A Gentle Introduction

  • Specifying the Texture for a specific object
    • by a mathematical function
    • from a bitmap
    • from an image file
  • Indicate How Texture is to be Applied to Each Pixel
    • Filtering (Minification and Maxification)
      • nearest vs linearly interpolated
    • Mipmap textures
      • user supplied
      • automatically generated
      • nearest mipmap vs linearly interpolated mipmap
    • Environment Modes:
      • decal
      • blend
      • modulate

  • Enable Texture Mapping
  • Draw the Scene, Supplying Both Texture and Geometric Coordinates
    • Generating texture names
    • Binding the texture to the object
    • More than one texture per scene
  • Adding Lights to Textures

 

REFERENCE(S):

Computer Graphics Using OpenGL (Hill): Chapter 8
    

OpenGL Manual/v.1.2:
 
GLUT Programming Interface:

DEMOS and FILES:

All are found in :             /classes/cs3014/files/Texturemapping

Sample textures are in:      /classes/cs3014/files/Textures

EXERCISES: click here