Setting up additional UV layers

Up until now, we have set just one UV layer whose name is, by default, UVMap (go to the Object Data window and look under the UV Maps subpanel):

Setting up additional UV layers

The UV Maps subpanel with the UV Map coordinates layer

Actually, in Blender, it is possible to set more than one UV coordinates layer on the same object in order to mix different UV projections that can eventually also be baked into a single image map.

The names of the UV layers under the UV Maps subpanel are important, because they specify which one of the projections a material has to use for the mapping of a texture. By clicking on the + icon to the side of the UV Maps subpanel, it is possible to add a new UV layer (whose name, in this case, will be UVMap.001 by default; of course it's possible to change these names by using Ctrl + clicking on them and typing the new ones).

Getting ready

We are now going to add a new UV layer to the Gidiosaurus object:

  1. Ensure that the Gidiosaurus object is selected and go to the Object Data window under the main Properties panel to the right-hand of the screen.
  2. Go to the UV Maps subpanel and click on the + icon to the right-hand side of the names window; a new UV layer is added to the list, right under the first one, and its name is UVMap.001 (in case you don't see it, it may be because the window is too small; just put the mouse cursor on the = sign at the bottom of the window and drag it down to enlarge it):
    Getting ready

    The new UV coordinates layer

  3. Use Ctrl + left-click on the UVMap.001 item and rename it as UVMap_scales. Then, press Enter to confirm.

How to do it…

Now we must set the projection of the UV layer:

  1. Go into Edit Mode, switch to the Face selection mode, put the mouse pointer on the mesh, and press the L key to select all the faces of the skin of the Gidiosaurus mesh.
  2. Go to the UV/Image Editor window, select all the visible islands and unpin them (Alt + P).
  3. Click on the Image item on the toolbar and select the Open Image item in the pop-up menu (or else, put the mouse cursor in the UV/Image Editor window and press Alt + O); browse to the textures folder and load the scales_tiles.png image.
  4. With the mouse pointer in 3D view, press U and from the UV Mapping pop-up menu, select the Cube Projection item.
  5. In the UV/Image Editor window, select all the islands and scale them 5 times bigger (A | S | 5 | Enter):
    How to do it…

    The Cube Projection mapping

  6. Go out of the Edit Mode and into the Properties 3D view sidepanel, enable the Textured Solid item under the Shading subpanel to see the result of the unwrapping in the 3D viewport:
    How to do it…

    The scales_tiles.png image mapped on the model using the second UV coordinates layer

    At this point, as you can see in the UV Maps subpanel, the Gidiosaurus object has 2 different UV coordinate layers, UVMap and UVMap_scales. We will use the UVMap_scales layer to map the scales image texture on the body and thereby to bake it on the first UVMap layer; this will be the one we'll use in the end for the rendering of the model. However, we'll see this in detail in the texturing and baking recipes.

    Repeat the process for the Armor.

  7. Add a new UV layer and rename it UVMap_rust; go into Edit Mode, select all the vertices and all the islands in the UV/Image Editor window, and load the iron_tiles.png image.
  8. Switch to the Face selection mode, and in the 3D view, press U and select Reset (the last item) from the pop-up menu. Then press U again, and this time select the Cube Projection item.
  9. Go out of Edit Mode.

As you can see, there are a few visible seams. This will be easily fixed during the texturing stage, but for the moment we are done:

How to do it…

The second UV coordinates layer for the Armor

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.26.221