Wings 3D Development Forum
Unwraping a curved object (how I do) - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3)
+---- Forum: How To (https://www.wings3d.com/forum/forumdisplay.php?fid=19)
+---- Thread: Unwraping a curved object (how I do) (/showthread.php?tid=2342)



Unwraping a curved object (how I do) - micheus - 01-14-2017

How hard can be unwrap an object like this with AutoUV?
[Image: ornament-leaves.png]

That is something I faced and tried to improve my strategies to use as less steps as possible and spend more time doing other things. Smile
During the process, I fell like I could have did something before that could avoid the step I was doing at that moment. So, it's a subject full of options/approaches and I hope at the end someone else can share their ideas.

I'm going add the posts always I have time to prepare pictures and spend some time writing.

Today I'm going to leave a picture of my initial strategy so you guys can start think about that. Smile
[Image: leaves-cut-approach1.png]

Initial considerations:
- I started with an object already done and I decided to improve it just after finish it (as I told here);
- I decided to not use symmetry, but that would have speeded up the things if I had planned that from the sketch. I didn't want start all again (lazy I know Smile);


RE: Unwraping a curved object (my approach) - micheus - 01-15-2017

I started by the most laborious - the worst mesh segments to work:

Which one would you prefer to segment to unwrap? Smile

I picked the right one even knowing I will subdivide the mesh in a next step and that cause some distortion on the texture.
But, because I added a short bevel (with Inset) I know the faces in the boundaries areas will not be so affected by the smooth and that should not be a problem.


RE: Unwraping a curved object (how I do) - Marcin Maćkowiak - 01-16-2017

(01-15-2017, 12:50 AM)micheus Wrote: Which one would you prefer to segment to unwrap? Smile

Simple question - the left one. But as you said if we are going to smooth it in the future it is going to ruin the mesh. We can fix it with stretch optimization, but mesh won't be the same anymore.

Anyway there was a good suggestion somewhere on the forum to update a slide option so the slide don't change the uv projection same for move and smooth. So I guess there will be no question like that in the future Biggrin


RE: Unwraping a curved object (how I do) - micheus - 01-17-2017

Thanks for get into this discussion. Smile
(01-16-2017, 08:07 PM)Marcin Maćkowiak Wrote: Simple question - the left one. But as you said if we are going to smooth it in the future it is going to ruin the mesh. We can fix it with stretch optimization, but mesh won't be the same anymore.
I don't think it won't be the same
[Image: uv-map-fixing.png]

Note that I'm talking to unwrap in low mesh resolution the strip area. Everything else can be done in high resolution as usual.

Extract and organize the tine strips segments in low resolution can - at least - save half of the time you would spend if doing that after smooth the mesh.

In fact, it we are not going to use a 2D paint tool we could to segment it face by face and don't take much care about its arrangement. Although the texture image appearance would be a mess.

(01-16-2017, 08:07 PM)Marcin Maćkowiak Wrote: So I guess there will be no question like that in the future
Of course that kind of fix will help, but only to allow us to improve/add details to an already UVmapped object without mess up our previous work. That is not applied for when we create the UV map for the first time. We still will need a good way/strategy to unwrap the mesh.Wink


RE: Unwraping a curved object (how I do) - micheus - 01-18-2017

(01-17-2017, 04:54 PM)micheus Wrote:
(01-16-2017, 08:07 PM)Marcin Maćkowiak Wrote: Simple question - the left one. But as you said if we are going to smooth it in the future it is going to ruin the mesh. We can fix it with stretch optimization, but mesh won't be the same anymore.
I don't think it won't be the same
Just to put my comment in the right context, I'm taking about this kind of shape. Smile

Continuing...

I create selections to define a macro segmentation in Geometry window (GW) and store them in Selection Groups window (SG). By using the options Union, Subtract and Intersect can help to select group of elements without have to do that "one-by-one" or do that carefully.

This strip will not have any kind of elements painted on it that needs to be oriented to its curvature. So, to save space, I'm going to make them straight lines.

The segmentation in AutoUV Segmenting window:
[Image: unwraping-leaves-0.png]
After unfolding (the left one). By using Edge mode for both Geometry and AutoUV window I select one edge loop in GW that I got all segments with one edge selected (the middle one) and then I used Rotate->Chart to Y in order to align them vertically (the right one).
[Image: unwraping-leaves-1.png]

Because I don't want the entire strip glued, in the GW I selected a segment of faces (the left one) to get them selected in the AutoUV and then I grouped these faces out of that confusion (the middle one). After that I selected one edge in each segment (the most horizontal one) and Stitch them (the right one):
[Image: unwraping-leaves-2.png]

I aligned the edges using Move->Horizontal (the left one) and after that I applied Flat->Y that aligned the vertices by the middle point. Then, by repeating the sequence of select some edges, mouse over GW, [ALT+L], back to AutoUV and Stitch I got the segment ready (the middle one). The result isn't so bad (the right one):
[Image: unwraping-leaves-3.png]


RE: Unwraping a curved object (how I do) - micheus - 01-19-2017

Before and after smooth once:
[Image: leaves-cut-approach2.png]

Here a example how I released the stretched faces and make it part of the other islands I create for the rest of the mesh:
[Image: a.png] [Image: b.png] [Image: c.png]

For the rest of the mesh - as it's possible to observe in the image in the first post - I selected segments to minimize the curvature to be unwrapped. When I invoked the UV map [LMB] for these segments I did new cuts again minimizing the curved areas and then used Projection Normal to unwrap the mesh:
[Image: leaves-cutting_mesh.png]
Each island was arranged to be closed to each other and the gaps were minimized by moving surrounding vertices and after the Stitch be applied I used Tighten to redistribute the vertex weight in the glued area.
[Image: leaves-stitching.png]


RE: Unwraping a curved object (how I do) - micheus - 01-19-2017

Roadkill can help us to find the tension areas (red/blu - green is good) and I used it to localize and apply Tighten on those areas. It's impossible to get full green colors for curved mesh:
[Image: rotkill-leaves-adjust.png]

When everything seems to be OK it's time to select all islands (in Body mode) and use Scale->Normalize Sizes followed by Remap UV->Stretch Optimization.
[Image: leaves-ready.png]


RE: Unwraping a curved object (how I do) - Marcin Maćkowiak - 01-19-2017

Well done! I didn't know untill today how the Rotate->Chart to Y works, thanks to you!


RE: Unwraping a curved object (how I do) - micheus - 01-19-2017

Thanks Marcin Maćkowiak.

I forgot to mention. RoadKill is a UV Tool that we can download the standalone version (look for Maya in the page). We need to export a .OBJ to use with it.

I don't like much its selection tools, that is why I prefer to cut all the mesh in Wings3D. Most the time I load the .OBJ in RoadKill I've noticed Wings3D has been doing a good job unfolding the mesh - at least if I chose good segments to cut. Smile