Unfold a UV mesh

 
 
 

The Unfold feature lets you unwrap the UV mesh for a polygonal object while attempting to ensure that the UVs do not overlap. Unfold helps to minimize the distortion of texture maps on organic polygon meshes by optimizing the position of the UV coordinates so they more closely reflect the original polygon mesh. For example, if the initial shape of the UVs cause a patterned texture to distort, you can use the Unfold feature to minimize the distortion because it attempts to maintain the UV’s relationship relative to the original polygon mesh.

You can access Unfold by:

Unfold works well in situations where UV meshes need to be created from polygonal models that have complex organic shapes. In these situations, other projection methods may not be as successful and automatic mapping would produce too many individual UV shells that would necessitate many move and sew operations afterwards. For example, polygon models that are prone to overlap via other projection methods would be well suited for the Unfold feature.

When compared to Automatic Mapping, Unfold produces good UVs on larger UV shell areas because it keeps neighboring faces together (by contrast, Automatic Mapping produces many separate UV shells).

Unfold is not needed when working with simple, non-organic poly mesh forms. In these cases, other projection techniques or automatic mapping would be better suited and more straightforward. For example, a wall can be planar-projected or a bottle can be cylindrically projected.

Unfold setup

Prior to using the Unfold feature you should consider the following:

To prepare a UV shell for unfolding

  1. Ensure the polygon model you are working with has UVs. To do this,

    perform an initial UV mapping operation on the mesh to produce a UV texture mesh (for example, using Create UVs > Cylindrical Mapping).

    Note

    The shape of the UV texture mesh is not critical at this stage because the Unfold feature will modify it.

  2. In the scene view, determine the locations where you will perform edge cuts on the UV texture mesh using the 3D polygonal model as a reference. Dollying and tumbling the scene view helps you with this task.

    For additional tips on determining edge cuts, see UV unfolding workflow tips.

    Tip

    When editing UVs you can use the perspective view and the UV Texture Editor, side by side, to locate and select or deselect the polygon vertices, edges, and UVs. To do this, right-click on any layout shortcut in the Toolbox and select Persp/UV Texture Editor from the drop-down list.

  3. In the scene view you can select vertex edges that lie in a contiguous line by double-clicking one of the edges on the line. You can also select a path of edges between two points using the Select > Select Shortest Edge Path Tool.
  4. Using both the 3D view and UV Texture Editor as required, continue to select and cut the edges of the UV mesh in the locations you predetermined earlier using Polygons > Cut UV Edges in the UV Texture Editor.
  5. Find and make note of the UVs you want to pin.

Once you are satisfied with the cuts you’ve made, you are ready to unfold the UV shell.

To unfold a set of UVs

  1. From the UV Texture Editor, select a set of UVs. Any UVs you leave unselected will be pinned when you unfold the mesh.
  2. Select Tool > Smooth UV Tool or select from the UV Texture Editor toolbar.

    Two small controls appear at the bottom-left of the selected UVs.

  3. Click the box labelled Unfold and drag the mouse right. The further you drag, the more the selected UVs unfold.
Note

You can move the Unfold and Relax controls by dragging the yellow target icon at the top left of the controls.

With the Smooth UV tool you can choose to unfold the entire mesh or only part of it. However, you cannot use it to unfold multiple UV shells at once. You may also want to control specific aspects of the Unfold operation. You can do this with the Unfold option.

To unfold a polygon UV texture mesh using the Unfold feature

  1. In the UV Texture Editor, select the polygon UV mesh, and then selecting Polygons > Unfold > .
  2. Select the options you want and then click Apply and Close.
  3. When you want to stop the Unfold operation, press .

    In general, the Unfold operation requires several iterations to achieve the desired final result. It may often be necessary to refine your cuts, add new ones, move and sew UV edges, or add/change pinned UVs between iterations.

When you are satisfied with your final unfolded result, use Polygons > Layout as a final step to ensure the UVs are laid out as you require.

The following workflow tips can be useful in helping you achieve your desired final unfolded result.

UV unfolding workflow tips

Single vs. multiple meshes

