10-01-2020, 08:09 PM
(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.