235 points · by dsego · 7y ago · 24 comments
Glumpy, which is used in this tutorial -https://glumpy.github.io/, is IMO the best way to work through https://thebookofshaders.com/ in python for a deeper understanding of fragment shaders.
Right now I'm trying to convert a ROOT based 3D event display to a blender plugin using python. Very curious to hear about the work and resources of others also doing sciviz work.
You can also fork the repo, enable Github Pages, and then access it at yourgithubname.github.io/python-opengl/book.html
I just made a Github issue suggesting to the author, if he's not opposed to using Github pages himself: https://github.com/rougier/python-opengl/issues/38
“Last point, I wrote the book in a kind of modern Kerouac's style such that you can download it once and continue reading it offline. Initial loading may be slow though.”
I do think the entire book is on a single HTML page
Since it's deprecated, is there something else I should be using?
Alternatives that come to my mind are GLFW and SDL and you can also grab ImGUI for a nice, easy to use UI library that covers simpler use cases very well. They all deviate from how you use GLUT, but they aren't substantially harder to use.