Lighting/Shading > Transfer Maps

 
 
 

Target Meshes

Name

Lists the names of all the objects in your scene currently selected as targets in the Transfer Map tool. The target is the object to which you want to bake the texture map. You can -click the object names in this list to:

Source Meshes

Name

Lists the names of all the objects in your scene currently selected as sources in the Transfer Map tool. The source is the object that has the mesh attributes for which you want to create a texture map. You can -click the object names in this list to:

Output maps

Select a map type from the list of icons available. The section for the selected map type appears. You can create as many maps as you need.

The following list of map types appear if you have do not have the mental ray plug-in enabled.

If you enable the Mayatomr.mll plug-in (from Window > Settings/Preferences > Plug-in Manager), the Ambient and Custom map types are also available:

NoteIn each section, you can:
  • Uncheck the box beside the map type (for example, Normal map) to remove it from the list of maps to generate;
  • Click the Remove Map button to remove a map from the list of maps;
  • Check the Use Maya common settings or Use mental ray common settings (for an ambient or custom map) options to honour them;
  • Uncheck the Use Maya common settings or Use mental ray common settings (for an ambient or custom map) options to enter custom settings for each transfer map.

Your settings (for example, the map sections that you have created and checked) are saved with each session of Maya.

Normal map

Normal map

Normal maps capture the surface normal information of the source meshes. The texture is sized and positioned depending on the UV parameterization of each mesh.

When on, a normal map is generated. Enter the filename and path to which you want to save the map.

Creating and applying a normal map to a surface allows a lower density surface to include finer detail, giving the appearance of a much higher density surface.

Note
  • You can render left handed tangent space normal maps. For more information regarding the left handed tangent space, see Tangent Space.
  • If you want to render your normal map in mental ray for Maya, you must save the normal map in one of the supported formats (EXR, Maya IFF, JPEG, MI, PNG, YUV, RLA, SGI, PIC, TIM, TGA, BMP). The EXR file format is recommended. mental ray does not support DDS files . Choose a different file format for your normal map. In addition, you must turn on the Maya Derivatives option in the Render Settings window, mental ray Options tab, Translation section, Performance sub-section. For more information, see Render Settings: mental ray tabs.
File format

Sets the file format for the normal map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the normal map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Include Materials

When on, all source materials (such as bump maps) are included in the normal map. Use this attribute to obtain a view of normals after they have been modified (e.g. after a bump map has been applied), as they would appear in the final render.Turn this option off to view normals are they are in the actual geometry.

Map Space

Select one of the following options:

Tangent Space

Tangent space normals are defined locally, per vertex, and can be rotated by deformation. Use Tangent Space for textures on animated objects.

Object Space

Object space normals always point in the same direction, even if the triangle is rotated. Use Object Space for textures on non-animated objects.

Use Maya common settings

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 of the Transfer Maps window.

If you uncheck this option, the Map width and Map height attributes appear within the Normal Map section of the window. For more information regarding these attributes, see Maya Common Output .

Tip

To add an alpha channel to a color or normal map, see Create texture maps with the Transfer Map tool.

Displacement map

Displacement map

Displacement maps alter the surface of the geometry to simulate 3D surface details. It is created by capturing the height or vertical distance between two points on a surface into a texture map. Displacement occurs along the surface normals according to the intensity of the pixels in the texture map.

When on, a displacement map is generated. Enter the path and filename to which you want to save the map.

Geometry that is displacement mapped typically has a higher density of geometry that captures more detail. This is useful for objects viewed in silhouette. Due to their complexity in surface detail, displacement maps take longer to render. For more information, see Displacement maps.

Note

Displacement map effects are not visible in the scene view and are only visible when software rendered.

File format

Sets the file format for the displacement map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the displacement map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Maximum Value

Specifies the maximum value of the color space for the texture map and controls the scale to color range. Use this attribute to control the scale of generated maps. Use 0 to obtain the optimal scale; a maximum range of color will be used.

Use Maya common settings

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 of the Transfer Maps window.

If you uncheck this option, the Map width and Map height attributes appear within the Alpha Map section of the window. For more information regarding these attributes, see Maya Common Output .

Diffuse color map

Diffuse color map

Diffuse color maps contain one or more materials that are sampled into a single color channel. A diffuse color map captures how the target mesh reflects (or scatters) color in many angles. This is useful when you want to create the effect of color spreading freely over a surface.

When on, a diffuse color map is generated. Enter the path and filename to which you want to save the map.

File format

Sets the file format for the diffuse color map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the diffuse color map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Use Maya common settings

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 of the Transfer Maps window.

