Blender Git Commit Log

Git Commits -> Revision 67cec97

Revision 67cec97 by Sergey Sharybin (master)
February 15, 2018, 10:53 (GMT)
Simple hair children: Make twist affected by vertex group

The idea is to give a control over direction of twist, and maybe amount of
twist as well. More concrete example: make braids on left and right side of
character head to be twisting opposite directions.

Now, tricky part: we need some negative values to flip direction, but weights
can not be negative. So we use same trick as displacement map and tangent normal
maps, where 0.5 is neutral, values below 0.5 are considered negative and values
above 0.5 are considered positive.

Commit Details:

Full Hash: 67cec97387965009dfaa57f7f4c8ab948e048e70
Parent Commit: ffde74a
Lines Changed: +36, -2

7 Modified Paths:

/release/scripts/startup/bl_ui/properties_particle.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/particle_child.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+15, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021