Align terrain to shapes

The Align terrain to shapes tool Align terrain to shapes tool aligns terrains to selected shapes.

To align terrain to shapes, click the Align terrain to shapes tool Align terrain to shapes tool or click Terrains > Align terrain to shapes in the main menu.

Note:

The Align terrain to shapes tool Align terrain to shapes tool aligns one or all terrains to the shapes currently selected.

Tool settings

The Align terrain to shapes tool Align terrain to shapes tool has the following options:

Terrain

The terrain which should be aligned or All.

Raise terrain

If enabled, terrain vertices below selected shapes are aligned.

Maximal raise distance

If distance between terrain and shape is smaller, terrain vertices below shape are raised.

Lower terrain

If enabled, terrain vertices above selected shapes are aligned.

Maximal lower distance

If distance between terrain and shape is smaller, terrain vertices above shape are lowered.

Add border

If enabled, a small border region around the shapes is aligned, too.

Write cut/fill volumes to attributes

If enabled, for each selected shape cut/fill volumes in cubic meters are approximately calculated. The values are written into the object attributes (fields "cutVolume" and "fillVolume").

Smooth borders

Applies a smooth transition method at the border between the edited and the original terrain.

  • None: No smoothing is applied.
  • Smooth range: Applies smoothing to the terrain in which the relative height difference at the border is interpolated within the specified range defined in meters (see Border range).
  • Constant gradient: Applies a slope with a constant up or down gradient defined in degrees (see Border gradient).
Border range (m)
  • Radial range in meters in which to apply smooth transition.
  • Available for the Smooth range and the Constant gradient methods.
Border gradient (°)
  • The gradient in degrees of the border slope.
  • Available for the Constant gradient method.
Border easing
  • Applies a non-linear smoothing in order to avoid sharp edges at the inner and outer fronts of the border region.
  • When the toggle key is off, the smoothing is applied linearly.
  • Available for the Smooth range method.

Elevation delta maps

When aligning terrains, the original heightmap of the terrain is not modified. The elevation data is stored as a separate image file in a subfolder (named after the CityEngine scene) in the project's data folder. These files and folders should not be renamed or deleted. If required, however, you can modify the elevation delta image file with an image processing tool (e.g. apply blurring) and store it under the same name.

Tip:

Use the Align terrain to shapes tool Align terrain to shapes tool in conjunction with the interactive editing tools.