Blender Git Loki
Git Commits -> Revision d051465
July 28, 2014, 11:19 (GMT) |
Implemented stretch springs for hairs based on rest length of segments. This is still totally undamped and so will start to accumulate energy quite quickly! The default parameters (taken from the original paper) probably require some tweaking, but the overall result can only be judged once the other main forces are implemented (in particular damping). |
Commit Details:
Full Hash: d051465fb40373ee51b1bc2a609b54ecd80c72a9
Parent Commit: 0aa1071
Lines Changed: +149, -38
1 Added Path:
/source/blender/hair/intern/HAIR_math.h (+100, -0) (View)
10 Modified Paths:
/source/blender/blenkernel/intern/hair.c (+2, -2) (Diff)
/source/blender/hair/CMakeLists.txt (+1, -0) (Diff)
/source/blender/hair/HAIR_capi.cpp (+5, -1) (Diff)
/source/blender/hair/intern/HAIR_curve.cpp (+3, -2) (Diff)
/source/blender/hair/intern/HAIR_curve.h (+2, -1) (Diff)
/source/blender/hair/intern/HAIR_smoothing.h (+1, -4) (Diff)
/source/blender/hair/intern/HAIR_solver.cpp (+31, -4) (Diff)
/source/blender/hair/intern/HAIR_solver.h (+2, -1) (Diff)
/source/blender/hair/intern/HAIR_types.h (+0, -22) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+2, -1) (Diff)
/source/blender/hair/CMakeLists.txt (+1, -0) (Diff)
/source/blender/hair/HAIR_capi.cpp (+5, -1) (Diff)
/source/blender/hair/intern/HAIR_curve.cpp (+3, -2) (Diff)
/source/blender/hair/intern/HAIR_curve.h (+2, -1) (Diff)
/source/blender/hair/intern/HAIR_smoothing.h (+1, -4) (Diff)
/source/blender/hair/intern/HAIR_solver.cpp (+31, -4) (Diff)
/source/blender/hair/intern/HAIR_solver.h (+2, -1) (Diff)
/source/blender/hair/intern/HAIR_types.h (+0, -22) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+2, -1) (Diff)