Blender Git Commit Log

Git Commits -> Revision 6e505a4

Revision 6e505a4 by Cody Winchester (master)
March 27, 2020, 11:25 (GMT)
Surface Deform modifier: add vertex group and strength control.

This commit aims to add functionality to the surface deform modifier that
gives more control and allows it to work better with the modifier stack.
* Maintains compatibility with older files. The default settings keep it
so that the whole object is bound and vertex coordinates get overwritten
as the modifier currently does.
* Turns the deformations from an absolute vertex coordinate overwrite into
an additive offset from the vertex location before the modifier to the
resulting bound deformation. This gives the ability to control the
strength of the deformation and mix the deformation of the modifier
with the modifier stack that comes before it.
* Also adds in a vertex group with the invert option. This is applied after
the bind deformation is added. So the whole object is still bound to target,
and the vertex group filters afterwards what parts get affected.
I experimented with a version to only binds the geometry weighted to the
vertex group, but that would break compatibility with old files.
I may bring it in later as a separate option/mode for the surface deform.

With several fixes from @mont29.

Reviewed By: mont29

Differencial Revision: https://developer.blender.org/D6894

Commit Details:

Full Hash: 6e505a45a1167537e7628e3feb31893cf8898ec8
Parent Commit: 1bb7d42
Committed By: Bastien Montagne
Lines Changed: +143, -16

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_modifier.py (+15, -4) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+25, -2) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+99, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021