If you uncheck this option, the Map width and Map height attributes appear within the Diffuse Color Map section of the window. For more information regarding these attributes, see Maya Common Output .

Tip

To add an alpha channel to a color or normal map, see Create texture maps with the Transfer Map tool.

Lit and shaded color map

Lit and shaded color map

Lit and shaded maps contain all the scene lighting information (including diffuse lighting) for the source objects. Samples of the illumination in the source mesh are stored in the lit and shaded color map to be applied to the target mesh.

When on, a lit and shaded map is generated. Enter the path and filename to which you want to save the map.

A lit and shaded color map captures how the target mesh reflects (or scatters) light, shadow and color in many angles. This is useful when you want to create the effect of light and color that spreads freely over a mesh.

File format

Sets the file format for the lit and shaded color map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the lit and shaded color map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Include Shadows

When on, depth map shadows are included in the texture map you create.

Use Maya common settings

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 of the Transfer Maps window.

If you uncheck this option, the Map width and Map height attributes appear within the Lit and Shaded Color Map section of the window. For more information regarding these attributes, see Maya Common Output .

Tip

To add an alpha channel to a color or normal map, see Create texture maps with the Transfer Map tool.

Alpha map

Alpha maps contain transparency information for the source objects. The Transfer Map tool evaluates the transparency on the source object(s) and bakes it to a map for the target object(s).

This map is useful if:

  • the source object contains transparent areas; for example, windows or glass.
  • there are parts of the target object that do not exist on the source object; for example, the source object contains holes and cavities. A normal map contains the contours of the source object but it does not include the perforations or gaps in the surface. An alpha map captures these cavities and voids.

When on, an alpha map is generated. Enter the path and filename to which you want to save the map.

Tip

To add an alpha channel to a color or normal map, see Create texture maps with the Transfer Map tool.

File format

Sets the file format for the alpha map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the diffuse color map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Use Maya common settings

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 of the Transfer Maps window.

If you uncheck this option, the Map width and Map height attributes appear within the Alpha Color Map section of the window. For more information regarding these attributes, see Maya Common Output .

Ambient occlusion map

Ambient occlusion map

Only available when the Mayatomr.mll plug-in is loaded. When ambient light is used, the objects in your scene may appear to be too bright and geometric detail may become lost. Ambient occlusion solves this problem by subtracting ambient light and adding shadowing. At each sample point, a number of probe rays are emitted around the normal vector that determine how much light is blocked by other geometry in your scene.

When on, an ambient occlusion map is generated. Enter the path and filename to which you want to save the map.

The Transfer Map tool evaluates the ambient occlusion on the high resolution object and bakes it to a map for the low resolution object.

File format

Sets the file format for the ambient occlusion map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the ambient occlusion map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Bits per channel

Specifies the number of bits per channel to use in the output bitmap. The options are: 8 bits, 16 bits, and 32 bits.

Optimization

Select for multiple objects to bake in the default light map mode. This baking method is single threaded and uses one thread per object. This method can give better performance for baking multiple objects.

Select for single object to use lens shader baking. The shape of the lens changes to be the same as that of your geometry. This baking method is multi-threaded and uses multiple threads for each object. This method can give better performance for baking a single complex piece of geometry.

Occlusion Rays

Determines the number of occlusion rays to trace per sample point. Increasing the number of occlusion rays improves quality, but reduces performance speed. The default is 64.

Tip

The most important parameter for adjusting the quality of your ambient occlusion map is the Occlusion Ray attribute. You can increase the occlusion rays up to 2048.

Occlusion Max Distance

Determines the maximum length of an occlusion ray. Rays longer than this value are not considered for occlusion.

Use mental ray common settings

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

If you uncheck this option, the Map width and Map height attributes appear within the Ambient occlusion Map section of the window. For more information regarding these attributes, see mental ray Common Output.

Custom map

Custom map

Only available when the Mayatomr.mll plug-in is loaded. Evaluates your custom shader on the high resolution object and bakes that to a map for the low resolution object. By using this map, you can include geometric detail in your scene without increasing its rendering time. Example custom shaders that you can use include a normal map (map normals to a texture), a bump map (bent normals map), mental ray materials, or shading and lighting maps.

When on, a custom map is generated using the custom shader specified. Enter the path and filename to which you want to save the map.

File format

Sets the file format for the custom map you want to create. See File formats.

When you select a file format from the drop-down list, Maya automatically appends the appropriate file extension to the filename of the custom map. For example, if you select gif from the drop-down list, .gif is automatically appended to the filename.

Similarly, if you enter path/mapname.gif as your filename, the file format option is automatically set to gif.

