Adding Textures to UV Texture Sets

Adding Textures to UV Texture Sets

Maya 2012 Tutorial

 

How to Add Textures to UV Texture Sets in Maya

 

 

Objects can have a single UV map or be broken into several UV texture sets. One advantage to working with sets is that you can assign images with various resolutions to the different parts of the object.

In this example, we will assign image files to an object's UV texture sets. The object and it's sets were created in the topic, Breaking Texture into Texture Sets.

 

Step One

Start with a new project and scene that includes a polygon plane with multiple texture sets per topic, Breaking Texture into Texture Sets.

Step Two

In Photoshop create two 512 pixel x 512 pixel images. The images should have a solid background, one with the letter A and the other with the letter B. Save your flattened images as tif images in the project's sourceimages folder. Name the files letterA.tif and letterB.tif.

Step Three

Create another image in Photoshop that is 512 pixels high and 1024 pixels wide. The image should be white on the left half and black on the right half. Save the image as a tiff file in the project's sourceimages folder. Name the image mask.tif.

Step Four

Returning to Maya, right-click the object and choose Assign New Material > Lambert.

Step Five

In the Attribute Editor, Lambert panel, click the checkerbox next to the Color slider.

Step Six

Scroll down to the Other Textures section and click the Layered Texture icon.

Step Seven

In the Attribute Editor, layeredTexture tab, Click the green rectangle, then click the checkerbox next to the Color slider.

Step Eight

In the 2D Textures section, right-click the File icon and choose Create Texture.

Step Nine

Click the file folder next to Image Name to connect to the letterA.tif file in the sourceimages folder.

Step Ten

Choose Focus > layeredTexture1 from the Attribute Editor menu set to return to the layeredTexture tab, then click the checkbox next to the Alpha slider.

Step Eleven

In the 2D Textures section, right click the File icon and choose Create Texture.

Step Twelve

Click the file folder next to Image Name to connect to the mask.tif file in the sourceimages folder.

Step Thirteen

Choose Focus > layeredTexture1 from the Attribute Editor menu set to return to the layeredTexture tab, then click to the right of the first layer rectangle to add another texture layer.

Step Fourteen

Click the new rectangle, then click the checkbox next to the Color slider.

Step Fifteen

In the 2D Textures section, right-click the File icon and choose Create Texture.

Step Sixteen

Click the file folder next to Image Name to connect to the letterB.tif file in the sourceimages folder.

Step Seventeen

Select the object and choose Window > Relationship Editors > UV Linking > UV-Centric.

Step Eighteen

Click faceA in the left column, then click file1 in the right column. This connects the faceA UV set to file1 (letterA.tif).

Step Nineteen

Click faceB in the left column, then click file3 in the right column. This connects the faceB UV set to file3 (letterB.tif).

Step Twenty

Click bothFaces in the left column, then click file2 in the right column. This connects the bothFaces UV set to file2 (mask.tif).

Step Twenty One

Render your image by clicking the Render Current Frame icon. One texture should appear in each of the object's polygons. See additional topic notes above to fix the rotation and texture border problems.

Rotating the UV Map

To fix the letter rotation, select the object and open the Texture Editor (Window > UV Texture Editor).

Choose the appropriate UV set with the UV Sets menu and click the Rotate icon.

Texture Border Problems?

To fix the line between the textures, open the layeredTexture tab in the Attribute Editor and click the left (top texture) rectangle.

Click the arrow next to the Alpha slider to access the mask file tab. Choose Off for Filter Type and re-render your image.

Why the Mask Image?

The purpose of the mask image is to keep the upper texture from blocking the lower texture. If you forget the mask step, the only texture that appears is the upper texture.

 

Shutterfly 50 Free Prints 160x600