Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh generation optimization
#1
Hi,
While optimizing my level editor that uses Curvy, I found out that Vector3's and Vector2's operators, which are heavily used in the Curvy's mesh generation code, are not optimized. The optimized version I came up with saved me tens of milliseconds when refreshing my Curvy Generator.
I created this Unity3d forum thread to explain the optimization, so please take a look at it for more details :
https://forum.unity3d.com/threads/vector3-and-other-structs-optimization-of-operators.477338/
And also, please support my suggestion ticket so we can hope to see the optimization integrated in Unity3d soon:
https://feedback.unity3d.com/suggestions/vector3-and-other-structs-optimization-of-operators
Thanks and 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
#2
Very interesting, much optimization potential. I'll optimize my code with this.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 19 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: