Terrain height
After reading this page:
- you've learned about Terrain Height
- you've learned how terrain height is implemented in the Tygron Engine
- you've learned how to add or remove terrain height with the terrain height brush panel
- you've learned how to change terrain height
Terrain height
- Terrain height is the whole of differences of terrain elevation in a given area, the quantitative measurement of vertical elevation change in a landscape. Terrain is used here as a general term in physical geography, referring to the lay of the land. This is usually expressed in terms of the elevation, slope, and orientation of terrain features. Terrain height - as element of a terrain - affects surface water flow and distribution. Over a large area, it can affect weather and climate patterns.
Terrain height in the Tygron Engine
- In the Tygron Engine, as well as in real life, terrain height can be of high importance. The terrain of an area largely determines its suitability for constructions: flatter, alluvial plains are suitable, while elevated slopes are not suitable for constructions. In terms of environmental quality, agriculture, and hydrology, understanding the terrain of an area enables the understanding of watershed boundaries, drainage characteristics, water movement, and impacts on water storage. A lower terrain is more prone to flooding, a flat terrain is immediately suitable for constructions. When an area is low and flat, this makes for an interesting water storage challenge if the area is build up with constructions.
Adding or removing terrain height
Editor→Editor Menu Bar→3D world→Terrain Height
- When a game is created in the Tygron Engine, all terrain is flat. To add relief in the form of terrain height, the user has a specific tool at disposal: the height tool brush.
The Terrain Height Brush panel
Editor→Editor Menu Bar→3D world→Terrain Height
- Below is an image of the Terrain Height Brush Panel. This tool looks like the more common brush panel, but is adjusted to be able to draw in terrain height in the 3D world.
Start/ stop drawing
- The top button on the panel is called "Start Drawing" by default when loading the panel. This first button (de)activates the Terrain Height brush panel, by selecting the button named "Start Drawing" the rest of the options become available on the panel. Selecting this button - now named "Stop Drawing" - deactivates the panel again, greying out the options.
- TerrainHeightBrushPanel3.jpg
Terrain height brush panel inactive
- TerrainHeightBrushPanel2.jpg
Terrain height brush panel active
Radius
- The first slider from the top is called "Radius". The radius slider refers to how big the area is that the cursor will affect when changing the terrain's height. The more to the right the slider is positioned, the larger the area of effect is.
- TerrainHeightBrushPanelRadius.jpg
Terrain height brush panel radius slider
Press
- The second slider from the top is called "Press" - for "Pressure". The press slider refers to how fast the area will be affected when changing the terrain's height. The more to the right the slider is positioned, the faster the area effect will draw, making it possible to quickly raise terrain. If the slider is positioned more to the left side, the height effect can be finely adjusted.
- TerrainHeightBrushPanelPress.jpg
Terrain height brush panel press slider
Clear
- The following item is the "Clear" button. With this button, any area that the brush 'paints' will return to it's default flat state. Selecting this button, and then dragging the cursor over the area with the left mouse button pressed, will bring all terrain height in the are back to it's original state: flat.
- TerrainHeightBrushPanelClear.jpg
Terrain height brush panel clear button
Flatten
- The button on the right of the "Clear" button is called "Flatten". With the "Flatten" button, any area that the brush 'paints' will be flattened while maintaining it's relief. This is useful to be able to place constructions on en elevated or lowered area, as constructions can only be placed on flat surfaces.
- TerrainHeightBrushPanelFlatten.jpg
Terrain height brush panel flatten button
Raise
- The button under the "Clear" button is called "Raise". With the "Raise" button any area that the brush 'paints' will be raised in elevation, in order to create terrain height, such as hills or other relief.
- TerrainHeightBrushPanelRaise.jpg
Terrain height brush panel raise button
Lower
- The button under the "Flatten" button is called "Lower". With the "Lower" button any area that the brush 'paints' will be lowered in elevation, in order to create terrain effects such as valleys or even open (polder) water.
- TerrainHeightBrushPanelLower.jpg
Terrain height brush panel lower button
Reset Changes
- The next button is called "Reset Changes". This button makes it possible to quickly undo any changes. With this button any changes that are not confirmed/ applied yet will be reverted.
- TerrainHeightBrushPanelResetChanges.jpg
Terrain height brush panel reset changes button
Apply Changes
- The last button, on the bottom of the panel, is called "Apply Changes". This button confirms changes made with the terrain height brush. After applying these changes it is not possible to revert them anymore. Only by using the terrain height brush again, can the terrain height be adjusted in the selected area.
- TerrainHeightBrushPanelApplyChanges.jpg
Terrain height brush panel apply changes button
Adding terrain height
Editor→Editor Menu Bar→3D world→Terrain Height
How to add terrain height:
- Open the Terrain Height Brush Panel
- Select "Start Drawing"
- Adjust the Radius and Press sliders as desired
- Select the brush type Raise, Flatten or Lower
- adjust terrain height by pressing and holding the left mouse button while drawing in the 3D world
- Confirm the changes by selecting "Apply changes"
Removing terrain height
Editor→Editor Menu Bar→3D world→Terrain Height
How to add terrain height:
- Open the Terrain Height Brush Panel
- Select "Start Drawing"
- Adjust the Radius and Press sliders as desired
- Select the brush type Clear
- Adjust terrain height by pressing and holding the left mouse button while drawing in the 3D world
- Confirm the changes by selecting "Apply changes"