In this tutorial I am going to walk you through an introduction to laying out your models UV's for use in applying texture maps to your model that do more than simply make it red, blue, yellow, desert sand bug, or a checker board. Yes! I know you are shocked! What more could you possibly need then a shaders color channel and checker a board texture? Not much, but after hours of searching I finally found something that needed something more. :-)
A die.
No, nothing about death you morbid people. A single die, like dice but only 1 of them :-)
In this tutorial we will go through introductory steps as to how to apply a single file texture (tif image file) to our model in order to change it from a simple cube into a die.
For those of you sheltered individuals who have never seen a die before, here is an image of a couple.
You will notice that each of the sides of the die in the image has successive dots going from 1 to 6. In order to properly create our die we need our dots to be on the correct sides.
1 dot is opposite of 6, 2 is opposite of 5, and 3 is opposite of 4.
For this tutorial we have some milestones we need to hit in order to call this project complete.
Here they are:
- Acquire our model
- Acquire and assign our texture map
- Layout our models UV's.
- Render our final textured model.
Lets get started shall we!
First we need to Acquire our model.
- 1. Download simpleDie.zip and save it to your maya projects directory
- 2. Unzip/Extract the simpleDice.zip file so that you have the simpleDie project folder in your maya projects directory.
- 3. Open maya and go to file> Project> Set
- Navigate to your maya projects directory and choose the simpleDie project.
- 4. Go to file>Open Scene and choose the simpleDie.ma file
- 5. Once the file is opened you should see a simple polygon cube sitting on the grid. See image below.

I have wireframe on shaded turned on for this tutorial. If your file does not look like mine do the following:
In your panel view go to Shading and choose 'Wireframe on Shaded' to toggle it on and off.
We are going to spending an equal amount of time during this tutorial between our perspective view and our UV texture editing window. To open this window go to your Main Menu Bar > Window > UV Texture Editor. See image below.
There are a number of tools and options built into this window, some of which we will utilize in this tutorial while others we will not. I highly recommend you read up on the remaining tools and experiment with their uses on your own at another time to familiarize yourself with the full scope of UV mapping tools Maya has to offer.
Milestone 'A' has been reached! We have our model. Let's recap and see what we need to do next.
- Acquire our model
- Acquire and assign our texture map
- Layout our models UV's
- Render our final textured model
Milestone B is to acquire our texture map. However, before we do that, lets look further at our model and its UV's to determine what they look like and where we need to go next.
- 10. Go into component mode (Faces) and select one of the faces on our cube.
- 11. In the UV Texture Editor notice now that the face is highlighted evenly in quadrant #2. If you do this for each face you will notice the same thing.
This is all nice and good looking, but we are making dice. Not a funny striped cube thingy.
What are we to do next?
Well the whole point of this tutorial is to make our cube into a die.
Our checklist says we need to acquire a texture map to use. Luck for us we have one!
- 12. Right click on your cube in the perspective view.
- 13. Choose "Assign New Material" from the drop down, then choose blinn as the material we want to assign from the next menu.

- 14. Your attribute editor for the new blinn shader should be up. (If not, open up the attribute editor for the new blinn material we have created).

- 15. Rename this shader to "dieShader"

- 16. Click the checkered box to the right of the color channel. (this will bring up our texture assignment for the color channel of our shader).

- 17. Make sure "Normal" is checked at the top of this window instead of "As projection" or "As stencil." Then click the "file" button. This will attach a file texture to our shader in the color channel. By default it will show up as black, until we choose an image file to apply.

- 18. The attribute editor will now show details for our file texture node.
- Notice the Image name field is blank.
- Click the folder icon next to the Image name field.

- 19. A dialogue box will come up allowing us to choose a file texture from the computer to use.
- If your project is setup correctly (which it should be if you have followed directions correctly). You should see our image file simpleDie_color.tif listed in the sourceimages folder.
- If you do not see this you should set your project to the simpleDie project folder and try again.

- 20. Hit "Ok" or "Open" whichever it is on your system.
Our image file is now attached to the color channel of our dieShader material. If you are in texture mode ('6') in the perspective view you should see this image file now attached to our cube. However, you will notice that it doesn't really look right. every side of our cube looks the same with all of the dots laid out across the face. Close, but not quite right.

