Terrain Page
From C4 Engine Wiki
The Terrain Page is a tool page in the C4 Engine World Editor. It can be displayed by selecting Terrain from the Page menu.
Shown in Figure 1, the Terrain page contains all of the tools associated with creating and editing terrain.
Terrain Blocks
The Terrain Block tool is used to create a new terrain block. A terrain block can be initialized with a flat plane or with data from a height field texture. Then the terrain editing tools can be used to modify the geometry that is created.
Brush Shape
Terrain geometry is edited using additive and subtractive sculpting brushes having various shapes. Terrain textures are also edited using the same brush shapes. The size of a brush is measured in voxels and is controlled by the Brush Radius slider.
Brush Position
The position of a brush is controlled by two settings. The Brush Offset slider specifies how far above or below the terrain surface the center of the brush should be moved as you are drawing. When it is set to 0%, the center of the spherical or cylindrical brush coincides with the point clicked on the terrain surface. A value of +100% means that the brush is raised outward by its full radius, meaning that a spherical brush barely skims the surface and the base of a cylindrical brush is tangent to the surface. A value of −100% goes the other way, moving the brush inward by its full radius.
Once you've begun drawing by clicking a brush on a piece of terrain, where it can go from there is controlled by the Plane menu. There are three drawing planes that constrain the brush to a flat plane containing the point originally clicked, and there is a special mode that allows the brush to follow the contours of the existing terrain surface. The four settings available in the Plane menu are as follows.
- Follow Surface. The brush follows the contours of the terrain surface that existed before the mouse was clicked. Changes to the surface before the mouse button is released do not influence the position of the brush at all.
- Horizontal Plane. The brush is constrained to the horizontal plane containing the starting point that was clicked on.
- Tangent Plane. The brush is constrained to the plane tangent to the starting point that was clicked on.
- Camera Plane. The brush is constrained to the plane containing the starting point and perpendicular to the direction in which the camera is facing.


