Blender Git Loki
Git Commits -> Revision 1e8f11c
Revision 1e8f11c by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) 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)
/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)