Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connections for large splines
#1
I'm using long Catmull Rom splines (500m - 800m)  to create rail track models and find that whenever I try to connect end CPs the performance slows down terribly (42 FPS down to 0.8 FPS). I've tried to segment the longer splines into short pieces with only 3 or 4 CPs but it helps only a little (2 FPS). I've also tried disabling Check Transform which doesn't make a great difference. If I use linear splines, however, the problem disappears.

Is there a best practice for using connections? Is it generally best to connect several short splines, or is it not recommended to use long spines?
Reply
#2
Hi,
Can you please send me a scene where I can witness the frame rate drop?
If not possible, please tell me:
  1. How many splines do you have in your scene
  2. How many control points per spline
  3. What are the caching parameters of your splines
  4. What does your game do with your splines (using Spline Controllers? Curvy Generator? ...)
  5. If the issue happen also for Bezier Splines
  6. Any other useful information
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
(01-01-2019, 11:09 PM)DekoGames Wrote: Is there a best practice for using connections? Is it generally best to connect several short splines, or is it not recommended to use long spines?

In general, it's best to have one long spline rather than a lot of small ones. Same about segments within a spline. Then, there are some special cases where the opposite is true.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#4
Thanks, the project file is big so I'll need to strip it down to the relevant parts and send an example. 

A small update -- I found that I don't have the problem when connecting one spline end to the middle point of another. In other words, it seems that connecting two long splines end-to-end is causing the slowdown.
Chip
Deko Games
dekogames.com
Reply
#5
After exchanging with DekoGames via mail, we found that the issue was due to a bug in an old Curvy version, which was fixed several versions ago. Users with a recent version should not encounter this bug.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#6
(01-03-2019, 11:33 AM)_Aka_ Wrote: After exchanging with DekoGames via mail, we found that the issue was due to a bug in an old Curvy version, which was fixed several versions ago. Users with a recent version should not encounter this bug.

Thank you for your feedback -- I have updated to the current version and performance is much better! I appreciate the fast response and guidance. Smile
Chip
Deko Games
dekogames.com
Reply
#7
You are welcome
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spawn at start/ end of splines rickgplus 4 467 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 240 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 605 02-26-2025, 09:40 AM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 670 02-14-2025, 07:11 AM
Last Post: vatan

Forum Jump: