Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Volume Mesh bug based on whether input spline is closed
#1
Hey there,

I have encountered a weird bug when using the volume mesh component of curvy generator. Please see the file attached for the bug repro scene.

The cross section of the mesh changes doesn't match the actual spline shape if "Closed" is checked on "Input Spline Shape_2_Shape". 

As you can see, the bottom right corner of the cross section is deformed.

Closed:
[Image: UhBdXwP.png]

Open:
[Image: P10U4hk.png]


Attached Files
.unity   ClosedSplineBug.unity (Size: 137.24 KB / Downloads: 1)
Reply
#2
Hi
This is due to the Optimize option being true for your cross section. Optimize takes into account the whole shape to try to find the most optimized reprtition of vertices. So by changing the shape (setting it to close in your case) the result may vary slightly. To avoid this, disable Optimize.
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
#3
(12-10-2022, 01:25 PM)_Aka_ Wrote: Hi
This is due to the Optimize option being true for your cross section. Optimize takes into account the whole shape to try to find the most optimized reprtition of vertices. So by changing the shape (setting it to close in your case) the result may vary slightly. To avoid this, disable Optimize.
Have a nice day

Thank you! This helped a lot!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  building game changes UV spaces for generated mesh scr33ner 9 11 01-18-2023, 09:16 AM
Last Post: _Aka_
  Spline mesh optimization itsGama 6 14 01-13-2023, 04:49 PM
Last Post: _Aka_
  How to make mesh appear only on curves? Vancete 2 11 01-09-2023, 09:10 AM
Last Post: _Aka_
  How to generate bevels at volume caps GameJazz 3 4 12-17-2022, 10:20 AM
Last Post: _Aka_

Forum Jump: