BFU-Graphics / PositionBasedDynamics

Develop " Position Based Dynamics " based projects from scratch, include rigid body, deformables(cloth & soft body) and fluid(PBF).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PositionBasedDynamics

Cmake Build Cmake Build Cmake Build

Introduction

PositionBasedDynamics is a basic simulation framework to facilitate developing " Position Based Dynamics " based projects from scratch.

  1. PositionBasedDynamics need no external dependencies but self-contained libigl, which is a simple C++ geometry processing library, and would be automatically included once build.
  2. PositionBasedDynamics separates utterly the rendering part and the simulation part on developing.

Build Instruction

For all platforms:

  1. Clone PositionBasedDynamics, or simply download this repo.
  2. cmake, and build

Gallery

Deformable Material

Rigid Body Dynamics

Fluid Dynamics

comming soon

Feature

Cloth

  • distance constraint
  • dihedral constraint
  • penetration constraint

Rigid Body

  • global BVH collision detection
  • rigid-rigid contact constraint
  • rigid-particle contact constraint

About

Develop " Position Based Dynamics " based projects from scratch, include rigid body, deformables(cloth & soft body) and fluid(PBF).

License:Mozilla Public License 2.0


Languages

Language:C++ 98.8%Language:CMake 1.2%