Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline To Mesh UVs
#1
Hello 

I have closed spline that i am making mesh from it using spline to mesh tool , I noticed that the UVs for the generated mesh will show the  material UVs as in image bellow which is good for many cases i am using it for .

However i was wondering Is it possible to have different UV settings for the generated mesh as if the texture is bending with curve shape? I am building the shape from code you provided me in previous thread and its super helpful , but i was wondering if i can make the bottom control points to have UV 0 and the top control points to have UV1 so the texture is look curved with the  spline after i create the shape mesh?


Attached Files Thumbnail(s)
   
Reply
#2
Hi
Just to say that due to technical issues, I can't work for now. Will answer you once things get fixed, hopefully before the end of the week.
Thanks for your patience
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply
#3
Hi again
Sorry, but for now I am not planning to provide multiple UV mappings for that use case. That might change in the future, but not in the near future. You can modify the code generating those UV coordinates, which is quite simple to understand, to fir your needs. That code is in the Spline2Mesh.Apply method, in \Curvy\Base\CurvyUtility.cs starting from line 437
Have a nice day
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Deform Mesh shrink as well as stretch? davelloyd 1 3 12-09-2024, 11:16 AM
Last Post: _Aka_
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  Is it possible to make the face at the end of mesh? Chanon 3 6 11-14-2024, 04:38 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_

Forum Jump: