1.2Installation and Configuration
Chapter 2 The OpenGL Graphics Pipeline
2.1.2Vertex and Fragment Shaders
2.2Detecting OpenGL and GLSL Errors
2.3Reading GLSL Source Code from Files
2.4Building Objects from Vertices
2.6Organizing the C++ Code Files
Chapter 3 Mathematical Foundations
3.7Eye Space and the Synthetic Camera
3.8.1The Perspective Projection Matrix
3.8.2The Orthographic Projection Matrix
3.10GLSL Functions for Building Matrix Transforms
Chapter 4 Managing 3D Graphics Data
4.1Buffers and Vertex Attributes
4.3Interpolation of Vertex Attributes
4.4Model-View and Perspective Matrices
4.5Our First 3D Program – a 3D Cube
4.6Rendering Multiple Copies of an Object
4.7Rendering Multiple Different Models in a Scene
4.9Combating “Z-Fighting” Artifacts
4.10Other Options for Primitives
4.11.1Minimizing Dynamic Memory Allocation
4.11.2Pre-Computing the Perspective Matrix
5.1Loading Texture Image Files
5.4Constructing Texture Coordinates
5.5Loading Texture Coordinates into Buffers
5.6Using the Texture in a Shader: Sampler Variables and Texture Units
5.7Texture Mapping: Example Program
5.12Textures – Additional OpenGL Details
6.1Procedural Models – Building a Sphere
6.2OpenGL Indexing – Building a Torus
6.3Loading Externally Produced Models
7.6Combining Lighting and Textures
8.4.1Shadow Mapping (PASS ONE) – “Draw” Objects from Light Position
8.4.2Shadow Mapping (Intermediate Step) – Copying the Z-Buffer to a Texture
8.4.3Shadow Mapping (PASS TWO) – Rendering the Scene with Shadows
8.7.1Soft Shadows in the Real World
8.7.2Generating Soft Shadows – Percentage Closer Filtering (PCF)
8.7.3A Soft Shadow/PCF Program
9.3.1Building a Skybox from Scratch
Chapter 10 Enhancing Surface Detail
Chapter 11 Parametric Surfaces
12.2Tessellation for Bézier Surfaces
12.3Tessellation for Terrain / Height Maps
12.4Controlling Level of Detail (LOD)
13.1Per-Primitive Processing in OpenGL
14.2Compositing / Blending / Transparency
14.3User-Defined Clipping Planes
14.6Noise Application – Marble
14.8Noise Application – Clouds
14.9Noise Application – Special Effects
Appendix A Installation and Setup for PC (Windows)
Appendix B Installation and Setup for Macintosh