5 ms·
I very recently was looking for a way to do some scientific 3D visualizations in Python 3. Requirements: OpenGL 3+ (for shaders) and some basic windowing and mo
by Derbasti 13y ago
I very recently was looking for a way to do some scientific 3D visualizations in Python 3. Requirements: OpenGL 3+ (for shaders) and some basic windowing and mouse event handling.
I looked at
- PyOpenGL, no windowing.
- PyGlet, Python 2.7.
- PyQt, only OpenGL 2.
- PySide, outdated Qt version and more or less unmaintained.
- wxPython, Python 2.7.
- PyGame, Python 2.7.
So, no dice. This is really terrible. Also, the hoops I had to jump through to get some of these installed was just ridiculous.
The solution I ended up with? Tornado, websockets and WebGL. Because that is the easiest way I could find to write 3D visualizations for scientific Python. Not Python.
- JoachimS 13y agoHow very recently was this? The pyglet dev version from 2012 at least claims to be for Python3.
- JoachimS 13y agoPyGame also claims Python3 support for several releases back. I agree on the installation part though. Pyglet is really the one I've found easiest to install and get started with.
- Macha 13y agoPyglet and Pygame both support Python 3.