• This repository has been archived on 02/Jun/2021
  • Stars
    star
    105
  • Rank 326,337 (Top 7 %)
  • Language
    C++
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Implementation of Macklin, Miles, and Matthias Müller. "Position based fluids.". Visual Studio 2015 + CUDA 8.0

PBF

Goal

  • Implement both the CPU and GPU version of the Position Based Fluid

Current Progress

  • CPU impl
  • GPU impl
  • Customizable particle system
  • Fluid Rendering (not particle rendering)
  • Code refactoring
  • Optional build on GPU impl

Some Images

Wave simulation using ~18,000 particles on NVIDIA GeForce GTX 960M.

OpenGL coordinate system reference

Dependency

  • OpenGL
  • glfw3
  • GLEW
  • glm (header-only library)
  • CUDA 8.0 (this should be optional)

Project Setup

  • All the third party dependency headers should be inside C:\ThirdParty\Include.
  • All the third party dependency libraries should be inside C:\ThirdParty\Libs.

References