Imicu is a real-time hair simulation that makes use of a mass-spring based physics model to represent a single strand of hair. Each strand is composed of a number of segments (mass) joined together by an array of springs. The model is largely based on the techniques described in this paper.
- C/C++
- OpenGL
- Conjugate Gradient Method used for fast Velocity Integration
- Strand Collision Detection using KDOP Bounding Volume Hierarchy
- Object Collision Detection using a Distance Field
- GPU version written in CUDA
CPU version:
- GNU Make
- GCC
GPU version:
- CUDA v6+
Execute make
in either of the cpu
or gpu
directories. To run execute the gl
binary.
Imicu is the Zulu word for strands or threads.