Bits per channel

Specifies the number of bits per channel to use in the output bitmap.

Optimization

Select for multiple objects to bake in the default light map mode. This baking method is single threaded and uses one thread per object. This method can give better performance for baking multiple objects.

Select for single object to use lens shader baking. The shape of the lens changes to be the same as that of your geometry. This baking method is multi-threaded and uses multiple threads for each object. This method can give better performance for baking a single complex piece of geometry.

Custom shader

Specifies the custom shader for which you want to create a transfer map.

Include Shadows

Bake shadows to your custom maps.

Orthogonal Reflection

This option is on by default. When turned on, the Orthogonal Reflection option causes all reflection rays to be orthogonal to the surface being baked. They are no longer true reflection rays; instead, they point parallel to the surface normal vectors, but the resulting baked texture or vertex colors are meaningful when viewed later from any direction. This option should be turned on if the textures or vertex colors generated are to be used as textures in a game engine.

Turn this option off if you are baking in order to accelerate software rendering and the reflections are only viewed from the baked position. However, in this case, the textures or vertex colors generated are not for use as textures in a game engine.

Camera

Specifies the camera name that corresponds to the view you desire.

Use mental ray common settings

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

If you uncheck this option, the Map width and Map height attributes appear within the Custom Map section of the window. For more information regarding these attributes, see mental ray Common Output.

Connect Output Maps

Specifies how the texture you want to create will appear on the target object.

Connect maps to shader

When off, leaves the current network intact and creates the texture file on the disk. Causes no visible changes to your meshes in the scene view. When on, the Connect maps to: New shader and Connect maps to: Assigned shader options become active.

Connect maps to: New shader

Creates a new test shader and connects the following to the new shading network:

Connect maps to: Assigned shader

Attaches the texture map to the target object with the following connections:

Maya Common Output

Map width

Sets the width of the texture map to be created, in pixels. The slider snaps to the following texture resolutions: 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. The default map width is 256.

Map height

Sets the height of the texture map to be created, in pixels. The slider snaps to the following texture resolutions: 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. The default map height is 256.

Transfer in

Select one of the following options:

World Space

Use World Space when your objects are different sizes. When you transfer in world space, make sure that your source and target objects are at the same world location (on top of each other) in the scene view.

Object Space

Use Object Space to see the result of your transfer maps without having to overlap meshes. To ensure that the object space transfer works, move your objects on top of each other (pivots for all meshes overlap), freeze all their transforms, and then move them apart to positions beside each other.

UV Space

Use UV Space when your source and target meshes are of different proportions or different shapes. For example, if you are creating both a male and a female character and need to transfer surface attributes from one to another. Even though both meshes have arms, the arms are sufficiently different that spatially based transfers give poor results. Ensure that you define UV space mapping for both meshes.

Note

Object Space ignores all transforms (including group transforms) and treats objects individually. If you have multiple source objects (grouped or not) and you want to transfer in object space, freeze the transforms of each of your source objects.

Sampling Quality

Specifies the number of samples per pixel taken from the source mesh for the map and determines the quality of the texture map. Increase the sampling quality for more details in your texture map. However, before tweaking the sampling quality value, you must first ensure that your source object is of high quality. For example, if you are creating an ambient occlusion transfer map, you should first tweak the number of occlusion rays of your source object to ensure that it provides high quality detail before modifying the Sampling Quality attribute.

Filter Size

Controls the filter size used to interpolate each pixel in the texture map. A small filter size (such as 3) produces a sharper texture map and a large filter size (such as 7) produces a smoother/softer texture map.

Filter Type

Controls how texture maps are blurred or softened to eliminate aliasing or jagged edges. Choose from the following filter types: Gaussian (slightly soft), Triangular (soft), or Box (very soft).

Fill Texture Seams

Calculates additional pixels around each UV shell to remove texture filtering artifacts around UV seams.

Ignore Mirrored Faces

When this option is enabled, faces with reverse UV winding order do not contribute to the creation of the transfer map. A typical application of this feature is the creation of mirrored normal maps for a character. See Creating and using mirrored normal maps on a character or object.

mental ray Common Output

This section is only available when the Mayatomr.mll plug-in is loaded.

Map width

Sets the width of the texture map to be created, in pixels. You can select the following texture resolutions: 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. The default map width is 256.

Map height

Sets the height of the texture map to be created, in pixels. You can select the following texture resolutions: 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. The default map height is 256.

Transfer in

Select one of the following options:

World Space

Use World Space when your objects are different sizes. When you transfer in world space, make sure that your source and target objects are at the same positions (on top of each other) in the scene view.

