Skip to content

Commit

Permalink
Some songho tutorials, will finish the rest in the morning.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSVino committed Sep 5, 2014
1 parent b81e407 commit 1f2a196
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions opengl.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,26 @@
'glDrawArrays', 'glFlush', 'glGetBufferSubData', 'glGenQueries', 'glBeginQuery',
'glGetQueryObject'],
},
'songho overview': {
'name': 'Songho - OpenGL Overview',
'link': 'http://www.songho.ca/opengl/gl_overview.html',
'versions': [ 'gl2' ],
'commands': ['glColor', 'glVertex', 'glPushAttrib', 'glEnable', 'glBegin', 'glFlush', 'glFinish'],
},
'songho pipeline': {
'name': 'Songho - OpenGL Rendering Pipeline',
'link': 'http://www.songho.ca/opengl/gl_pipeline.html',
'versions': [ 'gl2' ],
'commands': ['glRenderMode', 'glReadPixels', 'glCopyPixels', 'glGet', 'glIsEnabled'],
},
'songho transformations': {
'name': 'Songho - OpenGL Transformation',
'link': 'http://www.songho.ca/opengl/gl_transform.html',
'versions': [ 'gl2' ],
'commands': ['glRotate', 'glTranslate', 'glScale', 'glViewport', 'glDepthRange', 'glMatrixMode',
'glOrtho', 'glFrustum', 'glPushMatrix', 'glLoadIdentity', 'glLoadMatrix', 'glLoadTransposeMatrix',
'glMultMatrix', 'glMultTransposeMatrix', ],
},
}

def get_major_versions(all_versions):
Expand Down

0 comments on commit 1f2a196

Please sign in to comment.