glPushMatrix

push and pop the current matrix stack

Signature

glPopMatrix( ( void ) )-> void
glPopMatrix( )
glPushMatrix( ( void ) )-> void
glPushMatrix( )

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.

glPopMatrix
OpenGLContext tests/glutbitmapcharacter.py Lines: 33
OpenGLContext tests/redbook_trim.py Lines: 126
OpenGLContext tests/glhistogram.py Lines: 81
OpenGLContext tests/gldrawpixels.py Lines: 85
OpenGLContext tests/redbook_surface.py Lines: 88
OpenGLContext tests/shadow_1.py Lines: 294
OpenGLContext tests/gldrawpixelssynth.py Lines: 65
OpenGLContext tests/redbook_surface_cb.py Lines: 107
OpenGLContext tests/redbook_alpha3D.py Lines: 130, 144
OpenGLContext OpenGLContext/doinchildmatrix.py Lines: 34
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 401
OpenGLContext OpenGLContext/shadow/volume.py Lines: 331
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 90
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 148, 154, 160, 162
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/checker.py Lines: 47
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/cone.py Lines: 29
OpenGL-Demo PyOpenGL-Demo/GLE/texas.py Lines: 53
OpenGL-Demo PyOpenGL-Demo/GLE/helix.py Lines: 24
OpenGL-Demo PyOpenGL-Demo/GLE/cone.py Lines: 28
OpenGL-Demo PyOpenGL-Demo/tom/conechecker.py Lines: 31, 55
OpenGL-Demo PyOpenGL-Demo/tom/checker.py Lines: 31
OpenGL-Demo PyOpenGL-Demo/tom/pick.py Lines: 25
OpenGL-Demo PyOpenGL-Demo/tom/conesave.py Lines: 36
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 67
OpenGL-Demo PyOpenGL-Demo/tom/cone.py Lines: 34
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 155
OpenGL-Demo PyOpenGL-Demo/redbook/double.py Lines: 74
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 116
OpenGL-Demo PyOpenGL-Demo/redbook/scene.py Lines: 90, 96, 101, 103
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 102
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 105, 108
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 176, 200
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 173
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 88, 90
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 165, 202, 305
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson48/Lesson48.py Lines: 136, 145
Glinter Widget.py Lines: 107
{Artistic License} PymmLib applications/glutviewer.py Lines: 249
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 233, 442, 466, 499, 573
pyBzEdit pyBzEdit.py Lines: 809
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 240, 327, 329
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 192, 194, 318
{LGPL} PyUI tests/testcube.py Lines: 93
{LGPL} PyUI2 renderers/openglBase.py Lines: 240, 327, 329
{LGPL} PyUI2 renderers/openglPygame.py Lines: 195, 197, 321
{LGPL} PyUI2 system/openglgraphics.py Lines: 205, 207, 373
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 255, 372
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 358, 545, 846, 1172, 1218
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 175, 388
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1509, 1907
{LGPL} VisionEgg VisionEgg/Text.py Lines: 429, 509
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 425
{LGPL} VisionEgg VisionEgg/Core.py Lines: 555, 881, 1078
{LGPL} PyMT examples/games/tictactoe/tictactoe.py Lines: 104
{LGPL} PyMT examples/games/untangle/data_viewer.py Lines: 68, 69
{LGPL} PyMT examples/apps/3Dviewer/3Dviewer.py Lines: 58, 60, 85, 161
{LGPL} PyMT examples/apps/3Ddrawing/3Ddrawing.py Lines: 49, 51, 104, 116
{LGPL} PyMT pymt/lib/squirtle.py Lines: 16, 501
{LGPL} PyMT pymt/graphx/statement.py Lines: 56, 182
{LGPL} Pyggel pyggel/mesh.py Lines: 227, 335, 797
{LGPL} Pyggel pyggel/font.py Lines: 328, 532, 963, 1009
{LGPL} Pyggel pyggel/misc.py Lines: 226, 339
{LGPL} Pyggel pyggel/geometry.py Lines: 157, 309, 339, 459, 492, 589
{LGPL} Pyggel pyggel/scene.py Lines: 202
{LGPL} Pyggel pyggel/image.py Lines: 106, 177
{LGPL} Pyggel pyggel/view.py Lines: 324
{LGPL} Pyggel pyggel/camera.py Lines: 28, 65
{LGPL} pygl2d pygl2d/draw.py Lines: 112
{LGPL} pygl2d pygl2d/window.py Lines: 79, 81
{LGPL} pygl2d pygl2d/image.py Lines: 182
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 122
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 317, 320
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Object3D.py Lines: 164
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Progress3D.py Lines: 216
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 155
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 266
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 165
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/SimpleCube.py Lines: 180
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 238
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 418, 471, 475
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 787, 791, 869
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 86
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 256, 297, 333, 345
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 86
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 147
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 164
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Progress3D.py Lines: 216
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 155
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 266
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 165
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/SimpleCube.py Lines: 180
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 238
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 418, 471, 475
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 786, 790, 868
Gloopy gloopy/view/render.py Lines: 147
Visvis wibjects/colorWibjects.py Lines: 557
Visvis core/base.py Lines: 197
Visvis text/text_prerendered.py Lines: 193
Visvis text/text_freetype.py Lines: 591
{GPL3} OpenGL-Programmable 01-direct.py Lines: 101
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 205
{GPL3} OpenGL-Programmable 03-array.py Lines: 112
{GPL3} OpenGL-Programmable 08-pbo.py Lines: 227
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 96
{GPL3} OpenGL-Programmable 05-shader.py Lines: 197
{GPL3} OpenGL-Programmable 07-attrib.py Lines: 216
{GPL3} OpenGL-Programmable 04-vbo.py Lines: 131
glPushMatrix
OpenGLContext tests/glutbitmapcharacter.py Lines: 22
OpenGLContext tests/redbook_trim.py Lines: 98
OpenGLContext tests/glhistogram.py Lines: 60
OpenGLContext tests/gldrawpixels.py Lines: 73
OpenGLContext tests/redbook_surface.py Lines: 71
OpenGLContext tests/shadow_1.py Lines: 290
OpenGLContext tests/gldrawpixelssynth.py Lines: 53
OpenGLContext tests/redbook_surface_cb.py Lines: 88
OpenGLContext tests/redbook_alpha3D.py Lines: 125, 132
OpenGLContext OpenGLContext/doinchildmatrix.py Lines: 21
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 259
OpenGLContext OpenGLContext/shadow/volume.py Lines: 328
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 64
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 139, 144, 150, 156
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/checker.py Lines: 42
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/cone.py Lines: 23
OpenGL-Demo PyOpenGL-Demo/GLE/texas.py Lines: 45
OpenGL-Demo PyOpenGL-Demo/GLE/helix.py Lines: 17
OpenGL-Demo PyOpenGL-Demo/GLE/cone.py Lines: 19
OpenGL-Demo PyOpenGL-Demo/tom/conechecker.py Lines: 28, 51
OpenGL-Demo PyOpenGL-Demo/tom/checker.py Lines: 28
OpenGL-Demo PyOpenGL-Demo/tom/pick.py Lines: 22
OpenGL-Demo PyOpenGL-Demo/tom/conesave.py Lines: 32
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 60
OpenGL-Demo PyOpenGL-Demo/tom/cone.py Lines: 30
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 146
OpenGL-Demo PyOpenGL-Demo/redbook/double.py Lines: 70
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 102
OpenGL-Demo PyOpenGL-Demo/redbook/scene.py Lines: 84, 86, 92, 98
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 99
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 93, 96
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 146, 180
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 163
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 76, 80
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 130, 190, 292
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson48/Lesson48.py Lines: 132, 141
Glinter Widget.py Lines: 102
{Artistic License} PymmLib applications/glutviewer.py Lines: 229
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 228, 434, 457, 496, 561
pyBzEdit pyBzEdit.py Lines: 762
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 225, 308, 313
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 182, 186, 312
{LGPL} PyUI tests/testcube.py Lines: 65
{LGPL} PyUI2 renderers/openglBase.py Lines: 225, 308, 313
{LGPL} PyUI2 renderers/openglPygame.py Lines: 185, 189, 315
{LGPL} PyUI2 system/openglgraphics.py Lines: 186, 191, 367
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 242, 366
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 252, 529, 835, 1071, 1210
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 112, 316
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1448, 1783
{LGPL} VisionEgg VisionEgg/Text.py Lines: 415, 479
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 329
{LGPL} VisionEgg VisionEgg/Core.py Lines: 805, 874, 1074
{LGPL} PyMT examples/games/untangle/data_viewer.py Lines: 16, 61
{LGPL} PyMT examples/apps/3Dviewer/3Dviewer.py Lines: 46, 51, 82, 154
{LGPL} PyMT examples/apps/3Ddrawing/3Ddrawing.py Lines: 37, 42, 101, 109
{LGPL} PyMT pymt/lib/squirtle.py Lines: 15, 489
{LGPL} PyMT pymt/graphx/statement.py Lines: 54, 55, 176
{LGPL} Pyggel pyggel/mesh.py Lines: 208, 300, 757
{LGPL} Pyggel pyggel/font.py Lines: 310, 517, 950, 991
{LGPL} Pyggel pyggel/misc.py Lines: 212, 323
{LGPL} Pyggel pyggel/geometry.py Lines: 138, 293, 336, 443, 489, 572
{LGPL} Pyggel pyggel/scene.py Lines: 191
{LGPL} Pyggel pyggel/image.py Lines: 91, 158
{LGPL} Pyggel pyggel/view.py Lines: 310
{LGPL} Pyggel pyggel/camera.py Lines: 24, 57, 100
{LGPL} pygl2d pygl2d/draw.py Lines: 109
{LGPL} pygl2d pygl2d/window.py Lines: 70, 74
{LGPL} pygl2d pygl2d/image.py Lines: 175
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 79
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 299, 309
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Object3D.py Lines: 122
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Progress3D.py Lines: 139
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 140
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 164
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 148
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/SimpleCube.py Lines: 138
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 180
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 412, 456, 464
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 771, 780, 861
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 43
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 249, 290, 314, 338
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 43
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 103
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Object3D.py Lines: 122
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Progress3D.py Lines: 139
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 140
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 164
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 148
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/SimpleCube.py Lines: 138
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 180
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 412, 456, 464
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 770, 779, 860
Gloopy gloopy/view/render.py Lines: 128
Visvis wibjects/colorWibjects.py Lines: 527
Visvis core/base.py Lines: 169
Visvis text/text_prerendered.py Lines: 184
Visvis text/text_freetype.py Lines: 581
{GPL3} OpenGL-Programmable 01-direct.py Lines: 85
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 194
{GPL3} OpenGL-Programmable 03-array.py Lines: 101
{GPL3} OpenGL-Programmable 08-pbo.py Lines: 216
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 90
{GPL3} OpenGL-Programmable 05-shader.py Lines: 186
{GPL3} OpenGL-Programmable 07-attrib.py Lines: 205
{GPL3} OpenGL-Programmable 04-vbo.py Lines: 120