While it is possible to unfold a complete UV mesh for one model in one piece, an alternate approach might be to cut the UV mesh into smaller sections and unfold portions of the mesh separately. With this strategy you can more easily control regions of the unfold by pinning and so on. You’ll need to determine where you can safely cut the mesh, and later re-sew the UVs if required after the unfold operations are complete. Which approach you take will be determined by the complexity of the mesh and your individual production requirements.

Determining and selecting edge cut locations

The edge cuts should be located on the UV mesh in such a way that the UV mesh would lay flat if it were unfolded. Edge cuts are important because they allow the UV texture coordinates to freely unfold with as little distortion as possible during the Unfold operation.

The edge cuts should also be located in areas of the UV mesh where they will stay mostly unseen in the final rendered images. This reduces the possibility of the viewer seeing the texturing artifacts that can result along texture edges.

You can quickly select a path of edges using the Select Shortest Edge Path Tool (Select > Select Shortest Edge Path Tool).

The Edge Loop tools can be useful for quickly inserting edges into the mesh in locations that are not obvious to the viewer.

Quick Select sets

Whenever you need to make complex edge, vertex, or UV selections repeatedly, you can create selection sets for these components (called Quick Select sets) to easily select these components later on. To create Quick Select sets, select the components you want in the set and then select Create > Sets > Quick Select Set. This can be particularly useful when you need to repeatedly select UVs for pinning during the unfold operations.

Highlighting texture borders

It is critical to view and select border edges in both the scene view and the UV Texture Editor. Turn on the display of texture borders by selecting Display > Polygons > Texture Border Edges. This displays the UV borders on the polygon mesh as thicker lines so you can see your progress as you cut the UV edges.

Pinning

Depending on where you initially cut the edges of the UV texture mesh, you can pin specific locations or regions of the UV texture mesh to create temporary anchor points to use with the Unfold feature. For example, with a polygon mesh of a quadruped, you can select the vertices along its spine beginning at the tip of the nose and ending at the tip of its tail (assuming this has not been cut), then align these vertices to a vertical axis or horizontal axis within the UV Texture Editor. When you perform the next Unfold iteration, turn on the Pin Selected UVs option in the Unfold UVs Options window so the selected UVs remain anchored while the Unfold operation proceeds. The UVs will then unfold in relation to the area you pinned. If you create QuickSets of the UV components involved, your pinning operations will proceed more quickly.

Pinning is useful for ensuring areas don’t move during the unfold. It’s also useful when you have some regions unfolded to your satisfaction, and need to maintain those regions while performing additional unfold iterations. When necessary you can pin a shell’s border edges. In this way you can use the Unfold feature while the shell border is pinned to unfold the shells’ interior UVs.

In general, you get better results when pinning extreme points on the mesh and respecting the polygon object’s symmetry whenever possible.

When using the Smooth UV tool to unfold, any unselected UVs are automatically pinned.

Constraining the unfold to either a horizontal or vertical direction

By default, the Unfold feature unfolds the UVs in all directions in an unrestricted manner. You can constrain the unfold process so the UVs are constrained to unfold in either the vertical or horizontal direction as they appear in the 2D view of the UV Texture Editor.

This can be useful when the appearance of the UVs is fine in one direction, but needs refinement in another.

When using the Smooth UV Tool, you can constrain the direction of the unfold operation by holding the button while dragging the mouse.

When using the Unfold option, you can set the Unfold constraint to either Vertical or Horizontal to constrain the direction of the unfold. The Unfold constraint setting also respects any pinning settings you may have set for the unfold operation.

Aligning UVs

Use Edit UVs > Align to snap UVs to match any vertical or horizontal lines that would naturally occur on the texture.

Aligning UV edges that run down the axis of symmetry can be used to your advantage. For example, the line of UVs that run down the spine of a symmetrical four-legged animal. You can select and align these UVs and then pin them so they act as a benchmark for further unfold operations.

UV Lattice Tool

The UV Lattice Tool in the UV Texture Editor can be used to modify a region of a UV shell before performing further Unfold operations.