Blender Git Loki

Git Commits -> Revision ea1771e

January 19, 2015, 17:06 (GMT)
Simple initial implementation of angular bending springs.

These are much better suited for creating stiff hair. The previous
bending springs are based on "push" type spring along the hypothenuse
of 3 hair vertices. This sort of spring requires a very large force
in the direction of the spring for any angular effect, and is still
unstable in the equilibrium.

The new bending spring model is based on "target" vectors defined in a
local hair frame, which generates a force perpendicular to the hair
segment. For further details see
"Artistic Simulation of Curly Hair" (Pixar technical memo #12-03a)
or
"A Mass Spring Model for Hair Simulation" (Selle, Lentine, Fedkiw 2008)

Currently the implementation uses a single root frame that is not yet
propagated along the hair, so the resulting rest shape is not very
natural. Also damping and derivatives are still missing.

Commit Details:

Full Hash: ea1771e1c516d798f96556dd78ca056eee3a1eba
Parent Commit: ff94fc8
Lines Changed: +125, -33

5 Modified Paths:

/source/blender/blenkernel/BKE_cloth.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+62, -30) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+13, -1) (Diff)
/source/blender/physics/intern/implicit.h (+4, -0) (Diff)
/source/blender/physics/intern/implicit_blender.c (+43, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021