Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best practice for multiple splines
#1
Hello!

I need to extrude meshes out of multiple splines using Generators. The game already joins splines that can be joined but I feel like the performance could still be enhanced.

Is it better to use one generator per spline or one generator for like 5 splines or one generator for all splines? 

Also when using NOT Auto Refresh, does the Curvy Splines or Generator have any impact on performance after everything was extruded?

Thanks!
Reply
#2
Hi,

When Auto Refresh is not set, the generator has a minor overhead because the Update function gets called anyways, but that function does vurtually nothing in this case. So it should not be an issue.

Having 5 extrusions in one Generator is slightly better than 1 extrusion per generator, but what makes generators slow lays elsewhere: it's the generation of the mesh data itself.

Read this page if not done already, it might help
https://curvyeditor.com/documentation/ge...erformance

In general, I would advise you to profile the editor to see what takes time. See the Unity profiler documentation to learn more about this.

If after trying all of this you can't enhance the performance, you could send me your scene and I might figure out something that can be improved further

Have a nice day
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
Hi,

ok, thanks for your reply!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Placing multiple objects on multiple splines digot 4 220 03-02-2020, 08:49 PM
Last Post: digot
  Moving multiple controllers at once Lupp_ 23 1,832 02-10-2020, 11:19 PM
Last Post: _Aka_
  Bending meshes along splines digot 2 322 01-30-2020, 02:15 PM
Last Post: digot
  Parallel Splines ATHellboy 5 540 01-28-2020, 03:36 PM
Last Post: _Aka_

Forum Jump: