Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SplinePathMeshBuilder : Shape Rectangle with complete UVs
#1
Hi Jake !

I have a little demand. I hope this is a little thing to do.
Into the SplinePathMeshBuilder script, we have the ability to chose a Rectangular shape. And the way it behaves is the best choice for my project.
Unfortunately, The UVs are only on the top and bottom. Not on the side of the rectangle.

Is there a way to add theses missing UV's ?
Thanks a lot
Seb
 
Reply
#2
You can alter the way UVs are generated in the code (CurvyMeshBuilder.cs):

UV's are added in Extrude() (line 594ff). mUV[] is the array that holds the mesh's UV data. We take U from the input mesh and V is calculated by getV() based on the inspector settings. With U coming from the Input mesh, you can also change the rectable input mesh generation (CurvyUtility.cs: MeshHelper.CreateRectangleMesh() ).

Jake

PS: I forgot the default answer: the new version will offer a lot of more options...

 
Reply
#3
Thanks a lot Jake !

I will have a look into that Smile
Do you know aproximately the date of your next release ?
Seb
Reply
#4
When it's done ™...seriously, I don't know. We're working hard on it, but it's too early to make a good guestimation.
Reply
#5
Okay no pb ! thank you jake !!!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Shape Extrusion does not align with Input Spline Shape bit9labs 1 2 04-08-2022, 12:27 PM
Last Post: _Aka_
  Problem with combining shape extrusion and DistanceToTF kazlik 3 3 01-08-2022, 11:53 AM
Last Post: _Aka_
  Absolute distance along spline for Shape Extrusion Module amutp 3 264 10-31-2021, 10:26 AM
Last Post: _Aka_
  Spline Shape not centering around Spline Path tfunitydev 3 1,115 05-13-2021, 08:50 AM
Last Post: _Aka_

Forum Jump: