2M particles system (OpenGL)

Опубликовано: 17 Июнь 2026
на канале: Criss
1,926
27

Source code: https://github.com/Crisspl/GPU-partic...
The project is system of 2M textured particles. All physics is calculated on GPU with compute shader.

External projects used:
GLFW (https://github.com/glfw/glfw) - OpenGL context, window creation and input handling
flextGL (https://github.com/ginkgo/flextGL) - OGL files generation
some tga loading code by Michael Thomas Greer
fhl (https://github.com/Crisspl/fhl) - My 2.5D graphics library on which I've been learning basics of OpenGL (not finished yet, but usable). I took a few classes from there. All CPU maths (quaternion, matrix and vector calculations) are done with classes from fhl. Also delta-time measuring and OpenGL functions loading are done with fhl.

Software used:
GIMP - texture
Action! (trial as u can see by watermark :D) - recording this video