glBegin

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

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/browser/vpcurve.py Lines: 81
OpenGLContext OpenGLContext/scenegraph/indexedfaceset.py Lines: 579, 599, 612, 614, 618
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 91, 101, 114, 124, 135, 166
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 259, 265
OpenGLContext OpenGLContext/scenegraph/indexedlineset.py Lines: 70, 83, 97
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 221, 242, 264
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 48, 63, 107
OpenGLContext OpenGLContext/shadow/volume.py Lines: 320
OpenGLContext tests/nehe6_multi.py Lines: 127
OpenGLContext tests/test_glvertex2fcrash.py Lines: 14
OpenGLContext tests/nehe5.py Lines: 45, 76
OpenGLContext tests/nehe6_compressed.py Lines: 62
OpenGLContext tests/glvertex.py Lines: 15
OpenGLContext tests/_bitmap_font.py Lines: 55, 69, 84
OpenGLContext tests/glu_tess.py Lines: 61
OpenGLContext tests/glarrayelement.py Lines: 20
OpenGLContext tests/nehe8.py Lines: 185
OpenGLContext tests/nehe6_convolve.py Lines: 161
OpenGLContext tests/multitexture_1.py Lines: 62
OpenGLContext tests/nehe2.py Lines: 48, 58
OpenGLContext tests/nehe7.py Lines: 179
OpenGLContext tests/nehe3.py Lines: 34, 47
OpenGLContext tests/nehe6_timer.py Lines: 105
OpenGLContext tests/glu_tess2.py Lines: 56
OpenGLContext tests/redbook_alpha.py Lines: 89, 97
OpenGLContext tests/nehe6.py Lines: 91
OpenGLContext tests/redbook_surface_cb.py Lines: 149
OpenGLContext tests/nehe4.py Lines: 52, 70
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 88
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 143
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 125
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 228, 241, 251, 261, 271
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 108
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 94, 185
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 98, 134
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 99, 119
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 118
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 77, 109
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 86, 101
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 154
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 301, 327
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 85, 96
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 165
OpenGL-Demo PyOpenGL-Demo/dek/tile.py Lines: 34
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 51, 90
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 29, 39, 52, 62, 73, 104
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 51, 70
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/logo.py Lines: 15
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 41
OpenGL-Demo PyOpenGL-Demo/redbook/hello.py Lines: 68
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 67, 106
OpenGL-Demo PyOpenGL-Demo/redbook/smooth.py Lines: 69
OpenGL-Demo PyOpenGL-Demo/tom/logo.py Lines: 13
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 52
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 11
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 29
{Artistic License} PymmLib pymmlib/applications/glutviewer.py Lines: 85, 97
{Artistic License} PymmLib pymmlib/mmLib/OpenGLDriver.py Lines: 297, 307, 312, 430, 488, 522, 571
{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/MoreStimuli.py Lines: 128, 165, 253, 332, 339, 374, 472, 512
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1504
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 199, 213, 445, 727, 1082, 1134
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 42
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 409, 698
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1296, 1495, 1607, 1829, 1851, 1938
{LGPL} PyMT pymt/graphx/statement.py Lines: 56, 209
{LGPL} PyMT pymt/lib/squirtle.py Lines: 17, 517, 537
{LGPL} Pyggel pyggel/image.py Lines: 64, 206
{LGPL} Pyggel pyggel/misc.py Lines: 307
{LGPL} Pyggel pyggel/geometry.py Lines: 114, 207, 267, 430, 556, 629
{LGPL} Pyggel pyggel/mesh.py Lines: 146
{LGPL} pygl2d pygl2d/image.py Lines: 136
{LGPL} pygl2d pygl2d/draw.py Lines: 46, 62, 78, 97, 111
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/Particles3D.py Lines: 491, 519, 548, 594, 645
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 869
{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/ProgressBar.py Lines: 110, 141
{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/Button.py Lines: 145, 173
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 460, 472
{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/SimpleButton.py Lines: 107
{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/Label.py Lines: 120, 148
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Examples/OpenGL/MiniExamples/OpenGLComponent.py Lines: 32, 44
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Examples/OpenGL/Checkers/CheckersBoard.py Lines: 41
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 227, 255, 288, 329, 377
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 204
{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/PygameWrapper.py Lines: 159, 192
{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/SimpleCube.py Lines: 73
{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/OpenGLComponent.py Lines: 457, 469
{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/SimpleButton.py Lines: 107
{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/Label.py Lines: 120, 148
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 65
{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/Sketches/Scrollbar3D.py Lines: 172, 180, 197, 205, 227
{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/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/Progress3D.py Lines: 149, 178
{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/Object3D.py Lines: 126
{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/playground/ProgressBar.py Lines: 65, 102
{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/Button.py Lines: 76, 105
{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/Display3D.py Lines: 536
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 137
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/Folding.py Lines: 56, 62
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/Particles3D.py Lines: 491, 519, 548, 594, 645
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 145, 173
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 120, 148
{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: 102
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 126
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 65
{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/Button3D.py Lines: 187, 217
{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/Progress3D.py Lines: 149, 178
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 145
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 126
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 485, 498
{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/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/Button.py Lines: 76, 105
{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/Display3D.py Lines: 536
{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
Visvis examples/customWobject.py Lines: 22
Visvis wobjects/textures.py Lines: 571
Visvis wobjects/sliceTextures.py Lines: 247, 253
Visvis functions/boxplot.py Lines: 272, 280, 308, 339
Visvis wibjects/sliders.py Lines: 380
Visvis wibjects/colorWibjects.py Lines: 679, 700
Visvis core/axes.py Lines: 984
Visvis core/baseWibjects.py Lines: 73, 95
Visvis core/base.py Lines: 617
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 101
{GPL3} OpenGL-Programmable 01-direct.py Lines: 90
glEnd
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 93
OpenGLContext OpenGLContext/scenegraph/indexedfaceset.py Lines: 597, 607, 629
OpenGLContext OpenGLContext/scenegraph/gear.py Lines: 98, 109, 121, 132, 161, 172
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 264, 271
OpenGLContext OpenGLContext/scenegraph/indexedlineset.py Lines: 80, 88, 102
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 235, 257, 278
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 59, 76, 115
OpenGLContext OpenGLContext/shadow/volume.py Lines: 326
OpenGLContext tests/nehe6_multi.py Lines: 157
OpenGLContext tests/test_glvertex2fcrash.py Lines: 19
OpenGLContext tests/nehe5.py Lines: 70, 107
OpenGLContext tests/nehe6_compressed.py Lines: 92
OpenGLContext tests/glvertex.py Lines: 18
OpenGLContext tests/_bitmap_font.py Lines: 62, 76, 91
OpenGLContext tests/glu_tess.py Lines: 64
OpenGLContext tests/glarrayelement.py Lines: 23
OpenGLContext tests/nehe8.py Lines: 221
OpenGLContext tests/nehe6_convolve.py Lines: 191
OpenGLContext tests/multitexture_1.py Lines: 68
OpenGLContext tests/nehe2.py Lines: 52, 63
OpenGLContext tests/nehe7.py Lines: 215
OpenGLContext tests/nehe3.py Lines: 41, 52
OpenGLContext tests/nehe6_timer.py Lines: 135
OpenGLContext tests/glu_tess2.py Lines: 62
OpenGLContext tests/redbook_alpha.py Lines: 94, 102
OpenGLContext tests/nehe6.py Lines: 121
OpenGLContext tests/redbook_surface_cb.py Lines: 161
OpenGLContext tests/nehe4.py Lines: 59, 75
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 114
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 181
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 163
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 237, 247, 257, 267, 277
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 146
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 138, 201
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 128, 172
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 106, 124
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 134
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 102, 114
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 93, 106
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 159
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 309, 334
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 89, 101
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 203
OpenGL-Demo PyOpenGL-Demo/dek/tile.py Lines: 42
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 77, 103
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 36, 47, 59, 70, 99, 110
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 58, 89
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/logo.py Lines: 7384
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 54
OpenGL-Demo PyOpenGL-Demo/redbook/hello.py Lines: 73
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 70, 109
OpenGL-Demo PyOpenGL-Demo/redbook/smooth.py Lines: 76
OpenGL-Demo PyOpenGL-Demo/tom/logo.py Lines: 5294
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 61
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 20
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 42
{Artistic License} PymmLib pymmlib/applications/glutviewer.py Lines: 90, 102
{Artistic License} PymmLib pymmlib/mmLib/OpenGLDriver.py Lines: 317, 433, 491, 539, 578
{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/MoreStimuli.py Lines: 133, 170, 258, 337, 343, 383, 482, 521
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1509
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 209, 218, 487, 769, 1129, 1167
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 47
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 422, 711
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1314, 1507, 1619, 1841, 1880, 1970
{LGPL} PyMT pymt/graphx/statement.py Lines: 56, 212
{LGPL} PyMT pymt/lib/squirtle.py Lines: 17, 522, 542
{LGPL} Pyggel pyggel/image.py Lines: 77, 218
{LGPL} Pyggel pyggel/misc.py Lines: 319
{LGPL} Pyggel pyggel/geometry.py Lines: 132, 227, 287, 437, 565, 638
{LGPL} Pyggel pyggel/mesh.py Lines: 160
{LGPL} pygl2d pygl2d/image.py Lines: 141
{LGPL} pygl2d pygl2d/draw.py Lines: 49, 69, 81, 101, 116
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/Particles3D.py Lines: 513, 539, 551, 597, 648
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 875
{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/ProgressBar.py Lines: 132, 174
{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/Button.py Lines: 167, 192
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLComponent.py Lines: 463, 478
{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/SimpleButton.py Lines: 141
{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/Label.py Lines: 142, 167
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Examples/OpenGL/MiniExamples/OpenGLComponent.py Lines: 35, 50
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Examples/OpenGL/Checkers/CheckersBoard.py Lines: 54
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 249, 279, 291, 332, 380
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 243
{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/PygameWrapper.py Lines: 186, 202
{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/SimpleCube.py Lines: 115
{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/OpenGLComponent.py Lines: 460, 475
{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/SimpleButton.py Lines: 141
{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/Label.py Lines: 142, 167
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 101
{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/Sketches/Scrollbar3D.py Lines: 178, 194, 203, 219, 261
{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/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/Progress3D.py Lines: 171, 211
{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/Object3D.py Lines: 162
{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/playground/ProgressBar.py Lines: 98, 124
{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/Button.py Lines: 98, 124
{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/Display3D.py Lines: 542
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 143
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/Folding.py Lines: 60, 66
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Visualisation/PhysicsGraph3D/Particles3D.py Lines: 513, 539, 551, 597, 648
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 167, 192
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 142, 167
{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: 138
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 162
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 101
{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/Button3D.py Lines: 210, 236
{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/Progress3D.py Lines: 171, 211
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 153
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 162
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 491, 509
{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/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/Button.py Lines: 98, 124
{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/Display3D.py Lines: 542
{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
Visvis examples/customWobject.py Lines: 27
Visvis wobjects/textures.py Lines: 576
Visvis wobjects/sliceTextures.py Lines: 250, 258
Visvis functions/boxplot.py Lines: 277, 293, 315, 344
Visvis wibjects/sliders.py Lines: 385
Visvis wibjects/colorWibjects.py Lines: 684, 705
Visvis core/axes.py Lines: 993
Visvis core/baseWibjects.py Lines: 78, 100
Visvis core/base.py Lines: 622
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 108
{GPL3} OpenGL-Programmable 01-direct.py Lines: 97

MathML Rendering

Powered by MathJax