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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question question about the local position brucezhu99 4 241 09-18-2021, 12:02 PM
Last Post: _Aka_
  Control of an object that uses a spline ricke 5 318 09-16-2021, 10:30 AM
Last Post: _Aka_
  Split existing segment(s) with additional control points KStress71 1 148 09-09-2021, 05:46 PM
Last Post: _Aka_
  Noob Question Wyldhunt 5 361 09-04-2021, 06:53 PM
Last Post: _Aka_

Forum Jump: