From UV Map to multiple Textures

abstract: In OpenSim and similar online worlds Meshes can have up to 8 texturizable areas,
so called texture faces.
And each texture face can be assigned to a different texture.
So, we do not need to put all texture information into just one single image.
But how can we configure Blender to create a separate texture
for each of the object’s texture faces?
In this tutorial i show you how to achieve that.

Transcript

Hello and welcome.
In OpenSim and similar online worlds Meshes can have up to 8 texturizable areas,
so called texture faces.
And each texture face can be assigned to a different texture.
So, we do not need to put all texture information into just one single image.
But how can we configure Blender to create a separate texture
for each of the object’s texture faces?
In this tutorial i show you how to achieve that.

This is the kettle from the Kettle quest tutorial.
Right now it is just a simple mesh object.
In order to get separate texture faces,
we have to assign different materials to different parts of the object.
I want to separate the interior,
the bottom and the kettle body.
I add 2 seams to separate the 3 parts as follows:

Now i define one more vertical seam on the kettle body.
This extra seam will later be used by the UV unwrapper to create an almost flat UV map.

I open the material properties section and add 3 material slots to my object,
and assign 3 different materials to the slots,
one for the bottom,
one for the interior,
and one for the kettle body.

Lets switch to face selection mode.
Now i can select the kettle texture face by hovering over the kettle body,
then press “l”.
Then i assign the selected vertices to the corresponding material slot.

lets hide the just assigned faces by pressing “h”.
Proceed in the same way for the interior and the kettle bottom.

finally unhide all vertices by pressing  ALT h

Lets now do another preparation and adjust the light setup.
go to object mode, and select the default light source.
Go to the Object data properties section and there,
switch the type of lamp to Hemi.
In the property bar locate the display options and enable textured solid.
finally set the viewport-shading to solid.

Now select the object, go to edit mode, select all vertices, and press “u”.
The unwrap menu pops up. Select the first unwrap option.
Now you see the created UV map in the UV image editor.
So far we have one map. Now let us assign different target
images for the different parts of the map.

Deselect all vertices.
And enable the Pin tool in the UV editor.
Now select the kettle interior only,
then create a new image of a convenient size.
You may want to unwrap the interior again to fill out
the new image. Press “u” and again select unwrap.
Now we waste much less texture space.
Then hide the faces of the interior by pressing “h”.

ok, i will not create a separate image for the bottom.
I just select all remaining faces,
and create another image of a convenient size.

Let us do one small optimization here.
Since the kettle bottom will not need much detail,
i scale its UV faces down a bit
and move them to a more convenient location.
Then i pin them, by pressing “p”. Now the unwrapper
will keep the pinned faces at their location.
I also change the image size to 512 times 256
pixels, and then unwrap again. The pinned UV faces
remain at their location as expected,
while all other faces get rearranged.

Now lets go to object mode,
Select the render properties section
and locate the Bake tab.
Select bake mode texures,
And then bake.

The output of the bake tool is now distributed to
both images.
Lets become more curious and start a full bake.

And again we see, that the output is distributed to both images.
This trick can be used for an arbitrary amount of texture faces,
and For your online world
you can bake up to 8 textures per object in one single shot.

so, you only need to remember to use the Pin tool,
and while assigning a subset of faces to an image,
ensure that all other faces are hidden.

thank you for watching.

5 Enlightened Replies

Trackback  •  Comments RSS

  1. Mario says:

    Hey there, great Tutorial, but when I Bake “Full Render” there are overall grey triangles on the textures 🙁 WHat do I wrong?

  2. danny says:

    thanks for the fast reaction 🙁

    its oke now
    I have to upload the texture separately. I thought it whas together with the mesh

    grts Danny

  3. danny says:

    hi… all go verry well no problem to folow your video. but cant load it up in SL every time i get the color that i have in the matrial befor i put the right texture.
    wen i look to my matrial i see my texture on my matrial and in my work window.
    when i upload i have no textures.. what i have did wrong ??

  4. Vladi Hazelnut says:

    Normally I can follow your videos very well and they have been a great help to me and thanks for that. However this one leaves me rather confused. For one I don’t even recognize the gui for the blender you are using. Looks nothing like mine. And for the textures I am lost too. Are you saving each face as a separate image and texture, then uploading and applying them in sl? Or does it save with the collada file and automatically get uploaded with the mesh object? Unless I am completely missing something, while being able to have 8 faces per mesh is great, for detailed texturing it seems like sculpts are easier and cheaper to texture? That video just left me sitting here going “huh?”.

    • Gaia Clary says:

      Hi.
      Sorry for reading that this tutorial is confusing. maybe this helps a bit to solve the confusion:

      For the GUI: I use Blender 2.62 and i have rearranged the windows a bit. for this tutorial i expect that you are at least a bit familiar with Blender 2.6 and know where the windows are and how you can setup your screen layout.

      For the textures: my goal was to show how you can create multiple output textures from one single UV map. I did not want to show how to actually work with materials. Therefore i have selected 3 materials from the Kettle Quest tutorial. The interior material indeed uses a texture of a chili pot, but you can setup your material in any way you like. You even could just use material color if that fits your needs.

      cheers,
      Gaia

Post a Reply to danny Cancel Reply

Your email address will not be published. Required fields are marked *

Top