Physics simulation


Physics simulation

Here I showcase some physics simulation I’ve been playing with in the past years.

Smoothed particle hydrodynamics

Implementation of SPH, all on the GPU with compute shaders in Unity.

Next step will be to render it properly, I’m thinking implementing this paper

Bullets

I’ve integrated Bullet physics engine in my toy engine.

Here are a few features that I implemented :

Others

I’ve started to implement position based dynamics in Unity on the GPU.

I’ve also played a bit with implementing rigid body dynamics on the GPU using this paper

2D Fluid simulation on the GPU from this paper :

Vizualisation of the velocity field

Advection of a dye