Rig Editor · Chapter 5 of 12
Rig Editor: UVs
Written for version 2.7.0
What UVs are, marking seams, Auto Unwrap, Unwrap and the projections, arranging islands in the UV editor, and UV Origin for a picture that arrives flipped.
The last chapter reshaped a mesh with Extrude, Inset, Loop Cut and Bevel. This one gets that mesh ready for colour by giving it UVs.
Mesh mode: vertices, edges and faces, and the actions that reshape them.
What UVs are
A picture is flat and a model is not. Before a picture can be wrapped onto a model, or paint can land on it, something has to say which part of the picture goes on which part of the surface. That something is the UV map: a flat copy of the surface, laid out inside a square.
- Think of a cardboard box cut along some of its edges and folded out flat. The flat shape is the box's UV map. A picture printed on the flat shape ends up in the right places when the box is folded again.
- U and V are only the names of the two directions across the picture: U runs left to right, V runs top to bottom. X, Y and Z were already taken by the 3D space.
- The square is the picture. Whatever part of the UV map lies inside the square receives that part of the picture.
- Each separate piece of the flat layout is called an island.
- UVs never change the shape of the model. They only decide where the picture lands.
A cube from the Add menu starts with the simplest UVs there are: each of its six faces fills the whole square, one on top of another. Paint one side and the same stroke shows on all six. Unwrapping gives every face its own place.
The three sub-modes
| Sub-mode | What you see | Use it for |
|---|---|---|
| Geometry | The 3D view, with the mesh actions in the detail panel | Shaping the mesh and marking seams |
| Geom + UVs | The 3D view on top and the UV editor docked underneath. The detail panel lists the mesh actions first, then the UV sections | Marking seams and unwrapping with the model in view |
| UVs | The UV editor fills the viewport. The detail panel holds only the UV sections | Arranging islands with room to work |
- The row is only there in Mesh mode: select a node, tap Mesh, then tap a sub-mode.
- In Geom + UVs, drag the handle between the two views to make the UV editor taller or shorter. The 3D view above it works exactly as it did in the last chapter.
- In UVs, the camera bar, the space and pivot menus and the axis view grid are hidden. They belong to 3D.
- Going to UVs puts down the tool you had in the 3D view. Back in Geometry, tap Move on the rail to pick it up again.
- While you stay in Mesh mode the UV editor remembers its zoom and its settings as you switch between sub-modes.
Seams
A closed shape cannot be laid flat without cutting it somewhere. A seam is an edge you mark as a place to cut. You choose the seams, and the unwrap does the cutting and the flattening.
- In the Geometry sub-mode, tap the edge picker and select the edges to cut along. Tap Add in the selection row first to select several.
- Find Seams in the detail panel, under Select.
- Tap Mark Seam. The edges turn red, and a line in the top bar says how many were marked.
- Clear Seam takes the mark off the selected edges.
- The Seams section shows whenever the selection includes an edge. A selected face counts: Mark Seam then marks every edge round it.
- Marking a seam changes nothing by itself. It takes effect the next time you unwrap.
- Select Seam Area, in the Select section, selects everything enclosed by the seams round your selection. Use it to see what one island will be before you unwrap.
- Seams are saved with the mesh.
Where to put seams
- Cut enough that each piece can lie flat. A cube needs seven of its twelve edges cut to fold out into one cross shape.
- A few large islands are easier to paint across. Many small ones lie flatter. Start with few, and add a seam where the unwrap comes out squashed.
- Put seams where they will not be noticed: underneath, at the back, along a sharp edge or inside a join. A painted line rarely matches perfectly across a seam.
- A tube needs one seam along its length. If it has ends, also cut round each end.
Unwrapping
The unwrap actions are in the Unwrap section of the detail panel, in Geom + UVs and in UVs. Each one works on what is selected in the UV editor, or on the whole mesh when nothing is selected.
| Action | What it does | Use it when |
|---|---|---|
| Auto Unwrap | Works out the cuts for you. It keeps your seams where they unwrap well, adds temporary cuts along sharp corners where they do not, then packs the result. Your own seams are never changed | You want UVs quickly, or have not marked any seams |
| Unwrap | Cuts along your seams only, flattens each piece and packs them | You have marked seams and want exactly those cuts |
| Project From View | Flattens the mesh as the 3D camera sees it right now, like taking a photograph | A flat or front facing part that takes one picture straight on, such as a sign or a face |
| Cube Projection | Lays each face out from whichever of the six sides it faces most | Boxy shapes |
| Cylinder Projection | Wraps the UVs round the upright axis of the mesh | Tubes, bottles, arms and legs |
| Sphere Projection | Wraps the UVs round a ball | Balls and other round shapes |
| Reset UVs | Makes every face fill the whole square | Starting again, or a pattern that should repeat on every face |
| Pack Islands | Moves and resizes the islands to sit side by side inside the square, with a small gap between them | You have moved islands about by hand |
| Average Islands Scale | Resizes each island to match its real size on the model | Some islands look too big or too small beside the others |
- Project From View uses the 3D view, so point the camera first. In Geom + UVs you can see both at once. It flattens the mesh exactly as it looks on screen, even when the node has been moved, turned or scaled.
- Unwrap and Auto Unwrap pack as they finish, so the islands arrive inside the square.
- Every unwrap and projection, and Reset UVs, lays the surface out upright and unmirrored. Looked at from outside, a picture reads the right way round on the model, the same way as it sits in the UV editor.
- Each action is one step for Undo in the top bar.
Unwrap cannot flatten a closed shape that has no seams, such as a cube or a ball with nothing marked, so it leaves the UVs as they were. Mark a seam first, or tap Auto Unwrap.
Pin, Unpin and Live Unwrap
- Pin fixes the selected UV points where they are. Pinned points show red. Unpin frees them.
- The next Unwrap keeps pinned points in place and fits the rest of the island round them. An unwrap with pins does not pack afterwards, so the pins stay put.
- With Live Unwrap on, dragging a pinned point unwraps its island again as you drag. Pin two or three corners and pull one to straighten an island.
This mesh has no UVs
Some meshes have no usable UVs at all, most often ones imported from a file. You find out when you tap Paint.
- Auto Unwrap here unwraps the whole mesh, using any seams it already has.
- It is the same Auto Unwrap as the one in the Unwrap section. You can come back to Mesh mode afterwards to move seams and unwrap again.
- Paint mode itself is covered in the next chapter.
Working in the UV editor
- Drag with two fingers to slide the view, and pinch to zoom.
- A one finger drag with no tool picked up does nothing, so you cannot shift things by accident.
- The square with the bright outline is the picture. Outside it the backdrop is dimmed.
Selecting
| Button | A tap selects |
|---|---|
| Vertex, the four dots | One UV point |
| Face, the solid square | One face |
| Island, the two squares | Every face of an island at once |
- Tap to select, and tap the same thing again to let go. Whatever is selected turns orange.
- The select modes beside the three buttons are the same five as in 3D: Set, Add, Subtract, Difference and Intersect.
- Box Select, at the top of the rail, selects with a box you drag. A face is taken only when all of its corners are inside the box.
- UV Selection in the detail panel counts what you have, with Select All, Select None and Select Island. Select Island grows the selection to the whole of every island it touches.
Move, Rotate and Scale
- Tap Move, Rotate or Scale on the rail, then drag anywhere in the editor. Tap the tool again to put it down. The three are dimmed until something is selected.
- With Move or Scale picked up, a small box appears under the rail. UV works in both directions, U only left and right, V only up and down. Rotate has no box.
- Moving a face or an island that is joined to its neighbours pulls it free. It becomes an island of its own, and seams are marked along the split.
- To adjust a layout without splitting it, switch to Vertex and move points. The faces round a point stretch to follow.
- With exactly one point selected, U and V number fields appear in the detail panel for exact values. Zero to one spans the square.
- The brush at the bottom of the rail paints straight onto the flat layout. Painting has its own chapter, next.
| Edit row | What it does |
|---|---|
| Flip U | Mirrors the selection left to right |
| Flip V | Mirrors the selection top to bottom |
| Rotate 90° | Turns the selection a quarter turn clockwise |
| Merge by Distance | Joins selected UV points that belong to the same corner of the mesh and lie closer together than the number beside the row. It heals small splits |
Checking the result
- Everything is inside the square. Parts left outside do not land where you expect on the picture.
- No islands overlap, unless you want two parts to share the same paint.
- Islands are sized in proportion. A bigger island gets more of the picture, so more detail. Average Islands Scale evens them out.
- Each island looks like the surface it came from. A square face that unwraps as a long thin strip will stretch whatever is painted on it: add a seam and unwrap again.
- Little of the square is wasted. Pack Islands closes the gaps.
- Keep the small gap Pack Islands leaves between islands. Paint spreads a few pixels past the edge of each island into that gap, so no line of old colour shows along a seam.
| Backdrop row | What it sets behind the UVs |
|---|---|
| Show Texture | Shows a picture behind the UVs, over the checker |
| Texture | Which picture: Current Material, the one on the mesh's own material, or any texture in the rig |
| Opacity | How strongly the picture covers the checker |
| Checker Squares | How many squares the checker has across, from 1 to 64 |
| Outside Dim | How dark the backdrop gets outside the square |
UV Origin
UVs are numbers measured from one corner of the picture. This app measures them from the top left, with V running down, and so do GLB files. Other tools measure from the bottom left, with V running up. When a mesh and its picture were made to different rules, the picture lands upside down or mirrored on the model. UV Origin puts that right without touching a single UV: it tells the app which corner this mesh measures from.
| Style | Where U 0, V 0 is | Which way the numbers run |
|---|---|---|
| Top Left | The top left corner of the picture | U left to right, V top to bottom. Every mesh starts here |
| Bottom Left | The bottom left corner | U left to right, V bottom to top |
| Top Right | The top right corner | U right to left, V top to bottom |
| Bottom Right | The bottom right corner | U right to left, V bottom to top |
- In Mesh mode, tap Geom + UVs or UVs.
- Scroll the detail panel down to UV Origin, between UV Set and Backdrop.
- Tap the row and choose a style. The model changes at once.
- The same row is on the mesh itself. Tap the mesh in the Meshes list of the Selection Panel and UV Origin is in the detail panel, under the counts. Use it when the UV editor is not open.
- The style changes how the UVs are read. The UVs do not move: the U and V numbers of every point stay exactly as they were.
- In the UV editor the picture stays upright, and every UV point is drawn where it now reads the picture. What lies under an island is always what that part of the model shows.
- Bottom Left shows the picture as if it had been turned over top to bottom. Top Right shows it mirrored left to right. Bottom Right does both.
- Textures, painting on the model and painting in the UV editor all follow the style. Unwrap, Auto Unwrap, the projections and Reset UVs give an upright result in every style, and Rotate 90° still turns clockwise.
- The style belongs to the mesh, so every node that uses the mesh follows it. Changing it is one step for Undo.
- A mesh shared as a GLB file has the style written into its UVs, so the file looks the same in any other app.
Use it when a whole mesh shows its picture upside down or mirrored, which mostly happens with a mesh or a picture brought in from another tool. If only one island is the wrong way round, select it and use Flip U or Flip V in the Edit section: those move the UVs of the selection.
UV Set
A mesh can carry two sets of UVs, named UV0 and UV1. Nearly every mesh uses UV0 alone, and everything the app makes does. A second set mostly arrives with imported models, where a material can be set to read its picture through UV1.
- UV Set, just above UV Origin in the detail panel, chooses which set the UV editor shows and edits. The editor opens on the set the material uses for its Base Color texture, and keeps your choice while you stay in Mesh mode.
- Everything in the editor works on the chosen set and leaves the other exactly as it was: selecting, Move, Rotate and Scale, the Edit rows, every unwrap and projection, Pack Islands and Average Islands Scale.
- Pins and seams belong to the mesh, so both sets share them.
- With UV1 chosen, a Copy From UV0 row appears under the menu. On a mesh that has no UV1 yet, every point sits on one corner and a line under the row says so: tap Copy From UV0 to start from the first layout, or unwrap.
- Painting goes to the set the material reads. Picking up the brush in the UV editor switches the editor to that set.
- You can ignore UV Set until an imported model looks right in 3D while its islands in the UV editor do not match the picture. Its material is probably reading UV1.
Paint is stored in the picture, not on the model. If you unwrap again or move islands after painting, the paint stays where it was in the picture and lands on different parts of the surface. Settle the layout first.
Give the mesh a material, add a texture and paint on it, then build materials from nodes.
Tell us which sub-mode you were in, what was selected, which action you tapped and what the UV editor showed instead. A screenshot with the detail panel in view helps.