2
$\begingroup$

I am writing a custom import/export addon for a model file format that supports animations for cameras with cubic hermite and cubic bezier interpolation. Is it somehow possible to emulate the same interpolation effect using Blender's FCurves which appear to only support quadric bezier interpolation?

$\endgroup$
0
+50
$\begingroup$

Blender also supports cubic (3rd order) curves.

Hermite curves can be converted into Bézier curves with a bit of math. From the two control points and the derivative at those points you can compute the two other points to complete the Bézier curve. More info can be found at https://pomax.github.io/bezierinfo/#catmullconv

| improve this answer | |
$\endgroup$
  • $\begingroup$ Do you mean that it supports cubic bezier for FCurves in Graph Editor? I don't see that option. When I turn on bezier interpolation, those curves look quadric to me. $\endgroup$ – D. Skarn Jun 6 '18 at 11:29
  • $\begingroup$ With a quadratic curve, the 'outgoing' slope of one point also determines the 'incoming' slope of the next point. Since the slopes of the points are independent, it follows that the curves are (at least) cubic. You don't see the option because there is no "on" or "off" for this; the Bézier curves are always cubic. $\endgroup$ – dr. Sybren Jun 6 '18 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.