Skip to content

Commit

Permalink
Add Anton Gerdelan's tutorials.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSVino committed Sep 5, 2014
1 parent 5ab4815 commit 10d708e
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions opengl.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,49 @@
'commands': ['glBindTexture', 'glCompressedTexImage2D', 'glGetTexLevelParameter',
'glGetCompressedTexImage'],
},
'nehe ios triangle': {
'name': 'nehe.gamedev.net - iOS Lesson 02 - First Triangle',
'link': 'http://nehe.gamedev.net/tutorial/ios_lesson_02__first_triangle/50001/',
'versions': [ 'es2', 'es3' ],
'commands': ['glGenBuffers', 'glBindBuffer', 'glBufferData', 'glUseProgram',
'glGetAttribLocation', 'glEnableVertexAttribArray', 'glVertexAttribPointer', 'glDrawArrays'],
},
'gerdelan hello triangle': {
'name': 'Anton Gerdelan - "Hello Triangle" - OpenGL 4 Up and Running',
'link': 'http://antongerdelan.net/opengl/hellotriangle.html',
'versions': [ 'gl4' ],
'commands': ['glEnable', 'glDepthFunc', 'glGenBuffers', 'glBindBuffer', 'glBufferData',
'glGenVertexArrays', 'glBindVertexArray', 'glEnableVertexAttribArray', 'glVertexAttribPointer',
'glCreateShader', 'glShaderSource', 'glCompileShader', 'glCreateProgram', 'glAttachShader',
'glLinkProgram', 'glClear', 'glUseProgram', 'glBindVertexArray', 'glDrawArrays'],
},
'gerdelan shaders': {
'name': 'Anton Gerdelan - OpenGL 4 Shaders',
'link': 'http://antongerdelan.net/opengl/shaders.html',
'versions': [ 'gl4' ],
'commands': ['glCreateShader', 'glShaderSource', 'glCompileShader', 'glGetShader',
'glGetShaderInfoLog', 'glDeleteShader', 'glCreateProgram', 'glAttachShader', 'glLinkProgram',
'glValidateProgram', 'glGetProgram', 'glGetProgramInfoLog', 'glUseProgram', 'glGetActiveAttrib',
'glGetAttribLocation', 'glGetUniformLocation', 'glGetActiveUniform', 'glUniform', 'glUniformMatrix'],
},
'gerdelan vbo': {
'name': 'Anton Gerdelan - Vertex Buffer Objects',
'link': 'http://antongerdelan.net/opengl/vertexbuffers.html',
'versions': [ 'gl4' ],
'commands': ['glGenBuffers', 'glBindBuffer', 'glBufferData', 'glVertexAttribPointer',
'glEnableVertexAttribArray', 'glCompileShader', 'glAttachShader', 'glBindAttribLocation',
'glLinkProgram', 'glClear', 'glUseProgram', 'glBindVertexArray', 'glDrawArrays', 'glEnable',
'glCullFace', 'glFrontFace', 'glGetActiveUniform', 'glUniform', 'glUniformMatrix'],
},
'gerdelan cubemaps': {
'name': 'Anton Gerdelan - Cube Maps: Sky Boxes and Environment Mapping',
'link': 'http://antongerdelan.net/opengl/cubemaps.html',
'versions': [ 'gl4' ],
'commands': ['glGenBuffers', 'glBindBuffer', 'glBufferData', 'glVertexAttribPointer',
'glEnableVertexAttribArray', 'glGenVertexArrays', 'glBindVertexArray', 'glActiveTexture',
'glGenTextures', 'glTexParameteri', 'glBindTexture', 'glTexImage2D', 'glUseProgram',
'glUniformMatrix', 'glDepthMask', 'glDrawArrays'],
},
}

def get_major_versions(all_versions):
Expand Down

0 comments on commit 10d708e

Please sign in to comment.