text.skipToContent text.skipToNavigation
  1. Home
  2. Computer Science & IT
  3. Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming

Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming, 1st edition

  • Erik Buck

Published by Addison-Wesley Professional (July 27th 2012) - Copyright © 2013

1st edition

Chosen format
View all
Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming

ISBN-13: 9780132983198

Includes: Instant Access

This product is not available in your country

What's included

  • Instant Access

    You'll get instant access to the digital content.

Overview

Table of contents

Preface    x

1  Using Modern Mobile Graphics Hardware    1

What Is    3D Rendering?    2

Supplying the Graphics Processor with Data    4

The OpenGL ES Context    9

The Geometry of a    3D Scene    9

Summary    17

2  Making the Hardware Work for You    19

Drawing a Core Animation Layer with OpenGL ES    19

Combining Cocoa Touch with OpenGL ES    22

The OpenGLES_Ch2_1 Example    27

Deep Dive: How Does GLKView Work?    42

Extrapolating from GLKit    51

Summary    58

3  Textures    59

What Is a Texture?    59

The OpenGLES_Ch3_1 Example    65

Deep Dive: How Does GLKTextureLoader Work?    69

The OpenGLES_Ch3_3 Example    76

Opacity, Blending, and Multi-Texturing    77

Texture Compression    84

Summary    85

4  Shedding Some Light    87

Ambient, Diffuse, and Specular Light    88

Calculating How Much Light Hits Each Triangle    90

Using GLKit Lighting    95

The OpenGLES_Ch4_1 Example    97

Bake Lighting into Textures    104

Fragment Operations    105

Summary    106

5  Changing Your Point of View    107

The Depth Render Buffer    107

The OpenGLES_Ch5_1 and OpenGLES_Ch5_2 Examples    109

Deep Dive: Adding a Depth Buffer Without GLKKit    115

Transformations    117

Transformation Cookbook    129

Perspective and the Viewing Frustum    130

Summary    132

6  Animation    133

Motion Within a Scene: The OpenGLES_Ch6_1 Example    134

Animating Vertex Data    140

Animating Colors and Lights: The OpenGLES_Ch6_3 Example    148

Animating Textures    153

Summary    157

7  Loading and Using Models    159

Modeling Tools and Formats    160

Reading modelplist Files    165

The OpenGLES_Ch7_1 Example    168

Advanced Models    172

Summary    181

8  Special Effects    183

Skybox    183</

For teachers

All the material you need to teach your courses.

Discover teaching material