Texture extraction overview

 
 
 

Why extract a texture map?

Sculpting and subdividing models in Mudbox can produce models with very high polygon counts resulting in large file sizes. While you can easily export your models as either .fbx or .obj files for use in other 3D software and games applications, these software applications may not efficiently handle models with polygon counts in the range of tens of millions.

The recommended workflow is to extract a normal or displacement map (or both) that represents the high resolution surface(s) from Mudbox and export the texture maps so they can be applied to a simplified (low resolution) version of the model in another 3D application. As a result, the fine high resolution detail is maintained on a simpler version of the model.

The type of map you extract depends on your particular needs and production workflow. The Maps > Extract Texture Maps menu item lets you extract high resolution detail from a sculpted mesh in many image formats or in Ptex format. You can extract the following:

For most texture extractions, the source and target meshes can be low and high resolution versions of the same mesh or even arbitrary meshes that have differing topology but suit the production pipeline requirements.

When extracting vector displacement maps, the meshes must either have the same base topology, or one mesh must be identical to a subdivided level of the other.

It is also possible to extract detail from 3D laser scans of a real model and produce a map that can be applied to a digital mesh that has UV texture coordinates at a lower resolution.

How texture extraction works in Mudbox

Extracting texture maps requires two polygonal meshes - a source and a target.

The source model contains the high resolution sculpted detail. Mudbox samples the source mesh to produce a texture map that can be applied to the target model.

The target model receives the output texture map. The target model is normally much lower in resolution than the source mesh. In most situations, and unless you are saving the map in Ptex format, the target model needs to have UV texture coordinates that are non-overlapping, unless the UVs are arranged on the model to produce a symmetrical color map.

Most texture map(s) are extracted in Mudbox and applied to the target model using another 3D application (for example Maya, 3ds Max, or a games console) but can be previewed on the model within Mudbox. Vector displacement maps are an exception. Since they are 32 bit floating point, they can be previewed using the Image Browser or another application capable of viewing 32 bit floating point images.

An extracted displacement or vector displacement map can also be used in Mudbox to displace the vertices on another model (see Sculpt using a displacement map). Vector displacement maps that are exported in tangent-space can be used as stamps or stencils, as a way of easily copying sculpted detail.

Mudbox extracts normal and displacement maps from a polygon model by sampling the detail and offset between the source and target versions of the user-defined models. The difference between the source and target model is written in the UV texture space of the low resolution (target) model. For this reason, the target model must have UV texture coordinates that are suitable for the texture extraction. For more information, see Prepare a model for sculpting.

In Mudbox, you control the behavior of the source and target meshes during extraction, which is crucial for professional results and for obtaining good maps under varying circumstances.

For normal and displacement maps, two extraction methods are possible:

NoteFor vector displacement maps, the Subdivision method is always used. For this reason, vector displacement maps can only be extracted between different levels of the same mesh (or topologically equivalent meshes).

Mudbox lets you extract maps between polygonal and subdivision surfaces in any combination depending on the method selected. For best results, the low resolution and high resolution surfaces are treated as subdivision surfaces at extraction time. The resulting maps align when your 3D rendering application applies a smoothing operation (Catmull-Clark subdivision) to your low resolution polygon model at render time.

Important

If you are exporting a mesh that has been used as the source in a texture map extraction (for example, if you used this model as the source to extract a displacement map), be aware that any extracted texture maps are automatically exported with your model.

This can result in unexpected deformation when you import the model into another application, as the texture maps are automatically assigned to the model on import. If you experience this issue, you can remove any unwanted texture map from the associated channel (such as the displacement or bump channel) after importing the model.

Supported extraction file formats and bit depths

Mudbox can extract maps in a variety of bit depths and file formats for compatibility with your software rendering application and production pipeline, whether you render using Maya, mentalray, RenderMan, and so on.

Note

Vector Displacement maps can only be extracted as a TIFF, OpenEXR or Ptex file.

File format Bit depth Number of channels
BMP 8 3
JPG 8 3
PNG 8 4
TGA 8 1, 3, 4
TIFF 8, 16 integer, 32 floating point 1, 3, 4
OpenEXR 8, 16 float, 32 floating point 1, 3, 4

Ptex

8, 16 integer, 32 floating point

1, 3, 4

Note

If you specify either 8 or 16-bit depth for an extracted texture, the extraction feature samples the surface in 32-bit depth and then converts it to either an 8 or 16-bit normalized set of values that range between zero and one. Vector displacement maps are automatically extracted as 32 bits-per-channel floating point files and can be either in TIFF or OpenEXR format.

Related topics

Extract Texture Maps properties

Normal maps overview

Displacement maps overview

Ambient occlusion maps overview

Texture extraction and image bit depth

Extract a normal or displacement map

Extract an ambient occlusion map

Troubleshoot texture extraction