Blender Git Loki

Git Commits -> Revision 7a7778d

Revision 7a7778d by Lukas Toenne (master)
January 20, 2015, 08:30 (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: 7a7778d003d1a31fb4eb3411e1b0512981cc4614
Parent Commit: 86a4da1
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