Blender Git Loki
Git Commits -> Revision 737140f
July 29, 2014, 10:37 (GMT) |
Implemented hair frame calculation using parallel transport along curve segments. This can be done on-the-fly but rotating the root hair frame incrementally according to each hair segment angle. Note: a similar approach can be found in the Blender curve code for calculating twist vectors. A novel feature of the hair frame calculation is the use of smoothed hair curves. This prevents artifacts in case of sharp segment angles by removing small-scale noise from the curve. |
Commit Details:
Full Hash: 737140f4802f13227d04c79cf82859fea755f4c6
Parent Commit: 76e8b63
Lines Changed: +264, -2
7 Modified Paths:
/source/blender/editors/space_view3d/drawhair.c (+55, -0) (Diff)
/source/blender/hair/HAIR_capi.cpp (+51, -0) (Diff)
/source/blender/hair/HAIR_capi.h (+6, -0) (Diff)
/source/blender/hair/intern/HAIR_curve.h (+27, -0) (Diff)
/source/blender/hair/intern/HAIR_math.h (+50, -0) (Diff)
/source/blender/hair/intern/HAIR_smoothing.h (+67, -0) (Diff)
/source/blender/hair/intern/HAIR_types.h (+8, -2) (Diff)
/source/blender/hair/HAIR_capi.cpp (+51, -0) (Diff)
/source/blender/hair/HAIR_capi.h (+6, -0) (Diff)
/source/blender/hair/intern/HAIR_curve.h (+27, -0) (Diff)
/source/blender/hair/intern/HAIR_math.h (+50, -0) (Diff)
/source/blender/hair/intern/HAIR_smoothing.h (+67, -0) (Diff)
/source/blender/hair/intern/HAIR_types.h (+8, -2) (Diff)