Posts: 44
Threads: 16
Joined: Nov 2018
Hi I'm just wondering, does having more control points have a performance hit ( bezier spline ). So if I had a bezier spline but one section of it was straight and therefore would only need 2 control points would it make any difference if it had say 30 control points.
Posts: 2,124
Threads: 93
Joined: Jun 2017
Hi,
It depends on what you do with that spline. In some situations, its beneficial to have lower number of CP, and in some others it is better to subdivide your spline and then work on the segment you are interested in. But In general, it's better to have lower number of CPs. The change from 30 to 2 would be quite insignificant though. The change can start to be noticeable if you reduce your CPs number by at least 2 orders of magnitude.
All what I said is a generality, and depends on what you do, what hardware runs your application, etc. My advise would be to not care about the number of CPs unless the profiler says otherwise.
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 44
Threads: 16
Joined: Nov 2018
Posts: 2,124
Threads: 93
Joined: Jun 2017
You are welcome.
Also, next update will have some optimizations that will make the number of CPs even less relevant (though not irrelevant)
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.