Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Frequent runtime updates of Curvy Generator for simulating plant growth using Splines
#4
(10-01-2020, 06:56 PM)_Aka_ Wrote: Also, I am assuming the 2ms per generator per frame figure is measured in editor, right? How are the performance in a build? A lot of perfs are used by the editor code of Curvy Splines, code that don't run in a build.

Hi thanks for the quick reply. Yes I've done all my profiling in the Editor during Playmode, have not tested during a build. As far as changes to Curvy, all I've done is optimize updating the CSCircle a bit, as many spline properties are really not necessary for performing shape extrusion.

What I am trying to find out is whether I will need to rewrite many of the modules in Curvy (and potentially implement my own extrusion/mesh creation routine inspired by and borrowing Curvy code without using the Generator), or whether I can apply relatively simple changes for my use-case while still maintaining the Generator and all of the nice editor functionality that comes with it. 

I think a lot of savings can be made with the Variable Mix Shapes Modifier since I can assume my inputs shapes will always be a simple CSCircle, but I am still not sure which Spline properties can be ignored while still ensuring Shape Extrusion works properly. I may also need greater control over mesh creation to meet my runtime rendering goals. I am willing to implement a lot of these changes if you can provide advice about which structural changes are possible, given the assumptions I can make about my use-case here.
Reply


Messages In This Thread
RE: Frequent runtime updates of Curvy Generator for simulating plant growth using Splines - by h4ck3rd4wg - 10-01-2020, 08:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 19 04-25-2024, 11:11 AM
Last Post: _Aka_
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_

Forum Jump: