Next:
20.1 Projection Matrices
Up:
Advanced Graphics Programming Techniques
Previous:
19 GLUTthe OpenGL
20 Equations
This section describes some important formula and matrices referred to in the text.
20.1 Projection Matrices
20.1.1 Perspective Projection
20.1.2 Orthographic Projection
Perspective z-Coordinate Transformations
20.2 Lighting Equations
20.2.1 Attenuation Factor
20.2.2 Spotlight Effect
20.2.3 Ambient Term
20.2.4 Diffuse Term
20.2.5 Specular Term
20.2.6 Putting It All Together