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.
Select a mesh and apply the command.
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:
Figure 1.2. The results after displacement:
Figure 1.3. Increased tessellation results in a better quality displacement:
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.
Figure 1.5. Four meshes of the size indicated by the red wireframe.
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.
Command registration information is as follows:
| Category Type | Information |
| Implementation | SCRIPT |
| Module | MODIFIER_SCRIPTS.SSL |
| Category | Modifier Commands |
| GUID | {1F91F963-F612-46D4-A453-4B81096121A9} |
| Source Name | CreateDisplaceModifier |
| Interface Name | DisplaceModifier |
| Core | No |
| Sample | Yes |
| Access | Modify [mesh] option on main menu or mesh command menu. |
For more information: