Skip to content

swyngaard/imicu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imicu

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.

Highlights

  • 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

screencast

Prerequisites for Building

CPU version:

  • GNU Make
  • GCC

GPU version:

  • CUDA v6+

Building and Executing

Execute make in either of the cpu or gpu directories. To run execute the gl binary.

Background

Imicu is the Zulu word for strands or threads.

About

Hair simulation using mass-spring model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published