CreateDisplaceModifier

This command creates a DisplaceModifier that translates the meshes vertices along Z by an amount specified in a DEM, SDTS, or Bitmap file. This modifier cannot move vertices along X or Y.

Using This Command

Select a mesh and apply the command.

  1. Select a mesh. You cannot apply this command to faces, edges, or vertices.
  2. Right click and choose DisplaceModifier from the listed options.
  3. The software adds a DisplaceModifier to the mesh construction history.
  4. The face-set is removed.

Figures

This modifier is complex and generally not manually configured. The modifier has settings that allow it to correctly deform a single mesh while taking into account the range in elevation across multiple meshes. In addition this modifier can displace a mesh with a rectangular region inside a file, so you can use a single elevation file to displace multiple meshes. [The UniversalTransverseMercatorDisplaceModifier cannot be configured by hand because the mathematics involved in selecting regions in elevation files derived from SDTS data do no lend themselves to manual configuration.]

Figure 1.1. The mesh before displacement: DisplaceModifier Figure 1.2. The results after displacement: DisplaceModifier Figure 1.3. Increased tessellation results in a better quality displacement: DisplaceModifier

Displacement Distribution

The DisplaceModifier has four parameters that allow you to control the region of the elevation imagery used to displace a mesh.

Figure 1.4. A single 512×512 pixel bitmap. DisplaceModifier Figure 1.5. Four meshes of the size indicated by the red wireframe. DisplaceModifier

Figure 1.6. List of displacement values.

To displace Mesh 1x1 with the lower left quarter of the imagery, configure its DisplaceModifier as follows:

To displace Mesh 1x2 with the lower right quarter of the imagery, configure its DisplaceModifier as follows:

To displace Mesh 2x1 with the upper right quarter of the imagery, configure its DisplaceModifier as follows:

To displace Mesh 2x2 with the upper right quarter of the imagery, configure its DisplaceModifier as follows:

Figure 1.7. The final displacement spread across 4 meshes. Scenome has automated tools for creating terrain so it's really not necessary to do this manually. DisplaceModifier

Registration

Command registration information is as follows:

Category TypeInformation
ImplementationSCRIPT
ModuleMODIFIER_SCRIPTS.SSL
CategoryModifier Commands
GUID{1F91F963-F612-46D4-A453-4B81096121A9}
Source NameCreateDisplaceModifier
Interface NameDisplaceModifier
CoreNo
SampleYes
AccessModify [mesh] option on main menu or mesh command menu.

See Also

For more information: