multiprecision / sph_vulkan

SPH simulation in Vulkan compute shader.

Home Page:https://github.com/multiprecision/undergraduate_thesis/blob/master/undergraduate_thesis.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPH Fluid Simulation in Vulkan

Build status

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

  1. Install Visual Studio 2022 with "Desktop development with C++" workload and "Windows 11 SDK (10.0.22000)" component.
  2. Make sure to have the latest graphics driver installed.
  3. Install the latest Vulkan SDK (version 1.3) and select GLM during installation.
  4. Install Python 3 to run shader compilation script.
  5. Run compile.py to compile shaders.
  6. Open sph.sln, build, and run.

Third-party libraries

  1. Vulkan SDK (GLM is bundled)
  2. GLFW (bundled in the third_party folder)

Short video

https://www.youtube.com/watch?v=4LnaZmim81k

OpenGL version

https://github.com/multiprecision/sph_opengl

About

SPH simulation in Vulkan compute shader.

https://github.com/multiprecision/undergraduate_thesis/blob/master/undergraduate_thesis.pdf

License:MIT License


Languages

Language:C++ 94.6%Language:GLSL 3.9%Language:Python 0.8%Language:PowerShell 0.7%