Pro OpenGL ES for iOS
338 CHAPTER 10: OpenGL ES 2, Shaders, and...^ (void)glkView:(GLKView *)view drawInRect:(CGRect)rect { GLfloat gray=0.2; glClea ...
CHAPTER 10: OpenGL ES 2, Shaders, and... (^339) Figure 10-9. Reflection mapping the earth For complicated objects such as the ea ...
340 CHAPTER 10: OpenGL ES 2, Shaders, and...^ Throughout this book, you’ve learned basic 3D theory, both in the math involved an ...
341 341 Index Numbers and Special Characters 2D transformations, math for, 34–38 rotations, 34–37 scaling, 37–38 translations, 3 ...
342 ■ Index Hedley overview, 202–207 sun buffer objects, 208–210 bumps, mapping with, 191–200 C CADisplayLink, 287 Call Tree, 30 ...
■ Index 343 face normals, 65, 82, 99 FBController object, 208 FBOController, 202, 205–206, 209 FBOs (Frame Buffer Objects), 201– ...
344 ■ Index GL_EXT_blend_minmax, 176 GLfloat, 98–99, 102, 106, 109, 114, 120, 123, 125, 128 glFlush( ) method, 303 gl_FragColor, ...
■ Index 345 GL_QUADRATIC_ATTENUATION, 112, 115, 120, 124 GL_REPLACE function, 188, 191, 220–221 glRotate( ) method, 54, 248, 307 ...
346 ■ Index L Lambert lighting model, 115 lens flares, 210–218, 259–270 LensFlare object, 214, 216 LensFlare.mm, 263 light param ...
■ Index 347 OGRE, 13 OpenGL analysis of, 14–29 shaders, 27–29 showing scene in display, 22–26 tweaking values, 26 analyzer, 299– ...
348 ■ Index reflections, specular, 325–328 reflective surfaces, 218–225 regions, clipping, 73–75 render parameter, 260, 263, 267 ...
■ Index 349 texture units, 184–185 textureCoords, 145, 147, 149, 151, 153, 190 textureCoords2, 190 textures, 133, 166, 296 bounc ...
i Pro OpenGL ES for iOS ■ ■ ■ Mike Smithwick ...
Pro OpenGL ES for iOS Copyright © 2011 by Mike Smithwick This work is subject to copyright. All rights are reserved by the Publi ...
To a couple of the greatest parents in the world, who always supported me, never flinching at my wacky requests such as sending ...
v Contents ■About the Author ............................................................................................. ix ■A ...
■ CONTENTS vi ■Chapter 2: All That Math Jazz ........................................................................ 33 2D Tran ...
■ CONTENTS vii More Solar System Goodness ...................................................................................... ...
■ CONTENTS viii Back to the Spinning Cubes ..................................................................................... ...
ix About the Author Mike Smithwick’s slow descent into programming computers began when he first got a little 3-bit plastic Digi ...
«
10
11
12
13
14
15
16
17
18
19
»
Free download pdf