Gpu Physics #1: 80k rigid particles

Subscribers:
7,600
Published on ● Video Link: https://www.youtube.com/watch?v=ImNivYDKDr4



Duration: 1:49
2,017 views
80


The first demo in what will hopefully become a series of experiments on GPU physics. This demo has almost no smart optimizations, very simple Jacobi solver and grid-based spatial hashing for collisions. Very simple memory layout, very simple solver, it's just a start after all.

I can't help but get astonished every time I visually represent how powerful the GPU is. Achieving performance anywhere near this level is out of the question on CPU, but on GPU it's easy.

Physics is simulated and rendered with my LegitEngine https://github.com/Raikiri/LegitEngine. It's written in C++ from scratch, uses vulkan+glfw, shaders are glsl.