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
  Get spline from generated mesh beartrox 1 2 11-27-2023, 12:30 PM
Last Post: _Aka_
  Making "gaps" in the generated spline mesh VoltDriver 6 19 11-22-2023, 11:34 PM
Last Post: _Aka_
  Transitioning or blending two mesh extrusions SomeGuyEight 8 18 10-13-2023, 05:11 PM
Last Post: _Aka_
  Skip Input Mesh if spline has too much bend Zilk1 3 8 09-27-2023, 09:45 PM
Last Post: _Aka_

Forum Jump: