sph_vulkan
sph_vulkan copied to clipboard
SPH simulation in Vulkan compute shader.
SPH Fluid Simulation in Vulkan
Smoothed Particle Hydrodynamics implementation in Vulkan compute shader. Licensed under MIT License.
Further reading
https://github.com/multiprecision/undergraduate_thesis/blob/master/undergraduate_thesis.pdf
Quickstart guide
- Install Visual Studio 2022 with "Desktop development with C++" workload and "Windows 11 SDK (10.0.22000)" component.
- Make sure to have the latest graphics driver installed.
- Install the latest Vulkan SDK (version 1.3) and select GLM during installation.
- Install Python 3 to run shader compilation script.
- Run compile.py to compile shaders.
- Open sph.sln, build, and run.
Third-party libraries
Short video
https://www.youtube.com/watch?v=4LnaZmim81k
OpenGL version
https://github.com/multiprecision/sph_opengl