sph_opengl
sph_opengl copied to clipboard
SPH simulation in OpenGL compute shader.
SPH Fluid Simulation in OpenGL Compute Shader
Smoothed Particle Hydrodynamics implementation in OpenGL compute shader. Licensed under MIT License.
Quickstart guide
- Install Visual Studio 2017.
- Install the latest graphics driver with OpenGL 4.6 support.
- Install Vulkan SDK to compile GLSL shaders into SPIR-V format.
- Install Python 3 to run shader compilation script.
- Run shader/compile.py to compile shaders.
Third-party libraries
- GLEW/OpenGL Loader https://github.com/nigels-com/glew
- GLFW https://github.com/glfw/glfw
- GLM https://github.com/g-truc/glm
Video
https://www.youtube.com/watch?v=4LnaZmim81k
Vulkan version
https://github.com/multiprecision/sph_vulkan