A series of examples that use Pygame, PyOpenGL and compute shaders to implement realtime raytracing!
Who says we can't raytrace in Python? These examples start from drawing our first sphere on the screen, and progress through to more advanced techniques, ending with a reasonably sophisticated rasterizer/raytracer hybrid which gives us beautiful lighting without compromising on performance. All examples are in the github repo, for further explanation please refer to my youtube playlist.
Realtime Raytracing 1.0 — 2 Jul, 2022