Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.91 KB

README.md

File metadata and controls

36 lines (30 loc) · 1.91 KB

Introduction

This is a GPU-based particle system, which enables the simulation of fluid, fire, and collision phenomena. The fluid simulation employs the Smoothed Particle Hydrodynamics (SPH) method [7], while the rendering of a 3D model is achieved through GPU Instancing using particles. For a visual representation, please visit this YouTube link https://www.youtube.com/watch?v=LmE4m8dSb48.

Techniques

  • Computer Shader
  • Shader Storage Buffer Object (SSBO)
  • GPU Instancing
  • Smoothed Particle Hydrodynamics(SPH)

Environment

This project is developed using C++(C++ 20), with a dependency on OpenGL 4.6. It utilizes the itugl package.

It can not run in MacOS because of the Compute Shader. Please goto the https://www.khronos.org/opengl/wiki/Compute_Shader to get more information about Compute Shader.

Execution Instructions

You can build this project using cmake. Follow the steps below:

  1. Navigate to the source code directory.
  2. Create a new directory named build.
  3. Move into the build directory.
  4. Execute the command cmake ...

REFERENCE