Skip to content

kuriishi/PositionBasedFluids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简体中文


Features

  • Real-time position-based fluid simulation
  • Real-time screen-space fluid rendering
  • Real-time water caustics using photon mapping
  • Real-time cartoon-style water and foam rendering
  • Simple GUI based on ImGui
  • Compute Shader-based workload distribution

Real-time Position-Based Fluid Simulation

Implemented based on the paper "Position based fluids" by Miles Macklin and Matthias Müller.

Derivation process: see here

pbf_1

Fluid Simulation Showcase 1

pbf_2

Fluid Simulation Showcase 2

Real-time Screen-Space Fluid Rendering

Implemented based on the paper "Screen space fluid rendering with curvature flow" by W. J. van der Laan, S. Green, and M. Sainz.

Algorithm introduction: see here

fluid_1

Fluid Rendering Showcase 1

fluid_2

Fluid Rendering Showcase 2

Real-Time Water Caustics Using Photon Mapping

Partially implemented based on the paper "Interactive image-space techniques for approximating caustics" by Chris Wyman and Scott Davis.

Algorithm introduction: see here

caustics_1

Water Caustics Showcase 1

caustics_2

Water Caustics Showcase 2

Real-Time Cartoon-Style Water and Foam Rendering

Implemented based on Liordino dos S. Rocha Neto's papers "Real-Time Screen Space Rendering of Cartoon Water" and "Cartoon Water Rendering with Foam and Surface Smoothing".

Algorithm introduction: see here

cartoon_1

Cartoon Water & Foam Showcase 1

cartoon_2

Cartoon Water & Foam Showcase 2

About

A position-based fluid simulation, rendering in screen-space with caustics and simple GUI. Cartoon-style rendering is also available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages