SetupDisplacement

Introduced

5.0

Description

Sets up a displacement on a collection of objects using a source image.

A displacement map is a scalar map that displaces a surface at each point in the direction of the object's normal: the geometry is distorted according to the map during the rendering process. Unlike regular bump mapping that 'fakes' the look of real texture, the edges are visibly raised and can cast shadows that follow the displacement effect. Displacement affects the geometry of the object during the rendering process.

Scripting Syntax

    SetupDisplacement( [InputObjs], FileName, [DisplDepth], [FlipVert], [DisplViewDep], [DisplSubDLevel] )

Parameters

Parameter | Type | Description
InputObjs | String | List of objects Default Value: Current selection
FileName | String | Name of the image file to import
DisplDepth | Float | Depth Factor (final range will be [-factor/2,+factor/2] Default Value: 0.5
FlipVert | Boolean | Flip the input image vertically Default Value: true
DisplViewDep | Boolean | Do the fine displacement view-dependent Default Value: true
DisplSubDLevel | Integer | Subdivision Level Default Value: 1

See Also

Image | ImageClip

Autodesk Softimage v7.5