Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 955 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 955 Bytes

Hair Simulation with PBD

Course project for for CSCE-689 Computer Animation.

Implementation of the paper: Fast Simulation of Inextensible Hair and Fur” by Müller, et.al.

image

Prequisites

  • OpenGL 4.x
  • GLM
  • GLEW
  • Eigen

Set the following environment variables:

GLM_INCLUDE_DIR=/Users/karthik/lib/glm-0.9.9.8;GLFW_DIR=/Users/karthik/lib/glfw-3.3.8;GLEW_DIR=/Users/karthik/lib/glew-2.1.0

How to build and run

Clone the project and run the following commands in the root directory of the project:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4

To run the simulator:

./HairSim ../resources ../data