Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control Points vs. actual spline points
#1
Rainbow 
The documentation and function calls all involve adding control points, but in Catmull-Rom the control points and the spline points that the curve passes through (frequently called 'knots') are separate and normally not collocated.  Mixing the meaning of the two can cause weirdness like kinks and twists, and it looks from the demos and the API like maybe that distinction is not made clear.

It would be good if you could add knots OR control points to the spline (control points are derivable from two/three knots), because although control points are maybe easier from a calculation point of view, the knots themselves are the points through which you expect the spline to travel.
Reply
#2
All the supported spline types have their curves go through the Control Points, so in Curvy there is no actual need to differentiate between CPs and knots, and I guess renaming CPs would confuse a lot more people...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Generated mesh using bezier spline is not following the path accurately processor 3 136 08-25-2020, 04:39 PM
Last Post: _Aka_
  Best practice when Instantiating game object with spline GenericJoe 1 140 08-22-2020, 02:40 PM
Last Post: _Aka_
  How to calculate curvature of spline jh092 3 267 08-01-2020, 04:51 PM
Last Post: _Aka_
  Simple Spline Extrusion GelsonBieber 3 527 07-29-2020, 02:34 PM
Last Post: _Aka_

Forum Jump: