Getting tangents in COFFEE



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 07/04/2009 at 16:23, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   11 
    Platform:    Mac  ;  Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi All

    I see a CCurve::GetTangents() method, but I don't see this available for COFFEE. Is it possible to construct tangents based on the left/right time and value values of a CKey in COFFEE?

    Cheers
    Moo

    p.s. any suggested math would be appreciated :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/04/2009 at 02:45, xxxxxxxx wrote:

    I've not exactly fixed this, but moving from hermite curve to a bezier and using the control points for pints p1 and p2 produces pleasing curved that are very like the ones c4d produces. Their f-curve must be some kind of cubic curve and it is probably just a case of knowing how to generate the ax through dx coefficents. I think I will stick with the bezier until I can figure them out... Unless someone else knows?


Log in to reply