Academic prototyping project for soft body cutting using projective dynamics. Different constraint types and cutting methods will be implemented using Eigen for matrix computations and libigl for visualization and user interaction.
- C++17 compiler
- libigl
libigl is included in the project using CMake's FetchContent and pulls in Eigen, glfw, Dear ImGui and TetGen with it.
# Download repository
$ git clone https://github.com/Q-Minh/projective-dynamics
$ cd projective-dynamics
# Configure and build project
$ cmake -S . -B build
$ cmake --build build --target pd --config Release
# Run the program
$ ./build/Release/pd.exe