Files
test2/source/blender/blenkernel
Alexander Gavrilov de1d3e5f5f NLA: implement a new blending mode that intelligently combines actions.
The existing Add and Multiply blending modes have limited usability,
because the appropriate operation for meaningfully combining values
depends on the channel. This adds a new mode that chooses the operation
automatically based on property settings:

- Axis+Angle channels are summed, effectively averaging the
  axis, but adding up the angle. Default is forced to 0.

- Quaternion channels use quaternion multiplication:

  result = prev * value ^ influence

- Scale-like multiplicative channels use multiplication:

  result = prev * (value / default) ^ influence

- Other channels use addition:

  result = prev + (value - default) * influence

Inclusion of default in the computation ensures that combining
keyframed default values of properties keeps the default state,
even if the default isn't 0 or 1.

Strips with this mode can be keyframed normally in Tweak mode,
except that for quaternion rotation keyframing always inserts
all 4 channels, and the channel value sliders on the left side
of Graph/Action editors won't insert keys without Auto Key.
Quaternion keys are also automatically normalized.

Differential Revision: https://developer.blender.org/D4190
2019-01-14 19:14:28 +03:00
..
2018-12-20 17:34:30 +11:00
2018-06-25 12:06:51 +02:00
2018-10-15 18:12:14 +11:00
2018-09-26 17:49:40 +02:00
2018-06-29 09:23:51 +02:00
2018-09-10 14:05:33 +10:00
2018-06-29 09:23:51 +02:00
2019-01-03 12:25:37 +11:00
2018-11-08 08:02:09 +11:00
2018-06-29 09:23:51 +02:00
2018-11-21 17:56:10 +11:00
2018-06-29 09:23:51 +02:00
2018-09-02 18:28:27 +10:00
2018-07-04 11:22:57 +02:00
2018-10-17 12:43:41 +02:00
2018-06-29 09:23:51 +02:00
2018-11-29 09:01:03 +11:00