Using OpenGL with Python

Antoni4040 picture Antoni4040 · Aug 25, 2012 · Viewed 66.8k times · Source

So, I only know how to use Python, but I also know how to model in 3d. I've heard of OpenGL and I really want to learn how to use, because it seems very useful (I want to create simple games with it...). I found PyOpenGL, Python bindings for OpenGL, but I couldn't find any "real" documentation, so the only option is to study code examples and tutorials written in C++ or something. But, as I said, I only know how to use Python. What can I do about that?

Answer

sloth picture sloth · Aug 25, 2012

You should go on and read a OpenGL tutorial.

Here's a pyopengl demo; other samples are over here.

Also, you can use pygame together with pyopengl; an example is here.