glLoadIdentity

replace the current matrix with the identity matrix

Signature

glLoadIdentity( ( void ) )-> void
glLoadIdentity( )

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.

glLoadIdentity
OpenGLContext tests/nehe4.py Lines: 64
OpenGLContext tests/glutbitmapcharacter.py Lines: 19, 23
OpenGLContext tests/boundingvolume.py Lines: 71, 80
OpenGLContext tests/glhistogram.py Lines: 57, 61
OpenGLContext tests/gldrawpixels.py Lines: 70, 74
OpenGLContext tests/gldrawpixelssynth.py Lines: 50, 54
OpenGLContext tests/nehe5.py Lines: 31
OpenGLContext OpenGLContext/framecounter.py Lines: 62, 65, 76
OpenGLContext OpenGLContext/passes/renderpass.py Lines: 542
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 218, 322, 324
OpenGLContext OpenGLContext/passes/flatcompat.py Lines: 77
OpenGLContext OpenGLContext/scenegraph/imagetexture.py Lines: 103
OpenGLContext OpenGLContext/move/viewplatform.py Lines: 139, 143
OpenGLContext OpenGLContext/shadow/shadowcontext.py Lines: 21
OpenGL-Demo PyOpenGL-Demo/GLUT/shader_test.py Lines: 32, 74, 82
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 213, 216
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/arraytest.py Lines: 61, 66
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/checker.py Lines: 61, 72
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/text.py Lines: 54, 65
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 71, 80
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/cone.py Lines: 63, 74
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 141, 145
OpenGL-Demo PyOpenGL-Demo/proesch/bezier/bezier.py Lines: 88, 92
OpenGL-Demo PyOpenGL-Demo/proesch/stereo/stereoDemo.py Lines: 63, 66
OpenGL-Demo PyOpenGL-Demo/redbook/double.py Lines: 91, 94
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 123
OpenGL-Demo PyOpenGL-Demo/redbook/cube.py Lines: 69, 79
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 183
OpenGL-Demo PyOpenGL-Demo/redbook/scene.py Lines: 110, 118
OpenGL-Demo PyOpenGL-Demo/redbook/smooth.py Lines: 88
OpenGL-Demo PyOpenGL-Demo/redbook/drawf.py Lines: 93
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 118, 124
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 114, 117
OpenGL-Demo PyOpenGL-Demo/redbook/hello.py Lines: 83
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 274, 282, 290, 298, 303, 365, 371
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 66, 79, 89, 109
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 208, 214, 222
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 56, 69, 77
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 91, 104, 113
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 118, 131, 140
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 69, 82, 91, 129
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 56, 69, 77
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson1.py Lines: 56, 69, 77
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 133, 139, 152
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 115, 135, 187
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 376, 382, 391
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 126, 139, 150
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 71, 84, 143
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 51, 64, 76
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 47, 60, 116
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 56, 69, 78
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 72, 85, 142
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/lesson44.py Lines: 216, 223, 345, 360
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 77, 81
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 191, 293
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/lesson43.py Lines: 88, 94, 104, 120
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson48/Lesson48.py Lines: 129, 138
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson48/NeHeGL.py Lines: 93, 100
OpenGL-Demo PyOpenGL-Demo/da/dots.py Lines: 89
OpenGL-Demo py2exe-example/shader_test.py Lines: 33, 75, 83
Glinter Widget.py Lines: 55, 103, 585, 664
{Artistic License} PymmLib applications/glutviewer.py Lines: 164, 176
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 139, 151
pyBzEdit pyBzEdit.py Lines: 420, 426, 763, 778
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 309, 314, 344
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 183, 187
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 231
{LGPL} PyUI2 renderers/openglBase.py Lines: 309, 314, 344
{LGPL} PyUI2 renderers/openglPygame.py Lines: 186, 190
{LGPL} PyUI2 renderers/openglGlut.py Lines: 231
{LGPL} PyUI2 system/openglgraphics.py Lines: 187, 192, 213
{LGPL} PyUI2 system/glutdevice.py Lines: 172
{LGPL} VisionEgg test/conform.py Lines: 162, 174, 187, 200, 216
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1075
{LGPL} PyMT examples/apps/3Dviewer/3Dviewer.py Lines: 47, 52, 83, 155
{LGPL} PyMT examples/apps/3Ddrawing/3Ddrawing.py Lines: 38, 43, 102, 110
{LGPL} PyMT pymt/graphx/statement.py Lines: 54, 178
{LGPL} PyMT pymt/ui/window/__init__.py Lines: 19, 455, 467
{LGPL} Pyggel pyggel/data.py Lines: 549, 553, 611, 615
{LGPL} Pyggel pyggel/view.py Lines: 281, 286, 300, 304
{LGPL} pygl2d pygl2d/window.py Lines: 33, 71, 75
{GPL} Scocca scocca/graphics/opengl/matrix.py Lines: 26
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 50, 54
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Spheres.py Lines: 21, 24, 98
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 37, 44, 159, 300
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 146
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 151, 457
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 479, 772
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 22, 26
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 315
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/TopologyViewer3D.py Lines: 640
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 22, 26
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 74, 78
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 146
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 151, 457
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 479, 771
Gloopy gloopy/view/modelview.py Lines: 25, 33
Gloopy gloopy/view/projection.py Lines: 40, 66, 76
Visvis core/axes.py Lines: 803, 806, 895, 898, 922, 925, 938, 941, 960, 963, 1020, 1024
Visvis core/cameras.py Lines: 681, 692, 1137, 1155, 1755, 1770
Visvis core/baseFigure.py Lines: 877, 880
{GPL3} OpenGL-Programmable 01-direct.py Lines: 60, 120, 131
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 135, 224, 235
{GPL3} OpenGL-Programmable 03-array.py Lines: 60, 131, 142
{GPL3} OpenGL-Programmable 08-pbo.py Lines: 155, 257, 268
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 60, 129, 140
{GPL3} OpenGL-Programmable 05-shader.py Lines: 127, 216, 227
{GPL3} OpenGL-Programmable 07-attrib.py Lines: 144, 235, 246
{GPL3} OpenGL-Programmable 04-vbo.py Lines: 61, 150, 161