pygame is
Simple DirectMedia Layer is
Site Swing
gltut for python

gltut for python - Chapters 1-6

Sean J McKiernan (mekire)



Tutorial examples from the online book "Learning Modern 3d Graphics Programming," written by Jason L. McKesson, converted into python.

I am slowly working my way through this book and translating the examples (given in C++) into python. My goal is to do the entire book, but this will take some time.

The tutorials use python 2.7, pygame, pyOpenGL, and occasionally numpy. They will also require that your machine supports GLSL 330 or above (update your graphics drivers).

In my search for python OpenGL information, I found an enormous amount of outdated examples (that still used the fixed function pipeline). Finding modern up to date info that wasn't in a different language was very hard.

In my translations I have changed both variable names and the structure of the code to better reflect my python inclinations. I don't think this should pose a problem. The download link can be found on the right side of the Overview page on the BitBucket page. Download the entire repository as a zip as some of the scripts rely on that directory structure to function.

Hopefully some people will find this helpful.


Home Page:


click to view original size


gltut for python - Chapters 1-6 - Apr 4, 2013 account Comments

If you wish to leave a comment with your account, please sign in first.

April 6, 2013 5:22pm - Daniel Petri - nickname: (danielpetri1) - 5/5
That's so awesome

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)