Blender Git Loki

Git Commits -> Revision 1e8f11c

September 19, 2014, 09:15 (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: 1e8f11c47311f672a45e0fe9a281ff6532916f59
Parent Commit: 0416eda
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