Pro OpenGL ES for iOS

(singke) #1
■ Index 343

face normals, 65, 82, 99
FBController object, 208
FBOController, 202, 205–206, 209
FBOs (Frame Buffer Objects), 201–243
Hedley
overview, 202–207
sun buffer objects, 208–210
lens flares, 210–218
reflective surfaces, 218–225
shadows, 226–243
blob, 229
mapping, 227
projection, 229–243
volumes, 227–228
field of view (FOV), 55, 75–76
filtering, 155–157
float m_FieldOfView variable, 251
formats, color, 297–298
FOV (field of view), 55, 75–76
FPS (frames per second), 294
Frame Buffer Objects. See FBOs
Frame Statistics, 304, 306
frames per second (FPS), 294
Fresnel Law of Reflection, 117
frustum
creating, 67–69
defined, 54–55


G
gColor4f( ) method, 169
geometry, for 3D worlds, 60–63
getPosition( ) method, 253, 256, 268
GL Utility Toolkit (GLUT), 77
glActiveTexture( ) method, 187, 195, 330–331
GL_ADD, 188–191
GL_ALPHA_TEST, 298
GL_ALWAYS function, 220
GL_AMBIENT parameter, 109, 114
GL_APPLE_texture_2D_limited_npot GL. NPOT,
158
GL_BACK, 65, 76, 83
glBindBuffer( ) method, 290, 292–293
glBindTexture( ) method, 202, 206–207, 209,
215, 330
GL_BLEND, 171, 182, 188–190
glBlendEquation( ) method, 176, 178
glBlendEquationSeparate( ) method, 176
glBlendEquationSeparateOES( ) method, 177
glBlendFunc( ) method, 171–174, 176, 179, 182


glBlendFuncSeparateOES( ) method, 177
glBufferData( ) method, 290–291
glClear( ) method, 25
glClearColor( ) method, 25, 129
glClientActiveTexture( ) method, 186–187, 197
glColor( ) method, 196
glColor4f( ) method, 168–169, 173, 183, 195
GL_COLOR_ATTACHMENT0_OES, 203–204
glColorMask( ) method, 177–178
glColorPointer( ) method, 179, 182, 198
GL_COMBINE, 188, 190–191, 195
GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG,
159
GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG,
159
GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG,
159
GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG,
159
GL_CONSTANT_ATTENUATION, 112, 115
glCreateShader( ) method, 312
GL_DECAL, 188–190
GL_DECR type, 221, 228
glDeleteBuffer( ) method, 291
GL_DEPTH_ATTACHMENT_OES, 203–204
GL_DEPTH_STENCIL_ATTACHMENT, 204
glDetachShader( ) method, 315–316
GL_DIFFUSE parameter, 98, 106, 114, 120, 124–
125
glDisable( ) method, 292, 295, 303
GL_DOT3_RGB, 191–193, 195–196
GL_DOT3_RGBA, 191–192, 196
glDrawArray( ) method, 171, 207
glDrawArrays( ) method, 25, 66, 207, 209, 222,
234, 289, 292, 303, 306
glDrawElements( ) method, 66, 224, 232, 238–
239, 241, 289, 303
glDrawTexfOES( ) method, 281–282
GL_DST_ALPHA, 176
GL_DST_COLOR, 176
GL_EMISSION, 110–111, 125
glEnable( ) method, 76, 171, 181–182, 186, 197–
198, 292, 295, 303
glEnableClientState, 145, 147, 153, 164, 168,
181–182, 186, 197
glEnableClientState(GL_VERTEX_ARRAY)
method, 58–59, 65, 83
glEnable(GL_COLOR_MATERIAL) method, 111
GLenum light, 112
GLenum pname, 112
GLenum type file, 16, 311
Free download pdf