cubic beziers?



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

    On 23/03/2006 at 10:58, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.5 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    could anybody shed some light on cinema's splines? i'm trying to write a spline exporter (via ASCII export from structure view). i only need the bezier spline type.

    everything's working fine but when i try to draw the curves with the PolyBezier function (win32 api) or even a low-level cubic bezier drawing algo (DeCasteljau), these curves don't match the cinema ones. they are close, but it looks like cinema's tangents are too short compared to generic cubic beziers.

    are cinema bezier splines not equal to cubic beziers??

    thanks in advance for any information!



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

    On 23/03/2006 at 14:26, xxxxxxxx wrote:

    never mind, i found the solution. in case it might be useful for somebody: the coordinates of cinema's tangent control points have to be multiplied by exactly 1.3333333 (4/3) in order to equal 'regular' cubic beziers.


Log in to reply