010rendering Lab Manual-Part III
010rendering Lab Manual-Part III
– UV Mapping in Blender
Introduction
In Part II, we use Unity to create simple model and do the UV mapping using ProBuilder.
This lab uses Blender to make UV Mapping for a complex 3D object and attach a customized image
texture to UV mapping.
This lab will use Blender, you can download it from official website beforehand:
https://www.blender.org/download/.
1.Prepare Materials
For your convenience, we prepare a head model for this lab. Download compressed file “Head
Blender.zip” and unzip it in any place you want to work. You can directly open blender file “face.blend”
under folder “Head Blender”. And you can see a head model.
Let’s separate the neck first. Select the boundary loop edges of the neck (orange line). Using shortcut to
select “Ctrl+Shift” to quicker select the loop (the orange edges in Figure 2.1.2).
Repeat the step to seam the bottom boundary, select boundary → Mask Seam. And now we can have
two boundaries for the neck (Figure 2.1.4).
Figure 2.1.5 Add a split line such that the UV can be spread
2.2. UV Unwrap
Select seamed area: select something in seamed area, press “L”.
Open UV Editing window, and now we can see the UV mapping of the neck we seamed and unwrapped
just now.
If you are NOT satisfied the UV result, you can keep splitting the seamed mask. Add a new split curve
edges (orange edge in Figure 2.3.3) and do a new mask seaming: Ctrl+E → mask seam (see Figure 2.3.4).
Now let’s split the face for better UV mapping (see orange edges from neck to forehead in Figure 2.3.5).
Figure 2.3.5 Split ear into two parts of UV maps (left: back side, right: front side)
Ctrl+E → Mask Seam.
Now we can create a customized texture for the head according to the UVs. Or edit an existing image,
e.g. a real face image.
Figure 3.1.1 Import UV layout into photo editor, and create a corresponding texture
Hide the UV layout and export the texture “face_uv_texure.png” with transparent background.
Open the UV Editing window again, we can see the image change to the texture.
4. Export Model
When you are satisfied the model, export it for our further use.
5. Practice
Import a model you like to Blender, change the texture or customize a texture for it. And then import it
to Unity for further lighting configuration.
You can also import a rigged model and do the animation with new texture in Unity.
Reference:
https://docs.blender.org/manual/en/latest/modeling/meshes/editing/uv/applying_image.html
https://download.blender.org/documentation/BlenderHotkeyReference.pdf