Object Space

Use Object Space to see the result of your transfer maps without having to overlap meshes. To ensure that the object space transfer works, move your objects on top of each other (pivots for all meshes overlap), freeze all their transforms, and then move them apart to positions beside each other.

Number of Samples

Use this option to specify the number of samples (per pixel) that is used for anti-aliasing during baking. The default value is 1, and the maximum value is 4.

Normal Direction

Use the Normal Direction drop-down list to set the direction of the baked object’s resulting normals. Select from Face Camera (towards the camera), Surface Front (outwards from the object surface), and Surface Back (inwards from the object surface).

Bake Alpha

Turn this on to bake the alpha channel (equivalent to the Bake Transparency option under Edit > Convert to File Texture (Maya Software) > in the Hypershade menu bar) and then select an Alpha Mode.

Note

When you turn Bake Alpha on, the transparency connection is automatically made for you when you add a surface shader.

Alpha mode

When Bake Alpha is turned on, the Alpha Mode specifies how it’s computed. Select one of the options, which include Pass Through (alpha as output from shading network) Surface Transparency, Luminance of Surface Color, and Coverage.

Note

The Pass Through option is mainly for custom shader usage within Maya. The returned baked color alpha component is retained and is not affected by Maya's matte channel. Custom shaders usually set the fourth component of a mental ray color to provide the alpha channel.

Final Gather Quality

Determines the final gather precompute quality. When rendering from the camera, mental ray precomputes a final gather pass before actually rendering the scene. This precomputation pass is disabled by default for baking.

When this attribute is set to higher than zero, mental ray computes a number of final gather points before it bakes the lightmap. When this attribute is set to one, the resulting lightmap should be of approximately the same quality as a lightmap rendered from the camera. When this attribute is set higher than one, then the quality of the lightmap is improved as a denser map of final gather points is precomputed.

Do not use this option to tune final gather quality for baking. Final gather quality affects the number of points calculated at the precomputation phase of the final gather algorithm. By increasing the final gather quality, you are only creating more points during precomputation and possibly reducing the amount of interpolation or extrapolation required during rendering. Increasing the final gather quality does not affect the accuracy of the light calculated for each point or the filtering that is used on the data.

Instead, adjust the Scale in the Render Settings Window. This attribute controls the accuracy of the light calculated for each final gather point. Adjust also the View (Radii in Pixel Size). This attribute controls how data is interpolated/extrapolated between final gather points.

Final Gather Reflect

Determines the reflectivity of an object when precomputing final gather points for light mapping. This simplifies the simulation of reflective objects whose texture maps include contributions from objects that surround them. For example, if the Final Gather Reflect value is set to 0.25, every fourth final gather point is precomputed on the object hit by the reflection ray.

UV range

Specifies whether to bake the area in UV space from [0,0] to [1,1], bake the entire UV space, or bake a manually specified space range.

U min, U max

Specifies how much to stretch the sampling range of U or V components. Maya stretches the sample region to fit the output image size within the [0,0] to [1,1] sampling range.

V min, V max

Minimum V and maximum V for baking.

Fill texture seams

If the selected UV space contains boundaries, these boundaries may appear as black stripes in renderings that use the baked textures. This occurs when the texture is sampled so close to a boundary that the filter picks up values (generally black) from outside the desired space.

This setting artificially extends the boundaries by a small amount to alleviate this problem. It is measured in texels (pixels of texture). Typically, the filter is only a few texels in diameter and can only reach as far as its radius into these boundary spaces, so a value of 1 or 2 is usually enough.

Advanced Options

Search Method

Sets where in relation to the search envelope the target meshes are being looked for.

Closest to Envelope

Search for target meshes outside the envelope.

Inside Envelope then Outside Envelope

Search inside and outside the envelope for target meshes.

Inside Envelope Only

Search only inside the boundary of the envelope for target meshes.

Max Search Depth (%)

Sets the search depth limit or percentage furthest from the target mesh that a target mesh match will be accepted. This option avoids finding surface intersections on the back sides of objects as search results.

A Max Search Depth of 0.0 sets an unlimited search depth.

Note

Max Search Depth is not supported for Ambient occlusion maps and Custom maps.

Delete Envelopes on Bake

When on, the target objects’ search envelopes are deleted on bake.

Match Using

Select one of the following options:

Geometry Normals

Matches the texture map to the target meshes’ face normals on bake. This match method works well on soft edged surfaces.

Surface Normals

Matches the texture map to the target surface’s vertex normals on bake. This match method works well on hard edged surfaces.