Blender Git Loki

Git Commits -> Revision 798cdae

Revision 798cdae by Alexander Gavrilov (master)
November 6, 2018, 07:56 (GMT)
Implement an Armature constraint that mimics the modifier.

The main use one can imagine for this is adding tweak controls to
parts of a model that are already deformed by multiple other major
bones. It is natural to expect such locations to deform as if the
tweaks aren't there by default; however currently there is no easy
way to make a bone follow multiple other bones.

This adds a new constraint that implements the math behind the Armature
modifier, with support for explicit weights, bone envelopes, and dual
quaternion blending. It can also access bones from multiple armatures
at the same time (mainly because it's easier to code it that way.)

This also fixes dquat_to_mat4, which wasn't used anywhere before.

Differential Revision: https://developer.blender.org/D3664

Commit Details:

Full Hash: 798cdaeeb6927cb9ca42597fa23845eac04c02b2
Parent Commit: a817613
Lines Changed: +663, -12

1 Added Path:

/release/scripts/startup/bl_operators/constraint.py (+76, -0) (View)

13 Modified Paths:

/release/scripts/startup/bl_operators/__init__.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/properties_constraint.py (+40, -0) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+248, -0) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+11, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+8, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+12, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+1, -1) (Diff)
/source/blender/editors/animation/keyframing.c (+1, -0) (Diff)
/source/blender/editors/object/object_constraint.c (+20, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+17, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+223, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021