-
-
Notifications
You must be signed in to change notification settings - Fork 3
OpenGL is dying #3
Copy link
Copy link
Open
Labels
🎨 renderAnything to do with rendering (windows, physics, etc.)Anything to do with rendering (windows, physics, etc.)💡 ideaA hair-brained conceptA hair-brained concept
Metadata
Metadata
Assignees
Labels
🎨 renderAnything to do with rendering (windows, physics, etc.)Anything to do with rendering (windows, physics, etc.)💡 ideaA hair-brained conceptA hair-brained concept
My current use of pyglet and moderngl was always a hack and needs to end. There are, thankfully, now some decent alternatives to investigate.
The top candidate for replacing OpenGL has to be WebGPU – which thankfully isn't just for the web. The rust-based wgpu-native library provides a multi-platform translation API that, importantly for me, maps to Metal in macOS. There appear to be solid Python bindings available for this library.
I'm still going to need a windowing layer and GLFW may be the thinnest/simplest cross-platform API for this that is supported by wgpu-py.