Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control points / performance question
#1
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.
Reply
#2
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.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Ok thanks
Reply
#4
You are welcome.
Also, next update will have some optimizations that will make the number of CPs even less relevant (though not irrelevant)
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 87 12-11-2025, 08:52 AM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 1,498 03-18-2025, 10:11 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 2,462 02-04-2025, 09:31 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,269 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: