Cubism Animator‎ > ‎TIPS‎ > ‎

02. More About Fade

This page contains more information about Fade and it's functions

    Motion overlap during a Fade event

There are different possibilities for overlap when switching motions that have a fade effect applied to them

[1]Motions that play one after the other

When motion A is finished, motion B starts. there is no overlap in this situation

[2]Motions that overlap the end of A with the beginning of B

Even when two motions have different Fade settings set to them, the effect will start at the same time.

One the Fade time at the beginning of Motion B ends, it will control the model at 100% the value regardless of how long the end-fade-time on MotionA was set to be.

[3]Loop playback of the same motion (with Fade)

Looping a motion with fade means it will play till the end and then return to the beginning, slightly affecting the new beginning with inherited values of the end. It may not appear exactly as it would if looped in Animator.

[4]Loop playback of the same motion (Without Fade)

Similar to how it will appear in the Animator, looping a motion means it will play till the very last keyframe before looping to the beginning. Fade has very little effect here.

    How do I adjust the Fade times to achieve the desired effect?

As explained in point [2] above,
The fade event at the beginning of MotionB takes precedence over the fade event at the end of motion A. To have the end of motion A be played till the end, give more fade time at the beginning of MotionB as to not cut it off.

For example, when switching poses, it is better to have it change gradually with a fade effect. So add the pose switching values to Motion B and allow a longer fade time, instead of adding the value to the end of Motion A.

    Universal Fade VS Parameter-spicific Fade

Universal Fade affects all the parts in the timeline, and separate Fade times can be set to each individual Parameter manually.
Parameter-spicific Fade times have a higher priority than the Universal Fade time.

    Fade Priority

Unless otherwise spicified, the Fade effect priority will be applied in the following order

↑High Priority

PriorityKind of FadeNotesUsing SDK1.0Using SDK2.0
1 Parameters fade (mtn described)SDK2.0. There is no way to specify from the program (2014/09/18)X (ignored)O
2The entire fade (program specified)SDK1.0. values set in model.json.OO
3 The entire fade (mtn described)SDK2.0.X (ignored)O
4 The entire fade (default)SDK1.0. If there are no other settings, this value is applied.OO

↓ Low Priority

    Calculating Fade (Reference)

A parameter going through a Fade event is comprised of three values: The value of the Parameter being faded out, the value of the Parameter being faded in, and the previous Parameter being eased into action.

MotionA going through fade-out, Parameters are affected a%
MotionB going through fade-in, Parameters are affected b%
Previous Parameter effect will be L

The calculated value of a Paramter going through Fade is = B * b% + { A * a% + L * (100-a)% } * (100-b)%