Previous: glAttachShader Table of Contents (GL) Next: glBeginQuery

glBegin

delimit the vertices of a primitive or a group of like primitives

Deprecation Notice

Note that this function has been marked deprecated in the OpenGL 3.0 specification. You should not be using this function in new code, though it will likely be supported by most implementations via the GL_ARB_compatibility extension. For more information on OpenGL 3.x deprecations, see the deprecations page.

Signature

glBegin( GLenum ( mode ) )-> void
glBegin( mode )
Begin GL geometry-definition mode, disable automatic error checking
glEnd( void )-> void
glEnd( )
Finish GL geometry-definition mode, re-enable automatic error checking

Parameters

VariablesDescription
mode
Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd . Ten symbolic constants are accepted: GL_POINTS , GL_LINES , GL_LINE_STRIP , GL_LINE_LOOP , GL_TRIANGLES , GL_TRIANGLE_STRIP , GL_TRIANGLE_FAN , GL_QUADS , GL_QUAD_STRIP , and GL_POLYGON .

Description

glBegin and glEnd delimit the vertices that define a primitive or a group of like primitives. glBegin accepts a single argument that specifies in which of ten ways the vertices are interpreted. Taking n as an integer count starting at one, and N as the total number of vertices specified, the interpretations are as follows:
GL_POINTS
Treats each vertex as a single point. Vertex n defines point n . N points are drawn.
GL_LINES
Treats each pair of vertices as an independent line segment. Vertices 2 n - 1 and 2 n define line n . N 2 lines are drawn.
GL_LINE_STRIP
Draws a connected group of line segments from the first vertex to the last. Vertices n and n + 1 define line n . N - 1 lines are drawn.
GL_LINE_LOOP
Draws a connected group of line segments from the first vertex to the last, then back to the first. Vertices n and n + 1 define line n . The last line, however, is defined by vertices N and 1 . N lines are drawn.
GL_TRIANGLES
Treats each triplet of vertices as an independent triangle. Vertices 3 n - 2 , 3 n - 1 , and 3 n define triangle n . N 3 triangles are drawn.
GL_TRIANGLE_STRIP
Draws a connected group of triangles. One triangle is defined for each vertex presented after the first two vertices. For odd n , vertices n , n + 1 , and n + 2 define triangle n . For even n , vertices n + 1 , n , and n + 2 define triangle n . N - 2 triangles are drawn.
GL_TRIANGLE_FAN
Draws a connected group of triangles. One triangle is defined for each vertex presented after the first two vertices. Vertices 1 , n + 1 , and n + 2 define triangle n . N - 2 triangles are drawn.
GL_QUADS
Treats each group of four vertices as an independent quadrilateral. Vertices 4 n - 3 , 4 n - 2 , 4 n - 1 , and 4 n define quadrilateral n . N 4 quadrilaterals are drawn.
GL_QUAD_STRIP
Draws a connected group of quadrilaterals. One quadrilateral is defined for each pair of vertices presented after the first pair. Vertices 2 n - 1 , 2 n , 2 n + 2 , and 2 n + 1 define quadrilateral n . N 2 - 1 quadrilaterals are drawn. Note that the order in which vertices are used to construct a quadrilateral from strip data is different from that used with independent data.
GL_POLYGON
Draws a single, convex polygon. Vertices 1 through N define this polygon.
Only a subset of GL commands can be used between glBegin and glEnd . The commands are glVertex , glColor , glSecondaryColor , glIndex , glNormal , glFogCoord , glTexCoord , glMultiTexCoord , glVertexAttrib , glEvalCoord , glEvalPoint , glArrayElement , glMaterial , and glEdgeFlag . Also, it is acceptable to use glCallList or glCallLists to execute display lists that include only the preceding commands. If any other GL command is executed between glBegin and glEnd , the error flag is set and the command is ignored.
Regardless of the value chosen for mode , there is no limit to the number of vertices that can be defined between glBegin and glEnd . Lines, triangles, quadrilaterals, and polygons that are incompletely specified are not drawn. Incomplete specification results when either too few vertices are provided to specify even a single primitive or when an incorrect multiple of vertices is specified. The incomplete primitive is ignored; the rest are drawn.
The minimum specification of vertices for each primitive is as follows: 1 for a point, 2 for a line, 3 for a triangle, 4 for a quadrilateral, and 3 for a polygon. Modes that require a certain multiple of vertices are GL_LINES (2), GL_TRIANGLES (3), GL_QUADS (4), and GL_QUAD_STRIP (2).

