Bad interpolation for an animation
Hi,
I imported an animation for a character.
The character played the animation correctly, but didn't move forward.
So I inserted three keyframes, to make it move forward on the Z axis, but I noticed an anomaly.
On the displacement curve of the timeline, I recognize the three keyframes that I placed.
This curve allows me to understand this anomaly.
Between frame 50 and frame 96, the interpolation is correct (the character moves two meters on the Z axis)
But between frame 1 and frame 50, the character moves backwards on the Z axis (while it must remain at the same postion on the Z axis)
In this part that I indicated with the red arrow, we can see that DazStudio has made a negative interpolation, perhaps because it uses a Bézier curve in its algorithm.
This kind of smoothing that may be suitable for a camera is not suitable for a character.
How to proceed to avoid this kind of unsuitable interpolation ?
Comments
By default, daz uses TCB interpolation splines (tension, continuity, bias) that tries to mimic real world physic where no instant change in motion is possible. This is the method used by most 3D programs.
If you are not happy with this method, it can be changed to either "constant" interpolation where poses/position are instantly applied or "linear" interpolation.
Just select your item in the timeline, RClick>Set Key Interpolation
You can also adjust the TCB values to still have curves, but behaving in more the way you want.
Thanks
By clicking on the little T icon, I was able to correct this problem.
In addition, it is very well done, because we can choose the interpolation mode for each keyframe.
DazStudio is full of hidden tools that we discover as you go along.
DS doesn't use Bezier curves because they don't gove explicit control over the slope at the endpoints. Cubic splines, of which the Kochanek-Bartels splines that DS uses are a special case, do.
DS doesn't have the velocity handles that real animation systems do for art directing, but the T, C, and B parameters accomplish the same thing in a less inutitive way.