Figures | p. xxi |
Tables | p. xxv |
Examples | p. xxix |
About This Guide | p. xxxv |
What This Guide Contains | p. xxxv |
What's New in This Edition | p. xxxviii |
What You Should Know Before Reading This Guide | p. xxxviii |
How to Obtain the Sample Code | p. xxxix |
Nate Robins' OpenGL Tutors | p. xl |
Errata | p. xl |
Style Conventions | p. xl |
Acknowledgments | p. xliii |
Introduction to OpenGL | p. 1 |
What Is OpenGL? | p. 2 |
A Smidgen of OpenGL Code | p. 5 |
OpenGL Command Syntax | p. 7 |
OpenGL as a State Machine | p. 9 |
OpenGL Rendering Pipeline | p. 10 |
OpenGL-Related Libraries | p. 14 |
Animation | p. 20 |
State Management and Drawing Geometric Objects | p. 27 |
A Drawing Survival Kit | p. 29 |
Describing Points, Lines, and Polygons | p. 37 |
Basic State Management | p. 48 |
Displaying Points, Lines, and Polygons | p. 50 |
Normal Vectors | p. 63 |
Vertex Arrays | p. 65 |
Buffer Objects | p. 82 |
Attribute Groups | p. 91 |
Some Hints for Building Polygonal Models of Surfaces | p. 94 |
Viewing | p. 103 |
Overview: The Camera Analogy | p. 106 |
Viewing and Modeling Transformations | p. 117 |
Projection Transformations | p. 133 |
Viewport Transformation | p. 138 |
Troubleshooting Transformations | p. 142 |
Manipulating the Matrix Stacks | p. 145 |
Additional Clipping Planesv | p. 149 |
Examples of Composing Several Transformations | p. 152 |
Reversing or Mimicking Transformations | p. 160 |
Color | p. 165 |
Color Perception | p. 166 |
Computer Color | p. 168 |
RGBA versus Color-Index Mode | p. 170 |
Specifying a Color and a Shading Model | p. 176 |
Lighting | p. 183 |
A Hidden-Surface Removal Survival Kit | p. 185 |
Real-World and OpenGL Lighting | p. 187 |
A Simple Example: Rendering a Lit Sphere | p. 190 |
Creating Light Sources | p. 194 |
Selecting a Lighting Model | p. 207 |
Defining Material Properties | p. 211 |
The Mathematics of Lighting | p. 220 |
Lighting in Color-Index Mode | p. 226 |
Blending, Antialiasing, Fog, and Polygon Offset | p. 229 |
Blending | p. 231 |
Antialiasing | p. 247 |
Fogv | p. 261 |
Point Parameters | p. 271 |
Polygon Offset | p. v274 |
Display Lists | p. 277 |
Why Use Display Lists? | p. 278 |
An Example of Using a Display List | p. 279 |
Display List Design Philosophy | p. v282 |
Table of Contents provided by Publisher. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.