I recently got my Pi and thought to give OpenGL another try. So I searched around for OpenGL Python modules as this would be my first choice as language. Although I'm aware that there are differences between the basic OpenGL and OpenGL ES I tried PyOpenGL without any luck. Then I found pyopengles but as I am very new to OpenGL I was overwhelmed by the complexity of the examples.

My question is, is pyopengles the standard way to go if I want to use OpenGL ES from within Python or are there any other modules and where can I find a step by step tutorial for the proposed module(s)?


pyopengles is probably the best choice for the moment, it's certainly not very mature yet, but is quite functional. It would be nice to see some of it wrapped in a more OO fashion, but it's good for learning the raw mechanics of opengl es if that's what you're interested in.

I found this page very helpful when I was trying to get to grips with pyopengles on my pi -


Once you understand the opengles state machine concept it becomes a bit easier, the problem is that raw opengles is very dissimilar to the 'pythonic' way of programming. As I said, I'm looking forward to a more OO wrapper around opengles on the pi myself.


Try this ctypes implementation of OpenGL ES.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.