Skip to content

HinaPE/HinaPE

Repository files navigation

HinaPE is not a Physics Engine

Ubuntu Build macOS Build Windows Build

BREAKING: 🎉 HinaPE reached 1000 commits! 🎉

Introduction

HinaPE is a cross-platform and portable research-oriented physics-based animation infrastructure. HinaPE is a recursive acronym for "HinaPE is not a Physics Engine".

Gallery

Kasumi Kasumi Kasumi Kasumi

Build Instruction

Prerequisites & dependencies:

  • C++ 20
  • Cmake > 3.24
  • intel tbb: we use intel tbb for parallel computing, so make sure you have installed it.

Built-in dependencies

Optional dependencies:

  • OpenVDB: sparse volumetric data
  • CGAL: geometry processing

First recursively clone this repo and all submodules.

git clone --recursive https://github.com/HinaPE/HinaPE.git
cd HinaPE

For all platform (MacOS, Ubuntu, Windows)

cmake -S . -B Build
cmake --build Build --config Release

Features

Physics Features

  • Fluid Engine
    • SPH solver
    • PciSPH solver
    • PBF solver
    • Flip solver
    • PIC solver
    • APIC solver
    • Level set solver
    • MPM snow
  • Cloth Engine
    • PBD/XPBD solver
    • FMS/PD solver
    • FEM solver
    • powered by NVCloth
  • Rigidbody Engine

Rendering Features

  • Backends: HinaPE is designed with OpenGL & Vulkan & DirectX 12 & Apple Metal backends.
  • Rendering Engine: Built-in PBR renderer & GLSL pathtracer.

Dev Instruction

You need to first recursively update all submodules

git submodule update --init --recursive
git submodule foreach --recursive git pull origin master
git submodule foreach --recursive git checkout master