Your Ad Here

Create texture maps with the Transfer Map tool

Updated in Maya 8

Use the Transfer Map tool to create various types of texture maps. For more information, see Transfer Maps.

Notes
  • All Transfer Map tool target objects must have clean, non-overlapping UVs.
  • NURBS and Subdivision Surfaces are not supported as source or target meshes. The Transfer Map tool can only generate texture maps for polygonal geometry.
  • By default, if multiple target objects are loaded in the Transfer Map tool, then a single map is generated for all the targets. However, if you want to create separate maps for each of your target objects, then you need to perform the Transfer Map bake operation for each target separately.
  • You can use display layers or quick select sets to separate and keep track of your source and target meshes.
  • You can use file referencing to bring high resolution geometry into your scene to be used as source meshes.

For a description of the Transfer Map tool options, see Lighting/Shading > Transfer Maps.

To create a map of one object’s mesh attributes and then bake that map onto another object

  1. Select Lighting/Shading > Transfer Maps.

The Transfer Maps window appears.

  1. In the scene view, select the object you want as your target. This is the object to which you want to bake the texture map.
  2. In the Target Meshes section of the Transfer Map tool, click the Add Selected button.

The object you selected in the scene view is now the current target for your object transfer map operation.

  1. In the scene view, select the object that you want as your source. This is the object that has the mesh attributes for which you want to create a texture map.
  2. In the Source Meshes section of the Transfer Map tool, click Add Selected.

The object you selected in the scene view is now the source mesh for your transfer map operation. By default, all the unselected meshes in your scene are loaded as the source meshes.

Tip
A shortcut to this procedure is to first select the object that you want as your target and then select Lighting/Shading > Transfer Maps. This way, the object that you selected is automatically listed in the Target Meshes section of the Transfer Map tool. All other unselected meshes in your scene are also automatically loaded as the source meshes.

  1. From the list of icons, select the types of output map you want to generate when you create your texture map and click on the appropriate icon.

See Output maps.

  1. Set the output options for each of your texture maps.

If you plan to create several maps with the same width and height, you can reuse your settings by entering them in the Maya Common Output section (or mental ray Common Output section) of the Transfer Maps window.

Otherwise, if you uncheck the Use Maya common settings option (or Use mental ray common settings option) for your texture map, the Map width and Map height attributes appear in the texture map section that you are currently working on.

See Maya Common Output.

  1. Select one of the following:
    • Click Bake and Close if you want to generate the texture maps and then close the Transfer Maps tool.
    • Click Bake to generate a texture map and leave the Transfer Map window open.
    • Click Close to disregard any changes to the Transfer Map tool settings.

To create a normal map using the Transfer Map tool’s default settings

Tips
  • You can use display layers or quick select sets to separate and keep track of your source and target meshes.
  • You can use file referencing to bring high resolution geometry into your scene to be used as source meshes.

  1. Load your source and target meshes into a new Maya scene.
  2. Make sure that your source and target meshes are positioned on top of each other in the scene view.
  3. Select your target mesh in the scene view.
  4. Select Lighting/Shading > Transfer Maps.

The mesh you selected is automatically loaded as a Target and all other meshes in your scene are loaded as Sources.

  1. In the Output Maps section, click on Normal from the list of icons to create a Normal map.
  2. Set the following attributes in the Normal map section:
    • File name (Normal map field)

This determines the name of the texture map file as well as where the map will be saved.

This determines the file format of the normal map you generate.

Note
If you want to render your normal map in mental ray for Maya, you must save the normal map as one of the supported formats: EXR, Maya IFF, JPEG, MI, PNG, YUV, RLA, SGI, PIC, TIM, TGA, and BMP.

You must also turn on the Maya derivatives option in the Render Settings > mental ray tab > Translation > Performance section. For more information, see Render Settings: mental ray tab in the Rendering guide.

Select Tangent Space.

This specifies the resolution for the texture map.

Note
The Maya scene view only supports tangent space maps and they are only visible in the scene view when in High Quality Rendering mode.

To create a left-handed tangent space normal map

In order to create a left-handed tangent space normal map, you must do the following:

  1. Open the Attribute Editor for the target meshes’ shape node.
  2. Expand the Tangent Space section and select Left Handed under Coordinate System.

For more information regarding the left handed tangent space, see Tangent Space of the Polygonal Modeling guide.

To create a custom search envelope

  1. Select Lighting/Shading > Transfer Maps.

The Transfer Map tool appears in the scene view.

  1. In your scene view, select the polygonal mesh that you want to define as your custom search envelope.
  2. In the Target Meshes section, click Add Selected.

The selected mesh is loaded into the Transfer Map tool as a target mesh.

  1. Right-click on the mesh’s name In the Target Meshes section and select Use Selection as Envelope from the context-sensitive menu that appears.

The polygon mesh you selected is now the search envelope for your Transfer Maps operation.

To create a texture map with an alpha channel

New in Maya 8

Transfer maps allow you to pack any scalar output (for example, alpha or displacement) into the alpha channel of the texture map being used for a vector output (for example, color or normal). Therefore, you can create, for example, a color map with alpha, or a normal map with displacement, or a color map with displacement, and so forth.

  1. Select a file format that supports an alpha channel (for example, .dds, .exr, .tif).
  2. Enter the same path and file name into the two output you want to combine into a single texture map. The path and file names are case sensitive.
  3. Bake the map.

Note
If the Connect maps to shader option is enabled, Maya attempts to connect the combined map to the shader. However, many of the combinations that are generated using this method require a custom (hardware) shader for correct display in the scene view.

 

Return to Autodesk Index


Your Ad Here