Skip to content

wleuschner/pbf_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbf_tutorial

Position Based Fluids 2D Tutorial

This is the implementation of Position Based Fluids in 2D for a tutorial I made at https://wleusch.wordpress.com/position-based-fluids-2d/.

To build this implementation, Qt5, glm, OpenMP and OpenCL are required. In this implementation you can play around with borders by right-clicking into the canvas and dragging a border line. Particles can be added by left-clicking and and moving the mouse in the canvas. The step button simulates a single solver step, whereas the start/stop button continuously updates the simulation. In the view menu, the visualization of the particles pressure can be activated. Last but not least, you can play around with the parameters in the GUI.

About

Position Based Fluids 2D Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published