Game and graphics programming for iOS and Android with OpenGL ES 2.0
Develop graphically sophisticated apps and games today!The smart phone app market is progressively growing, and there is new market gap to fill that requires more graphically sophisticated applications and games. Game and Graphics Programming for iOS and Android with OpenGL ES 2.0 quickly gets you u...
Main Author: | |
---|---|
Other Authors: | |
Format: | eBook |
Language: | English |
Published: |
Chichester, West Sussex, U.K.
Wrox/John Wiley & Sons
2012
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Adding Texture Support to Your Fragment ShaderBinding the Texture; Summary; Chapter 4: Building a Scene; Handling Multiple Objects; The Code Structure; Loading and Drawing the Scene; The Shaders Code; The Different Object Types; The Drawing Sequence; Fixing the Scene; Uber Shader; Using Your Uber Shader; Render Loop Objects Categorization; Double-Sided; Per-Pixel Lighting; Making the Vertex Shader Even Fatter; Getting the Fragment Shader More Uber; Wrapping up the Implementation; Summary; Chapter 5: Optimization; The Base App; Triangles to Triangle Strips; Building Triangle Strips
- Texture OptimizationAdding 16-Bit Texture Conversion; PVR Texture Compression; Faking Details; Bump Mapping Implementation; Precision Qualifiers Optimization; The Normal Map Lighting Calculation; Adding Specularity; Geometry and Shaders LOD; Texture Atlas; Managing States in Software; Automatic Shader Optimization; Summary; Chapter 6: Real-Time Physics; Types of Physical Objects; Physics Shapes; Using Bullet; Hello Physics; Collision Callbacks, Triggers, and Contacts; Contact-Added Callback; Near Callback; Contact Points; 2D Physics; More Shapes!; Building the Physical Objects
- Game and Graphics Programming for iOS and Android® with OpenGL® ES 2.0; Contents; Introduction; Chapter 1: Getting Started; Software Requirements; For iOS Developers; For Android Developers; Downloading the Book's SDK; Importing Projects; For iOS Developers; For Android Developers; The Template; Summary; Chapter 2: Setting Up Your Graphic Projections; The Three Basic Types of Projections; Orthographic 2D Projection; Program and Project Initialization; Vertex and Fragment Shader; Linking a Shader Program; The Drawing Code; Orthographic Projection; Getting Orthographic; Perspective Projection
- Camera TrackingUser Interactions; The Game Logic; 3D Physics; The Bullet File Format; 3D Pinball Game; Summary; Chapter 7: Camera; Touch and Go!; The Camera Frustum; How to Build the Frustum; Frustum Clipping Implementation; More Clipping Functions; Camera Fly Mode; First-Person Camera with Collision Detection; 3D Camera Tracking; Third-Person Camera with Collision; Summary; Chapter 8: Pathfinding; Recast and Detour; Navigation; Creating the Navigation Mesh; 3D Physics Picking; Player's Auto Drive; Visualizing the Way Points; Catch Me If You Can!; Know Your Enemy; Game State Logic; Summary