CS 445: Topics for Nov 4/6, 2014
Labs:
Lab 5: Lighting & Shaders
- Due Tuesday, Nov 4
Begin
Lab 6: Textures
- Due Tuesday, Nov 11
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 (ppt)
or see
pdf
Look at
Nate Robbin's
texture.exe to experiment with texture parameters. Or, go into Maya.
Implementation in OpenGL - Texture coordinates, parameters, etc (see code in
lab
)
Other types of maps
Environment Mapping
CubeMap Example
Bump Mapping
,
normals