Sph Opengl Save

SPH simulation in OpenGL compute shader.

Project README

SPH Fluid Simulation in OpenGL

Build status

Smoothed Particle Hydrodynamics implementation in OpenGL 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)
  3. gl3w (bundled)

Short video

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

Vulkan version

https://github.com/multiprecision/sph_vulkan

Open Source Agenda is not affiliated with "Sph Opengl" Project. README Source: multiprecision/sph_opengl