Terrain Compound Object

The Terrain compound object creates planet surfaces from contour-line data.

To produce a terrain, you select editable splines representing elevation contours and then click Terrain, whereupon 3ds Max generates a mesh surface over the contours. You can also create a "terraced" representation of the terrain object so that each level of contour data is a step, resembling traditional study models of land forms.

Using contours to build a terrain:

Inset left: The contours

Inset right: The terrain object

Main: Terrain object used as the basis of a landscape

You can import an AutoCAD drawing file to use as contour data. When you do so, 3ds Max names each object based on the AutoCAD object's layer, color, or object type, appending a number to each name. For example, an AutoCAD object on the layer BASE becomes an object named BASE.01. See Importing DWG Files for more information.

After you import or create the contour data, select the objects, and click the Terrain button, 3ds Max creates a new triangulated mesh object based on the contour data. The name of the first selected spline becomes the name of the terrain object. Other splines in the selection are treated according to the previously set Reference, Move, Copy, or Instance selection in the Pick Operand rollout, described below.

Keep in mind that the Terrain object can use any spline objects as operands, whether they are horizontal splines or not. Though the most common scenario is when sets of elevational contours are used to create terrain forms, it is possible to append or refine Terrain objects by using non-horizontal splines.

Note: To ensure that 3ds Max imports polylines as splines, when you import an AutoCAD drawing file, turn off Import AutoCAD DWG File dialog Geometry Options group Cap Closed Entities.

Following are examples of uses of the Terrain feature:

Procedures

To analyze elevation changes:

  1. Import or create contour data.
  2. Select the contour data, then click the Terrain button.
  3. On the Color By Elevation rollout, enter elevation zone values between the maximum and minimum elevations in the Base Elev box. Click Add Zone after entering the value.

    3ds Max displays the zones in the list under the Create Defaults button.

  4. Click the Base Color swatch to change the color of each elevation zone. For example, you could use a deep blue for low elevations, a light blue for intermediate elevations, and perhaps greens for higher elevations.
  5. Click Solid To Top of Zone to see the elevation changes in a striped effect.
  6. Click Blend To Color Above to see the elevation changes blended.

Interface

Name and Color rollout

Displays the name of the terrain object. 3ds Max uses the name of one of the selected objects to name the terrain object.

Pick Operand rollout

Pick Operand
Adds splines to the terrain object. You might do this if you didn't select all the objects before generating the terrain object, or if some objects in the imported data weren't included in the terrain object. You can also use this option to add existing splines in the current scene to the terrain object.
Reference/Copy/Move/Instance
When you click Pick Operand, the copy method you designate determines how the operands are used. When Move is the method, the original contour data is moved from the scene and into the operands of the new terrain object. Copy, Reference, and Instance retain the original contour data in the scene and create copies, references or instances of the contour data as operands in the terrain object. This is similar to the copy method for Boolean.
Override
Allows you to select closed curves that override any other operand data within their interior. Within the area an Override operand encloses (as seen in plan), other curves and points of the mesh are disregarded and the elevation of the Override operand supersedes them. An Override operand is indicated in the operands list by a # after its name. Override is only effective on closed curves. If multiple override operands overlap, later overrides (higher operand numbers) take preference.

Parameters rollout

Operands group
[list of operands]
Displays the current operands. Each operand is listed as "Op" followed by a number and the name of the object that is being used as the operand. The operand name comprises layer, color, or object type name plus a numeric suffix.

Use standard mouse-based methods to highlight list members: Click to highlight a single entry; drag or Shift+click to highlight a range; Ctrl+click to toggle highlighting of a single entry without changing other entries’ status.

Delete Operand
Deletes highlighted entries in the Operands list.
Form group
  • Graded Surface Creates a graded surface of the mesh over the contours.

    Terrain created as a graded surface

  • Graded Solid Creates a graded surface with skirts around the sides and a bottom surface. This represents a solid that is visible from every direction.
  • Layered Solid Creates a "wedding cake" or laminated solid similar to cardboard architectural models.

    Terrain created as a "layered solid" surface, with levels

Stitch Border
When on, suppresses the creation of new triangles around the edges of terrain objects when edge conditions are defined by splines that are not closed. Most terrain forms display more reasonably when this is turned off.
Retriangulate
The basic Terrain algorithm tends to flatten or notch contours when they turn sharply upon themselves. A typical situation in which this may happen is when a narrow creek bed is described with contours; the resulting form may look more like a series of cascades at each elevational contour, rather than a smoothly descending ravine. When Retriangulate is checked, a somewhat slower algorithm is used that follows contour lines more closely. This may be particularly evident in the Layered Solid display mode. For additional precision, try using Retriangulate in conjunction with horizontal interpolation.
Display group
  • Terrain Displays only the triangulated mesh over the contour line data.
  • Contours Displays only the contour line data of the terrain object.
  • Both Displays both the triangulated mesh and the contour line data of the terrain object. You can select the terrain object by clicking its surface, but not by clicking a contour line. When Both is selected, contour lines may not be apparent in Wireframe display modes or when Edged Faces are displayed.
