Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mapping of huge rail tracks(80miles)
#2
Hi,

First of all, read these two pages
https://curvyeditor.com/documentation/generator/optimizing_performace  (this one is about curvy generators)
https://curvyeditor.com/documentation/splines/cache?s[]=performance  (this one is about splines)

Then (and this is maybe something you are already aware of) the first thing to do if you want to optimize is to profile. Unity included a decent profiler https://docs.unity3d.com/Manual/Profiler.html
Also, if you use a recent Unity version you can download this useful package too https://blogs.unity3d.com/2019/05/13/introducing-the-profile-analyzer/

Then, to answer your specific questions:
  • It is best to generate a mesh from a long spline than generating multiple meshes from small splines and combining them.
  • If needed, Curvy can serialize and deserialize splines from/to Json. More about it here: https://curvyeditor.com/documentation/import_export (functionality available through the API too)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Mapping of huge rail tracks(80miles) - by hu_man - 05-22-2019, 09:15 AM
RE: Mapping of huge rail tracks(80miles) - by _Aka_ - 05-22-2019, 02:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  3D Platformer Rail Grind Asarge 1 6 07-19-2023, 09:12 AM
Last Post: _Aka_
  Distorted rail lines when copy-pasting generator KennUnity3D 2 10 10-10-2022, 06:55 PM
Last Post: KennUnity3D
  Is curvyspline a good solution for a 2D rail grinding game? bazz_boyy1 2 8 03-01-2022, 11:49 AM
Last Post: _Aka_
  Train tracks with transparent middle? jh092 4 2,250 07-03-2020, 07:13 PM
Last Post: _Aka_

Forum Jump: