Blender Git Loki

Git Commits -> Revision e93ec66

February 23, 2015, 09:03 (GMT)
Experimental hair shape key control with textures.

Rationale for this feature goes like this:

In meshes the influence of shape keys can be limited to certain vertex
groups. This allows shapes to be applied selectively on parts of the
mesh and possibly even be animated by changing vertex group weights over
time.

With hair shape keys there is no equivalent feature to vertex groups
(defining a vertex group on hair keys would be rather tedious anyway).
It would be possible to use the emitter mesh vgroups to assign a
per-strand blending weight, but since hairs usually are much more dense
than mesh vertices this would sacrifice accuracy.

A better option is to allow textures to influence the hair shape key
blending. For this purpose there is now a new texture influence.
A shape key name needs to be assigned to the MTex in addition to a
factor. It will then act as a multiplier for the shape key weight,
i.e. the base shapekey value still works as an overall control.

Commit Details:

Full Hash: e93ec66dd0d61f42cf2ba0551c82dfcf4aa8ff5f
Parent Commit: bdf3927
Lines Changed: +205, -73

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_texture.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+76, -17) (Diff)
/source/blender/blenkernel/intern/particle.c (+100, -50) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+16, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021