Autodesk Mudbox 2013 SDK Documentation > Materials, Textures, and Images >

# Texture Extraction

Texture extraction is a technique of extracting high-resolution detail from the sculpted mesh as a bitmap image (the map).

In Mudbox three kinds of maps can be created:

1. ambient occlusion map
2. normal map
3. displacement map

During texture extraction a texture is calculated from two models. The low resolution mesh holds the texture, and the high resolution mesh hold the information which must be stored in the texture. The high resolution mesh is picked (see Picking) once for each texture element (texel) of the texture of the low resolution mesh. Once the pick point is found the further calculations depend on the settings. If a normal map must be calculated then the normal of the picked point is stored into the texture. In case of a displacement map the distance between the picked point and the original low resolution mesh point is stored into the map.

The process is done in tiles, which are part of the full big texture on the low resolution mesh. If the texture coordinates are outside of the range 0-1, then the low resolution mesh has more than one texture tile and those tiles must be processed separately. It means that the surface is not processed as a whole but as pieces depending on the texture coordinates of the low resolution mesh. If subdivision of the low resolution mesh is turned on then only the surface piece which belongs to the current texture coordinate range is subdivided. If the high resolution mesh is specified in an external bio file, only part of the file is loaded in one step, reducing the memory needed. In most cases (subdividing the low resolution mesh needs a lot of memory) it happens several times that Mudbox runs out of memory. In this case Mudbox cancels the calculation of the current texture area, and splits it into four small areas. If the operations are all successful the results are merged to one big texture, otherwise further splits will be done.

#### See Also

- Picking
- Subdivision