Source

gltut (python/pygame/pyOpenGL) /

Filename Size Date modified Message
01_hello_triangle
02_playing_with_colors
03_OpenGLs_moving_triangle
04_objects_at_rest
05_objects_in_depth
06_objects_in_motion
1.0 KB
Chapters 1-6 (first commit)
886 B
Readme update
4.7 MB
Chapters 1-6 (first commit)
2.8 KB
Chapters 1-6 (first commit)

This is my effort to convert the C++ OpenGL tutorials written by Jason L. McKesson for his book Learning Modern 3D Graphics Programming, into python.

I use python 2.7, pyOpenGL, and pygame for this project. Computers will need to support GLSL 330 in order to run the tutorials without alteration. In order to make the code feel more like python I have changed variable names and program structure where I have deemed it appropriate.

In the end this project is about me learning OpenGL, but, as I myself had considerable difficulty in finding adequate Python OpenGL examples that weren't hopelessly obsolete, I would like to share this.

(I intend to translate the entire book into Python but this will likely take me some time.)

The original tutorials and original C++ code can be found here: arcsynthesis

Cheers, Sean J. McKiernan -Mek