On 19/03/2015 at 06:32, xxxxxxxx wrote:
Hi,
I've been working with C4D R15 doing some Python programming to create small tools for our specific applications, and have hit a wall with regards to the f-curves.
In an ideal world, I want to know the exact mathematical function that defines any given f-curvewithin C4D in order to do further derivations with it ( i.e. to obtain exact instantaneous velocity/acceleration ).
My colleague who is very knowledgeable in mathematics/physics combined with Python and C has created a piece of code that successfully re-creates the Bezier f-Curves shown in the open-source program Blender. ** ** This model matches the values in Blender exactly, but is still off from the C4D f-curve values to varying degrees, depending on the severity of the curvature.
So the questions I have are these:
How exactly are the splines used for C4D f-curve calculated differently than a standard Bezier? Are they in fact Nurb splines?
This is my first post on any forum, so thank you in advance for your patience and help!
--AE