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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 1 2 8 hours ago
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 1 1 9 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 9 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: