Code Monkey home page Code Monkey logo

multiprecision / sph_opengl Goto Github PK

View Code? Open in Web Editor NEW
67.0 7.0 9.0 8.54 MB

SPH simulation in OpenGL compute shader.

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

License: MIT License

C++ 3.37% GLSL 0.43% Python 0.09% C 96.03% PowerShell 0.08%
smoothed-particle-hydrodynamics computational-fluid-dynamics university-project compute-shader opengl glsl fluid-simulation parallel-computing college-project

sph_opengl's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.