Cubic Spline Question



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

    On 03/04/2012 at 19:49, xxxxxxxx wrote:

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

    ---------
    I have a cubic spline and I would like to find random points along the spline to place objects.  Does anyone know how I would calculate random points along my cubic spline?

    Thanks,

    Shawn



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

    On 03/04/2012 at 21:48, xxxxxxxx wrote:

    just call GetSplinePoint with a random Real between 0 and 1.
    if you have multiple segments in the spline you can also select a random segment



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

    On 04/04/2012 at 08:53, xxxxxxxx wrote:

    Perfect!  Worked like a charm.  Thanks Affa!
     
    ~Shawn


Log in to reply