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.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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)
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to generate gameobject on the control point Yang Yi 1 10 12-10-2024, 10:14 PM
Last Post: _Aka_
  Scene 51: Dynamic track between two points wallflower6 3 15 08-19-2024, 08:18 AM
Last Post: _Aka_
  Question about Timeline support GhuaGhua 3 9 05-21-2024, 01:33 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 12 04-02-2024, 02:24 PM
Last Post: _Aka_

Forum Jump: