Skip to content

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

License

Notifications You must be signed in to change notification settings

BFU-Graphics/PositionBasedDynamics

Repository files navigation

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).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published