Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime Optimization
#1
Hello Smile

I'm trying to optimize Curvy as much as possible so it runs well also on lower-end platforms. I've been looking at the profiler and found some Curvy related updates:

Node.Update
CurvySpline.Update
SplineComputer.Update
CurvySplineSegment.Update

All together they take around 2ms on my target platform.

I don't need to update anything at runtime (except moving PathControllers). The splines don't change. Generators don't change, don't need to regenerate.

I was wondering what I could do to reduce the footprint of Curvy as much as possible for this.

What I did so far:
- I turned off Auto Refresh for all Generators.
- I have the output of Generators as Static

Can I set a Spline to not update at Runtime? Is just disabling the component an acceptable way to do that?

Any tips would be very appreciated Smile

Thank you
Michel
Reply


Messages In This Thread
Runtime Optimization - by mirts - 02-11-2021, 04:25 PM
RE: Runtime Optimization - by _Aka_ - 02-11-2021, 07:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
Wink Modifying Splines at Runtime artsung 1 7 01-30-2024, 09:40 AM
Last Post: _Aka_
  Is it possible to create a road texture at runtime? artsung 1 4 01-30-2024, 09:30 AM
Last Post: _Aka_

Forum Jump: