Skip to content

cdleu430/HairSim

Repository files navigation

Leu Hair Simulation

This is a simple hair simulation, done using mass-springs and RK4 integration.

Simply the run the program and eveything should either be intuitive or explained by the UI.

Things you can change that the UI doesn't include:

Amount follow hairs are spread out from the guides: In NGLScene.cpp -> initialGL, change the HI and LO variables in the create hair section, they should be 2 values that are slightly more or less than 1

Simpler collisions with scalp: In GuideHair.cpp -> updateJoints, change complexCollision to simpleCollision

How far off the scalp hairs rest: In GuideHair.cpp -> updateJoints scalp penetration section, change .05 to something else

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published