A real-time SPH fluid simulation with screen space rendering running on the GPU.
The program was developed and tested on Ubuntu 22.04 LTS, using OpenGL 4.3 core and SDL 2.0.
Install the required libraries:
sudo apt install build-essential
sudo apt install libsdl2-dev
sudo apt install libglew-dev
Build the project using:
make
Build files will be places inside build/.
To clean build files (but keep the executable) run:
make clean
Run the application using
./main
- Move the mouse to orbit the camera
- Click and drag to advect the fluid
ESCcloses the applicationSPACEpauses the simulation1,2and3respawn the particles in different configurationsrtoggles fluid renderingstoggles skybox

