The Edit Terrain Tool allows users to easily manipulate the surface structure of a terrain.
The surface structure of a terrain is stored in a height map containing elevation values that build up the terrain. Each elevation value lies within a certain value range whereas higher values mean a higher terrain elevation at this position (please refer to the Heightmap Wikipedia article for more information on height maps).
To visualize this elevation values 3-dimensionally the engine create a smooth terrain surface model from the height map.
This tool lets the user modify the elevation values of a terrain by presenting them as a 2-dimensional height map that can be edited similar to a paint program as well as a 3-dimensional surface structure.
You can activate the Edit Terrain tool by clicking on the related icon marked in the left screen or by pressing the
SHIFT+F keyboard shortcut.
To create an editable terrain please refer to The New Terrain Tool.
The tool is mainly composed of three parts:
The 2D and 3D view let you select and modify terrains with your mouse and therefore incorporate the tools main functionality. The dialog lets you change tool parameters and select different terrain editor sub tools (informations on tool parameters and sub tools are explained in detail below).
The terrain editor always works within a adjustable circular area that is visualized in the top down 2D view as well as in the 3D view as seen in the images on the right.
To modify a terrain you first have to select one by clicking on it. Then you can see the red circle at the position of your mouse cursor (if it is inside the bounds of the selected terrain) showing the area of the terrain that will be affected by the currently active sub tool.
By left clicking you can modify the terrain in the area of effect. You can even hold down the left mouse button and move the mouse to easily modify the terrain along your mouse movements.
This tool handling is the same in the 2D and 3D views and allows to easily switch between 2D and 3D view editing according to the user preference.
When a terrain isn't selected by the terrain editor it is rendered like every other brush so just its center point and bounding box is visible (in the same way as it is rendered if the terrain editor tool is inactive).
To select a terrain for editing you have to click either on the edges of its bounding box or on its center point in the same way as with The Selection Tool.
When a terrain is selected its height map is rendered in a gray scale mode in the 2D view. Looking at the image to the left you can see that higher elevations are rendered brighter whereas lower elevations are rendered darker. This lets the user easily assess and modify a terrains surface structure even from a non 3-dimensional view.
The tool cursor (the red circle) shows the current tool position and affected area and will always be set to the mouse position in the 2D view (as long as the mouse is positioned inside the bounding box of the terrain).
The 2D view has a context menu when the terrain editor tool is active. It lets you adjust the appearance of the terrain in the 2D view.
A terrains surface structure is rendered in the 3D view surface regardless if the tool is active or inactive or if the terrain is selected by the terrain editor or not.
The only difference is that you will see the circular tool cursor on the terrains surface if the terrain is selected and the tool is active.
To select a terrain in the 3D view you just click on it in the same way as with The Selection Tool.
The tool position is placed where the mouse cursor hits the terrain, so in contrary to the 2D view where you work from a top down view onto the terrain, you can modify the terrain 3-dimensionally and easily work on the slope of a mountain for example.
An exception of this rule takes effect when the tool is actively used (e.g. the user flattens a part of the terrain). To avoid “jumping” of the tool cursor it is no longer placed where the mouse cursor hits the terrain but instead on a even plane. This makes using the tool in the 3D view more intuitive.
Since the terrain editor tool visualizes changes to the terrains height data in real time, the surface of the terrain must also be updated each time the user modifies the terrain.
Because updating the terrain surface is a costly operation, a faster operation is used to update the terrain surface while actively working with a tool (e.g. raising parts of a terrain with the left mouse button down). In consequence the terrain surface will be updated with smaller detail in real time and the final high quality terrain surface is calculated when the user stops using an editing tool (releases the left mouse button).
Where the views allow you to modify the terrains height data at the tool position, the terrain editor dialog allows you to select different sub tools of the terrain editor and to adjust parameters for this tools. Furthermore you can change properties of the whole terrain with it.
At the top of the dialog you can see the toolbar with buttons for each sub tools (these sub tools are explained in the next chapter).
Following are 3 tool option sliders that let you adjust tool functionality:
At the bottom of the dialog you can find options that affect the whole terrain.
The terrain generation dialog allows for this. By specifying a set of input parameters it lets you create different base terrains and shows the result in real time in a preview window.
You can also find very good and more technical descriptions of these parameters in the libnoise glossary.
Since modifying terrains isn't a matter that can be handled by a single tool, the terrain editor consists of several sub tools that modify the terrain in their own way.
| While working on your terrain you can undo/redo each step you made by either using The Edit Menu or the undo/redo shortcuts
This tool allows you to raise the terrain inside the tools area of effect. A high hardness will result in hard edges along the tool circles border and the tool effect determines the amount of world units by which the terrain is raised.
The following images show the usage of the raise tool with a low and high hardness:
This tools lowers the terrain inside the tool circle. A high hardness results in hard edges along the tool border and the tool effect determines how much the terrain is lowered.
Note that you can easily switch between the raise and lower tool using the middle mouse button. The following images show the usage of the lower tool with a low and high hardness:
The flatten tool like its name says flattens the terrain in its area of effect. The tool effect has no meaning for it and is therefore not accessible. The hardness works as with every other tool.
The special thing about the flatten tool (and also the following two tools) is that it needs a reference height value. This is the height everything is flattened to.
To get a reference value you have to pick up one from the existing terrain elevations. This is either done by activating the Eyedropper mode by holding down the
ALT key and then clicking on the position from which you want to pick up the height value (this works regardless of the activated sub tool).
Another way to pick up a height value is to use the middle mouse button (this only works for the flatten, fill and ablate sub tool).
The following screenshots show usage of the flatten tool with a reference height between the two hills visible in the screens. As you can see everything is flattened to the same height.
Works in the same way as the flatten tool with the exception that only those parts of the terrain are flattened that lie below the reference height value. This allows you to easily fill up valleys while leaving mountains as they are.
Using the fill tool with the same reference height as in the example above results in the flattening of all parts of the terrain except the top of the first hill.
Works in the same way as the flatten tool with the exception that only those parts of the terrain are flattened that lie above the reference height value. This allows you to easily ablate mountains while leaving valleys as they are.
As shown below the ablate tool only cuts the top of the first hill and leaves everything else as it was.
The blur tool will soften the terrain by reducing the elevation difference between the height values in the area of effect. The result is a smoother less edged terrain surface.
The tool effect determines how much the terrain surface is blurred/smoothened.
This is the contrary to the blur tool. It sharpens the edges of a terrain surface by increasing the elevation difference between height values and thus creating a more rocky/edgier terrain surface.
Again the tool effect determines how intensive the sharpening is.
The noise tool raises and lowers parts of the terrain in the area of effect at random. This makes the terrain in this area bumpier and adds structure to a flat surface.
The tool effect determines the maximal height difference between the current elevation and the randomly chosen one. A high tool effect makes the terrain more bumpy a low tool effect less.
Unless you want to leave your terrains completely natural realistic roads are an important part of them. A road is an even plane that runs along a specific path through the terrain and might also have a slope between its starting and end point.
The road tool lets you specify the path that builds up the road and automatically creates a slope between the elevation at the roads beginning and end.
To create the roads path you have to click onto different points inside your terrain that make up the final road path. You can also hold down your left mouse button and continuously create road points while moving the mouse to create smooth curves.
To finally create the road, you have to press the
RETURN key and the road is constructed. You can also undo road points by clicking the middle mouse button or pressing the
The hardness determines if the road has a sharp edge to the surrounding terrain or smoothly blends into the terrain.
At this point you can't create terrain textures using CaWE and have therefore to rely on other external tools. Assigning a texture is done using The Edit Surface Properties Tool.
To create a texture you have to export your terrains height data and import it in an external program that allows you to create a surface texture for your terrain.
Possible solutions are Terragen and World Machine.