Books & Videos

Table of Contents

  1. Chapter 1 Quick-Start Guide

    1. Transitioning to Apple Technology

    2. A Brief History of OpenGL ES

    3. Choosing the Appropriate Version of OpenGL ES

    4. Getting Started

    5. HelloArrow with Fixed Function

    6. HelloArrow with Shaders

    7. Wrapping Up

  2. Chapter 2 Math and Metaphors

    1. The Assembly Line Metaphor

    2. Assembling Primitives from Vertices

    3. Associating Properties with Vertices

    4. The Life of a Vertex

    5. The Photography Metaphor

    6. Saving and Restoring Transforms with Matrix Stacks

    7. Animation

    8. Vector Beautification with C++

    9. HelloCone with Fixed Function

    10. HelloCone with Shaders

    11. Wrapping Up

  3. Chapter 3 Vertices and Touch Points

    1. Reading the Touchscreen

    2. Saving Memory with Vertex Indexing

    3. Boosting Performance with Vertex Buffer Objects

    4. Creating a Wireframe Viewer

    5. Wrapping Up

  4. Chapter 4 Adding Depth and Realism

    1. Examining the Depth Buffer

    2. Creating and Using the Depth Buffer

    3. Filling the Wireframe with Triangles

    4. Surface Normals

    5. Lighting Up

    6. Shaders Demystified

    7. Adding Shaders to ModelViewer

    8. Better Wireframes Using Polygon Offset

    9. Loading Geometry from OBJ Files

    10. Wrapping Up

  5. Chapter 5 Textures and Image Capture

    1. Adding Textures to ModelViewer

    2. Texture Coordinates Revisited

    3. Fight Aliasing with Filtering

    4. Texture Formats and Types

    5. Texture Compression with PVRTC

    6. The PowerVR SDK and Low-Precision Textures

    7. Generating and Transforming OpenGL Textures with Quartz

    8. Dealing with Size Constraints

    9. Creating Textures with the Camera

    10. Wrapping Up

  6. Chapter 6 Blending and Augmented Reality

    1. Blending Recipe

    2. Wrangle Premultiplied Alpha

    3. Blending Caveats

    4. Blending Extensions and Their Uses

    5. Shifting Texture Color with Per-Vertex Color

    6. Poor Man’s Reflection with the Stencil Buffer

    7. Stencil Alternatives for Older iPhones

    8. Anti-Aliasing Tricks with Offscreen FBOs

    9. Rendering Anti-Aliased Lines with Textures

    10. Holodeck Sample

    11. Wrapping Up

  7. Chapter 7 Sprites and Text

    1. Text Rendering 101: Drawing an FPS Counter

    2. Simplify with glDrawTexOES

    3. Crisper Text with Distance Fields

    4. Animation with Sprite Sheets

    5. Image Composition and a Taste of Multitexturing

    6. Mixing OpenGL ES and UIKit

    7. Rendering Confetti, Fireworks, and More: Point Sprites

    8. Chapter Finale: SpringyStars

    9. Wrapping Up

  8. Chapter 8 Advanced Lighting and Texturing

    1. Texture Environments under OpenGL ES 1.1

    2. Bump Mapping and DOT3 Lighting

    3. Reflections with Cube Maps

    4. Anisotropic Filtering: Textures on Steroids

    5. Image-Processing Example: Bloom

    6. Wrapping Up

  9. Chapter 9 Optimizing

    1. Instruments

    2. Understand the CPU/GPU Split

    3. Vertex Submission: Above and Beyond VBOs

    4. Lighting Optimizations

    5. Texturing Optimizations

    6. Culling and Clipping

    7. Shader Performance

    8. Optimizing Animation with Vertex Skinning

    9. Further Reading

  1. Appendix C++ Vector Library

    1. Disclaimer Regarding Performance

    2. Vector.hpp

    3. Matrix.hpp

    4. Quaternion.hpp

  2. Colophon