Yes! there is still more to do :-) But, we have completed our second milestone. Let's recap shall we.
- Acquire our model (Check).
- Acquire and assign our texture map
- Layout our models UV's.
- Render our final textured model.
Ok, so we have our model and the texture map is applied. Now we need to layout the UV's for our model so that each side of our cube has the correct area of the texture applied to it.
Let's continue...
- 29. If you have toggled the image display off in the UV Texture editor you will want to turn it back on. You may also want to toggle the template image button (located below the image display button) this will fade the background image and make it easier to see what you are doing).

We are going to start with the top face of our cube and we are going to position the UV's so that the side with 1 dot gets assigned to it.
- 30. Select the top face of the cube and convert the selection to UV's
- 31. In the UV Texture editor scale and move the selected UV's to position it around the part with 1 dot. See picture for example.

Like I said earlier the placement of numbers on a die is important. You cannot just pick where each one goes if you want to be accurate. The number opposite of the 1 is the 6. We set our top face to be the 1, so the bottom face will be the 6.
- 32. Select the bottom face of the cube and again convert the selection to UV's
- 33. In the UV Texture editor scale and move the selected UV's to position it around the part with 6 dots.

- 34. Select one of the side faces and align its Uv's to the spot with 2 dots in the Texture editor.

- 35. Select the face opposite of the one with 2 dots and align its UV's to match up with the section of the texture with 5 dots.

- 36. Now, select the face that is to the right of the 5 and align its UV's to the section of the texture that has 4 dots.

- 37. Finally select the face opposite the 4 and align its UV's to the section with 3 dots.

Now we have the relative placement of our UV's setup. At this point your model should look pretty accurate. However, you may have noticed that some of your UV's either have gaps between them or are overlapping. For the final steps we are going to sew our UV's back together to re-link everything.
- 38. Make sure you are in component mode and go into 'Edge' mode.
- 39. Open the UV texture editor and select the edge between the 1 dot and the 4 dots.
image31.png
- 40. Notice that another edge in the editor will be highlighted as well. If you are lucky the edge that is right next to it will also be highlighted. If not, then you will need to rotate the UV's of the erroneous face around so that the 2 edges line up.

- 41. Once lined up make sure the 2 edges are selected.
- 42. In the UV Texture Editor's Menu go to ( Polygons > Move and Sew UV Edges )
You should see the gap between these faces become closed and the whole of the second face move to do so. The edges may be a bit wonky right now but its best to get everything sewn together before we fix any weirdness. We now have combined the UV border for both of these faces and re-linked them together.
- 43. Continue to repeat steps 38 - 42 until all of your UV edges have been sewn.
Upon completion your UV Texture Editor should look something like this:
And after some moving and scaling of the UV's we get this:

CONGRATULATIONS!!!! You have now successfully laid out the UV's for a model to match a file texture. Lets recap our check list to see where we stand.
- Acquire our model
- Acquire and assign our texture map
- Layout our models UV's.
- Render our final textured model.
All we have left to do is do some test renders to make sure our textures are working as we would expect them to. For this final item you should do some quick renders at a reasonable resolution to make sure your model is looking correct.
- 44. Render 6 different angles of the die that display each side.
- 45. Save them out as .jpg or .tif files by going to the file menu in the render view and choosing save image.
- 46. Make sure you save the image to the images directory of your project.
- Acquire our model
- Acquire and assign our texture map
- Layout our models UV's
- Render our final textured model
That's it for the process of UV mapping our simpleDie model.
Now!!!!!
Download (Right Click -> Save As) the
high resolution die file and place it in the scenes directory of your simpleDie project.
Follow the same workflow as before but with this new high resolution model.
For your final submission please provide the simpleDie Project directory
2 Files in the scenes folder of your project. simpleDie.ma and hiRes_Die.ma (Fully UV mapped)
The simpleDie_color texture map in the sourceimages folder of your project.
12 rendered images of your fully UV mapped dice. 6 of the simple cube die and 6 of the high resolution die.