Adding a Displacement Map
 
 
 

Use displacement mapping to create a 3D model from a 2D surface. The values of a selected colour channel in the displacement source clip are used to create a displacement map. When the displacement map is applied to the surface, the pixels of the surface are displaced along the positive or negative X, Y, and/or Z axes. Displacement mapping uses the media’s matte clip, so you can turn the matte on or off to get the desired effect.

To add a displacement map:

  1. In the schematic, select the surface or 3D geometry to which you want to apply the displacement.
  2. Click Media.
  3. In the Media menu, select the media you want to use for the displacement.
  4. Do one of the following:
    • Drag the Displace Map node from the node bar and place it in the schematic.
    • Drag the Displace Map node from the node bar and place it where you want it in Result view.
    • Double-click the Displace Map node. You do not need to be in Schematic view to add a node in this manner.

    The displace object is added to the schematic with its own parent axis. The new axis is the child of the selected surface or geometry. In Schematic view, the number in brackets next to the name of the displace node indicates the media used for the displacement.

    Show small imageShow large image

  5. Double-click the Displace node in the schematic, or follow the tab population rules for the Object menu (see Populating Menu Tabs of Selected Objects).

    The Displace menu appears.

Show small imageShow large image

Use the following Displace menu settings (in any order) to get your desired effect.

Channel boxSelect a colour channel to calculate the displacement map.

Softness fieldDefines the level of rounding off, or softening of the spikes that result from colour values in the image that vary from pixel to pixel in the displacement map.

Softness rounds the edges of the displacement. The larger the softness, the smoother the displacement. Softness also affects rendering; the larger the softness, the longer it takes to render.

Normal Displace buttonEnable to displace bilinear and bicubic surfaces according to their normals. For flat surfaces, disable to displace in the X, Y, and Z directions.

Offset fieldApplies an offset to the displacement of X and Y.

Displacement axesSpecifies the amount of displacement in pixel units along the X, Y, and Z axes. Use positive values for displacement on the positive axis, and negative values for displacement on the negative axis.

Repeat mode boxSelect how the displacement map pattern is repeated on the surface.

Fill to Surface buttonEnable to resize the displacement map to the resolution of its parent surface.

NoteIf the Displace node is attached to a 3D Geometry or 3D Text node, you must select a UV Mapping mode other than None in the Geometry menu for the displace pattern to have an effect on the geometry. See Using UV Mapping.

The following figure illustrates a possible use of displacement mapping and shows the difference between displacing with and without softness.

Show small imageShow large image

Original image

Show small imageShow large image

Z-axis displacement (60) using the luminance channel (Y) and a softness of 0

Show small imageShow large image

Z displacement (60) using the luminance channel (Y) and a softness of 12