Update group

The items in this group box determine when 3ds Max recalculates the projection for the terrain object. Because complex terrain objects can slow performance, you can use these options to avoid constant calculation.

  • Always Updates the terrain object immediately when you change an operand, including the original object of an instanced or referenced operand.
  • When Rendering Updates the terrain object when you render the scene or when you click Update. With this option, viewports won't show current geometry unless you click Update.
  • Manually Updates the terrain object when you click Update.
Update
Updates the terrain object. This button is not enabled only when Always is the active option.

Simplification rollout

Horizontal group
  • No Simplification Uses all the operands' vertices to create a complex mesh. This results in greater detail and a larger file size than the two fractional options.
  • Use 1/2 of Points Uses half the set of vertices in the operands to create a less complex mesh. This results in less detail and a smaller file size than using No Simplification.
  • Use 1/4 of Points Uses a quarter of the of vertices in the operands to create a less complex mesh. This results in the least detail and smallest file size of these options.
  • Interpolate Points * 2 Doubles the set of vertices in the operands to create a more refined but more complex mesh. This is most effective in terrain forms that use constructive curves such as circles and ellipses. This results in more detail and a larger file size than using No Simplification.
  • Interpolate Points * 4 Quadruples the set of vertices in the operands to create a more refined but more complex mesh. This is most effective in terrain forms that use constructive curves such as circles and ellipses. This results in more detail and a larger file size than using No Simplification.
Vertical group
  • No Simplification Uses all the spline operands of the terrain object to create a complex mesh. This results in greater detail and a larger file size than the other two options.
  • Use 1/2 of Lines Uses half the set of spline operands of the terrain object to create a less complex mesh. This results in less detail and a smaller file size than using No Simplification.
  • Use 1/4 of Lines Uses a quarter of the of spline operands of the terrain object to create a less complex mesh. This results in the least detail and smallest file size of the three options.

Color by Elevation rollout

Maximum Elev.
Displays the maximum elevation in the Z axis of the terrain object. 3ds Max derives this data from the contour data.
Minimum Elev.
Displays the minimum elevation in the Z axis of the terrain object. 3ds Max derives this data from the contour data.
Reference Elev.
This is the reference elevation, or datum, that 3ds Max uses as a guide for assigning colors to zones of elevation. After entering a reference elevation, click the Create Defaults button. 3ds Max treats elevations above the reference elevation as solid land and those below the reference elevation as water.

If you enter a value no greater than the minimum elevation in the object, 3ds Max divides the range between the reference and minimum elevations into five color zones: dark green, light green, yellow, purple, and light gray.

If you enter a value between the minimum and maximum elevations, 3ds Max creates six color zones. Two zones (dark blue and light blue) are used for elevations below the reference elevation. These are considered to be under water. One zone (dark yellow) is used for a narrow range around the reference elevation. Three zones (dark green, light green, light yellow) are used for elevations above the reference elevation.

If you enter a value at or above the maximum elevation, 3ds Max divides the range between the minimum and reference elevations into three zones (dark blue, medium blue, light blue).

Zones by Base Elevation group
Create Defaults
Creates elevation zones. 3ds Max lists the elevation at the bottom of each zone, referenced to the datum (the reference elevation). 3ds Max applies the color of the zone at the base elevation. Whether the colors blend between zones depends on your choice of the Blend to Color Above or Solid to Top of Zone option.
Color Zone group

The items in this group box assign colors to elevation zones. For example, you might want to change levels of blue to indicate the depth for water. Your changes in the Color Zone area don't affect the terrain object until you click the Modify Zone or Add Zone button.

Base Elev
This is the base elevation of a zone to which you assign color. After entering a value, click Add Zone to display the elevation in the list under Create Defaults.
Base Color
Click the color swatch to change the color of the zone.
  • Blend to Color Above Blends the color of the current zone to the color of the zone above it.
  • Solid to Top of Zone Makes a solid color at the top of the zone without blending to the color of the zone above it.
Modify Zone
Modifies selected options of a zone.
Add Zone
Adds values and selected options for a new zone.
Delete Zone
Deletes a selected zone.