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 Image(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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  player stuck on spline Dextex 4 116 07-17-2021, 04:52 PM
Last Post: _Aka_
  Locking the UV's of a closed spline John_MLS 1 118 07-09-2021, 03:54 PM
Last Post: _Aka_
  Accessing generator's input spline in script, changing it at runtime smackledorf 3 301 06-17-2021, 01:59 PM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 470 06-09-2021, 12:42 PM
Last Post: _Aka_

Forum Jump: