Odd Spline Point counts



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

    On 15/03/2008 at 16:54, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R9-R10.5 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    I've checked and my import to Spline object creates the correct number of points on the spline object. And "Object Properties" displays the correct number of points (in agreement). But if I print out obj->GetPointCount(), I get a different value (1196 instead of 1140, for instance).

    What the ...? It is causing me grief as I am trying to animate the spline object from a file with 1140 (e.g.) points per frame. Is there a reason why the number of points differs from the number of points in the Vector* array?

    Thanks,



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

    On 15/03/2008 at 20:59, xxxxxxxx wrote:

    Found the problem - counting one more than needed from the file by not advancing the character index in the line. Never showed up as a problem before because this only occurs during the prepass for counts (counts were always a bit bigger so doesn't affect much). Now they are accurate.

    Back to work. :)


Log in to reply