Errors

GL_INVALID_ENUM is generated if mode is set to an unaccepted value.
GL_INVALID_OPERATION is generated if glBegin is executed between a glBegin and the corresponding execution of glEnd .
GL_INVALID_OPERATION is generated if glEnd is executed without being preceded by a glBegin .
GL_INVALID_OPERATION is generated if a command other than glVertex , glColor , glSecondaryColor , glIndex , glNormal , glFogCoord , glTexCoord , glMultiTexCoord , glVertexAttrib , glEvalCoord , glEvalPoint , glArrayElement , glMaterial , glEdgeFlag , glCallList , or glCallLists is executed between the execution of glBegin and the corresponding execution glEnd .
Execution of glEnableClientState , glDisableClientState , glEdgeFlagPointer , glFogCoordPointer , glTexCoordPointer , glColorPointer , glSecondaryColorPointer , glIndexPointer , glNormalPointer , glVertexPointer , glVertexAttribPointer , glInterleavedArrays , or glPixelStore is not allowed after a call to glBegin and before the corresponding call to glEnd , but an error may or may not be generated.

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glBegin
OpenGLContext OpenGLContext/shadow/volume.py Lines: 318
OpenGLContext OpenGLContext/scenegraph/indexedfaceset.py Lines: 571, 591, 604, 606, 610
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 279, 285
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 91, 101, 114, 124, 135, 166
OpenGLContext OpenGLContext/scenegraph/indexedlineset.py Lines: 68, 81, 95
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 46, 61, 105
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 219, 240, 262
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 81
OpenGLContext tests/glarrayelement.py Lines: 21
OpenGLContext tests/polygonal_text.py Lines: 30
OpenGLContext tests/nehe5.py Lines: 45, 76
OpenGLContext tests/nehe6_convolve.py Lines: 160
OpenGLContext tests/nehe7.py Lines: 182
OpenGLContext tests/_bitmap_font.py Lines: 54, 68, 83
OpenGLContext tests/backgroundobject.py Lines: 27
OpenGLContext tests/glvertex.py Lines: 15
OpenGLContext tests/redbook_alpha.py Lines: 92, 100
OpenGLContext tests/nehe4.py Lines: 52, 70
OpenGLContext tests/nehe6.py Lines: 91
OpenGLContext tests/redbook_surface_cb.py Lines: 151
OpenGLContext tests/glu_tess2.py Lines: 54
OpenGLContext tests/test_glvertex2fcrash.py Lines: 15
OpenGLContext tests/nehe3.py Lines: 34, 47
OpenGLContext tests/nehe2.py Lines: 48, 58
OpenGLContext tests/textureobject.py Lines: 35
OpenGLContext tests/nehe6_timer.py Lines: 106
OpenGLContext tests/glu_tess.py Lines: 63
OpenGLContext tests/nehe6_multi.py Lines: 127
OpenGLContext tests/multitexture_1.py Lines: 61
OpenGLContext tests/nehe8.py Lines: 199
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 37
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 60
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 21
OpenGL-Demo PyOpenGL-Demo/tom/logo.py Lines: 17
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 116
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 85
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 146
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 150
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 225, 238, 248, 258, 268
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 106
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 102, 122
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 305, 331
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 88, 99
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 74, 106
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 92, 183
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 101, 137
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 89, 104
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 128
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 167
OpenGL-Demo PyOpenGL-Demo/redbook/hello.py Lines: 71
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 69, 108
OpenGL-Demo PyOpenGL-Demo/redbook/smooth.py Lines: 75
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 51, 70
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 26, 36, 49, 59, 70, 101
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 41
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/logo.py Lines: 15
OpenGL-Demo PyOpenGL-Demo/dek/tile.py Lines: 39
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 57, 96
Glinter Widget.py Lines: 211, 225, 249, 395, 408, 422, 850
{Artistic License} PymmLib applications/glutviewer.py Lines: 85, 97
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 290, 300, 305, 423, 481, 515, 564
pyBzEdit pyBzEdit.py Lines: 445, 462, 531, 608, 614, 632, 674, 699
{LGPL} PyUI tests/testcube.py Lines: 77, 86
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 138, 153, 166, 184, 229
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 293
{LGPL} PyUI2 renderers/openglBase.py Lines: 138, 153, 166, 184, 229
{LGPL} PyUI2 renderers/openglPygame.py Lines: 296
{LGPL} PyUI2 system/openglgraphics.py Lines: 82, 100, 110, 112, 129, 137, 156, 348
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 409, 692
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1502
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 199, 213, 445, 727, 1082, 1134
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 128, 165, 249, 328, 335, 370, 468, 508
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 41
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1296, 1495, 1607, 1829, 1851, 1938
{GPL} GLChess src/lib/scene/opengl/opengl.py Lines: 570, 588, 703, 807, 845, 873
{GPL} GLChess src/lib/scene/opengl/builtin_models.py Lines: 235, 252, 270, 323, 335
{LGPL} Pyggel pyggel/misc.py Lines: 307
{LGPL} Pyggel pyggel/mesh.py Lines: 146
{LGPL} Pyggel pyggel/image.py Lines: 64, 206
{LGPL} Pyggel pyggel/geometry.py Lines: 114, 207, 267, 430, 556, 629
{LGPL} pygl2d pygl2d/draw.py Lines: 36, 52, 72
{LGPL} pygl2d pygl2d/image.py Lines: 124
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 109
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 48
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/Label.py Lines: 120, 148
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Examples/Checkers/CheckersBoard.py Lines: 41
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Progress3D.py Lines: 149, 178
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/SimpleCube.py Lines: 142
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 157
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 187, 217
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 126
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 145
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 485, 498
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 172, 180, 197, 205, 227
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/SkyGrassBackground.py Lines: 47
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/SimpleCube.py Lines: 51
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/PygameWrapperPlane.py Lines: 78
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/TexPlane.py Lines: 58
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/ProgressBar.py Lines: 65, 102
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 536
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Button.py Lines: 76, 105
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 847
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/SimpleCube.py Lines: 73
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 159, 192
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Label.py Lines: 120, 148
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/TexPlane.py Lines: 98
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 110, 141
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Button.py Lines: 149, 177
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/SimpleButton.py Lines: 107
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ArrowButton.py Lines: 70, 89
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 457, 469
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/Checkers/CheckersBoard.py Lines: 41
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 48
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Progress3D.py Lines: 149, 178
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/SimpleCube.py Lines: 142
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 157
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 187, 217
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Object3D.py Lines: 126
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 145
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 485, 498
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 172, 180, 197, 205, 227
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/SimpleCube.py Lines: 51
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/TexPlane.py Lines: 58
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/ProgressBar.py Lines: 65, 102
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 536
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Button.py Lines: 76, 105
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 191, 219, 252, 293, 341
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 185
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Examples/Checkers/CheckersBoard.py Lines: 41
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 84
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/Folding.py Lines: 37, 43
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 118
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 846
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SkyGrassBackground.py Lines: 65
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SimpleCube.py Lines: 73
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 159, 192
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 120, 148
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/TexPlane.py Lines: 98
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 110, 141
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 145, 173
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SimpleButton.py Lines: 107
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ArrowButton.py Lines: 70, 89
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 460, 472
glEnd
OpenGLContext OpenGLContext/shadow/volume.py Lines: 324
OpenGLContext OpenGLContext/scenegraph/indexedfaceset.py Lines: 589, 599, 621
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 284, 291
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 98, 109, 121, 132, 161, 172
OpenGLContext OpenGLContext/scenegraph/indexedlineset.py Lines: 78, 86, 100
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 57, 74, 113
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 233, 255, 276
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 93
OpenGLContext tests/glarrayelement.py Lines: 24
OpenGLContext tests/polygonal_text.py Lines: 37
OpenGLContext tests/nehe5.py Lines: 70, 107
OpenGLContext tests/nehe6_convolve.py Lines: 190
OpenGLContext tests/nehe7.py Lines: 218
OpenGLContext tests/_bitmap_font.py Lines: 61, 75, 90
OpenGLContext tests/backgroundobject.py Lines: 31
OpenGLContext tests/glvertex.py Lines: 18
OpenGLContext tests/redbook_alpha.py Lines: 97, 105
OpenGLContext tests/nehe4.py Lines: 59, 75
OpenGLContext tests/nehe6.py Lines: 121
OpenGLContext tests/redbook_surface_cb.py Lines: 163
OpenGLContext tests/glu_tess2.py Lines: 60
OpenGLContext tests/test_glvertex2fcrash.py Lines: 20
OpenGLContext tests/nehe3.py Lines: 41, 52
OpenGLContext tests/nehe2.py Lines: 52, 63
OpenGLContext tests/textureobject.py Lines: 65
OpenGLContext tests/nehe6_timer.py Lines: 136
OpenGLContext tests/glu_tess.py Lines: 66
OpenGLContext tests/nehe6_multi.py Lines: 157
OpenGLContext tests/multitexture_1.py Lines: 67
OpenGLContext tests/nehe8.py Lines: 235
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 50
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 69
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 30
OpenGL-Demo PyOpenGL-Demo/tom/logo.py Lines: 5298
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 132
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 111
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 184
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 155
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 234, 244, 254, 264, 274
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 144
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 109, 127
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 313, 338
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 92, 104
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 99, 111
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 136, 199
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 131, 175
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 96, 109
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 166
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 205
OpenGL-Demo PyOpenGL-Demo/redbook/hello.py Lines: 76
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 72, 111
OpenGL-Demo PyOpenGL-Demo/redbook/smooth.py Lines: 82
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 58, 89
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 33, 44, 56, 67, 96, 107
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 54
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/logo.py Lines: 7384
OpenGL-Demo PyOpenGL-Demo/dek/tile.py Lines: 47
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 83, 109
Glinter Widget.py Lines: 216, 239, 259, 400, 413, 431, 855
{Artistic License} PymmLib applications/glutviewer.py Lines: 90, 102
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 310, 426, 484, 532, 571
pyBzEdit pyBzEdit.py Lines: 460, 468, 597, 612, 618, 639, 696, 710
{LGPL} PyUI tests/testcube.py Lines: 83, 91
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 144, 162, 170, 193, 239
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 302
{LGPL} PyUI2 renderers/openglBase.py Lines: 144, 162, 170, 193, 239
{LGPL} PyUI2 renderers/openglPygame.py Lines: 305
{LGPL} PyUI2 system/openglgraphics.py Lines: 86, 106, 126, 133, 141, 165, 357
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 422, 705
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1507
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 209, 218, 487, 769, 1129, 1167
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 133, 170, 254, 333, 339, 379, 478, 517
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 44
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1314, 1507, 1619, 1841, 1880, 1970
{GPL} GLChess src/lib/scene/opengl/opengl.py Lines: 575, 624, 712, 818, 856, 883
{GPL} GLChess src/lib/scene/opengl/builtin_models.py Lines: 249, 266, 288, 330, 343
{LGPL} Pyggel pyggel/misc.py Lines: 319
{LGPL} Pyggel pyggel/mesh.py Lines: 160
{LGPL} Pyggel pyggel/image.py Lines: 77, 218
{LGPL} Pyggel pyggel/geometry.py Lines: 132, 227, 287, 437, 565, 638
{LGPL} pygl2d pygl2d/draw.py Lines: 40, 60, 78
{LGPL} pygl2d pygl2d/image.py Lines: 129
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 145
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 84
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/Label.py Lines: 142, 167
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Examples/Checkers/CheckersBoard.py Lines: 54
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Progress3D.py Lines: 171, 211
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/SimpleCube.py Lines: 178
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 163
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 210, 236
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 162
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 153
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 491, 509
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 178, 194, 203, 219, 261
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/SkyGrassBackground.py Lines: 58
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/SimpleCube.py Lines: 87
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/PygameWrapperPlane.py Lines: 88
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/TexPlane.py Lines: 66
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/ProgressBar.py Lines: 98, 124
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 542
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Button.py Lines: 98, 124
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 853
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/SimpleCube.py Lines: 115
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 186, 202
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Label.py Lines: 142, 167
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/TexPlane.py Lines: 105
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 132, 174
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Button.py Lines: 171, 200
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/SimpleButton.py Lines: 141
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ArrowButton.py Lines: 87, 99
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 460, 475
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/Checkers/CheckersBoard.py Lines: 54
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 84
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Progress3D.py Lines: 171, 211
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/SimpleCube.py Lines: 178
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 163
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 210, 236
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Object3D.py Lines: 162
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 153
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 491, 509
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 178, 194, 203, 219, 261
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/SimpleCube.py Lines: 87
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/TexPlane.py Lines: 66
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/ProgressBar.py Lines: 98, 124
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 542
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Button.py Lines: 98, 124
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 213, 243, 255, 296, 344
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 224
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Examples/Checkers/CheckersBoard.py Lines: 54
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 120
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/Folding.py Lines: 41, 47
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 124
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 852
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SkyGrassBackground.py Lines: 76
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SimpleCube.py Lines: 115
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 186, 202
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 142, 167
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/TexPlane.py Lines: 105
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 132, 174
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 167, 192
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/SimpleButton.py Lines: 141
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ArrowButton.py Lines: 87, 99
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 463, 478
Previous: glAttachShader Table of Contents (GL) Next: glBeginQuery