CS 445: Topics for Nov 6 & 8, 2012
Labs:
Lab 5: Lighting & Shaders
- Part 2: Due Nov 6
Lab 6: Textures
- begin - Due Nov 13
Lab 7: Final Project
- discuss - Part 1: Due Nov 15
Transforming Normals
Implementing a color map for the fractal landscape
Textures -
Texels: A
texel
, or
tex
ture
el
ement (also
tex
ture pix
el
) is the fundamental unit of texture space
.
Mapping coordinates: (s,t) vs (u,v) vs (x,y,z) vs (x_s, y_s)
Mappings
Texture - Object - Screen coordinates
Types of Projections
Aliasing
Aliasing issues
Issues: mipmapping, minification, magnification (see Angel slides)
Look at
Nate Robbin's
texture.exe to experiment with texture parameters.
Implementation in OpenGL - Texture coordinates, parameters, etc (see code in
lab
)
Other types of maps
Environment Mapping
CubeMap Example
Bump Mapping
,
normals