Opengl super bible

Solo disponible en BuenasTareas
  • Páginas : 387 (96714 palabras )
  • Descarga(s) : 0
  • Publicado : 24 de octubre de 2010
Leer documento completo
Vista previa del texto
INTRODUCTION .................................................................................................................5 ABOUT THE AUTHORS .....................................................................................................15 PART I INTRODUCTION TO OPENGL..................................................................................17 CHAPTER 1 WHAT ISOPENGL?.......................................................................................18 About OpenGL ...........................................................................................................19 How OpenGL Works ..................................................................................................20 OpenGL under Windows............................................................................................20 Future Prospects for OpenGL in Windows .................................................................22 CHAPTER 2 3D GRAPHICS FUNDAMENTALS .....................................................................23 3D Perception ............................................................................................................23Coordinate Systems ....................................................................................................28 Projections, The Essence of 3D ..................................................................................33 Summary ....................................................................................................................36 CHAPTER 3 LEARNING OPENGL WITH THEAUX LIBRARY .............................................37 OpenGL: An API, Not a Language .............................................................................37 The AUX Library........................................................................................................42 Dissecting a Short OpenGL Program.........................................................................44 Drawing Shapes with OpenGL ...................................................................................52 Scaling to the Window ................................................................................................55 Animation with AUX...................................................................................................61 Finally, Some 3D!......................................................................................................65 Summary ....................................................................................................................67 Reference Section.......................................................................................................68 CHAPTER 4 OPENGL FOR WINDOWS: OPENGL + WIN32 =WIGGLE ..............................105 Drawing in Windows Windows .................................................................................106 Using the Wiggle Functions......................................................................................110 Preparing the Window for OpenGL ..........................................................................112 Return of theBouncing Square.................................................................................115 Summary ..................................................................................................................121 Reference Section.....................................................................................................122 CHAPTER 5 ERRORS AND OTHER MESSAGES FROM OPENGL..........................................146 When Bad Things Happen to Good Code.................................................................. 147 Who Am I and What Can I Do? ................................................................................148 Get a Clue with glHint..............................................................................................150 Summary...
tracking img