pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
gltut for python

gltut for python - Chapters 1-6

Sean J McKiernan (mekire)

Tags:

Description

Overview:
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.

Requirements:
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).

Notes:
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.

Usage/Download:
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.
-Mek

Links

Home Page: https://bitbucket.org/Mekire/gltut-python-pygame-pyopengl

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

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

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

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

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