Terrain height

From Tygron Support wiki
Revision as of 14:41, 22 August 2014 by Joris (talk | contribs) (→‎Press)
Jump to navigation Jump to search

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

File:TerrainHeightLogo.jpg

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.

borderless

Adding or removing terrain height

EditorEditor Menu Bar→3D world→Terrain Height

File:TerrainHeightBrushPanel1.jpg
Drawing Terrain Height in 3D world
When a game is created in the Tygron Engine, all terrain is flat. To add relief in the form of terrain height, a specific tool is available - the height tool brush.

The Terrain Height Brush panel

EditorEditor 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.
File:TerrainHeightBrushPanel2.jpg
Terrain Height Brush Panel


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.

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.

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 will adjust, making it possible to quickly alter terrain. If the slider is positioned more to the left side, the height effect can be finely adjusted.

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.

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.

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.

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.

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.

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.

Adding terrain height

EditorEditor Menu Bar→3D world→Terrain Height

How to add terrain height:
  1. Open the Terrain Height Brush Panel
  2. Select "Start Drawing"
  3. Adjust the Radius and Press sliders as desired
  4. Select the brush type Raise, Flatten or Lower
  5. Adjust terrain height by pressing and holding the left mouse button while drawing in the 3D world
  6. Confirm the changes by selecting "Apply changes"

Removing terrain height

EditorEditor Menu Bar→3D world→Terrain Height

How to add terrain height:
  1. Open the Terrain Height Brush Panel
  2. Select "Start Drawing"
  3. Adjust the Radius and Press sliders as desired
  4. Select the brush type Clear
  5. Adjust terrain height by pressing and holding the left mouse button while drawing in the 3D world
  6. Confirm the changes by selecting "Apply changes"

How to change terrain height

Changing terrain height is identical to adding or removing terrain height. The only difference is that the change takes place on already existing terrain elevation. It might be desired to adjust already existing terrain height; for instance to flatten hills in order to make constructions possible.