Skip to content

GPU-based Particle System by Computer Shader on OpenGL

Notifications You must be signed in to change notification settings

Jax922/gpu-particle-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GPU-based Particle System by Computer Shader on OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published