Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Art Samples
Tutorials

Creating a Landscape

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Engineering / Sim SDK edition to use it.

This chapter lists the steps required to provide the source data required for generating the landscape.

1. Specifying Data Source Type#

A new Landscape Terrain object is generated on the basis of georeferenced data (both offline and online) that contain elevation (hight) and imagery (color) information. Therefore, to create a landscape, you need to upload the data relevant to the following two source types:

Notice
If you want to create a Landscape Terrain using non-georeferenced data, or sculpt it from scratch with brushes you can do that right in UnigineEditor, the Sandworm tool is not required.

2. Specifying Data Source Parameters#

When you select a data source, you can see its parameters in the Parameters panel. The contents of this panel differs depending on the layer type:

  • Georeferenced Tiles — for adding offline data stored on the PC.
  • TMS — for using online data by adding the link.
Notice
TMS data source is currently available for Elevation and Imagery layers only.

Offline Data Sources#

To use data stored on the PC, the Georeferenced Tiles layer type should be used.

Select the data source type:

  • Assets — files that are added to the file system and are a part of the project. Depending on the size of assets, they can be stored in the /data directory or added as a mount. This approach especially is recommended for team work.
    Notice
    It is recommended to import image files as Unchanged, in order to avoid creating the unnecessary runtime files.
  • External Files, which are not a part of the file system. This type of data source may be useful, if the file extension is unknown to the file system. However, keep in mind that if you share this project, the path to the external file has to be updated accordingly.

Click Import. The dialog window will open to set the path to the data source. If the data source consists of several files/assets, select them all, and they will be added as separate layers.

Online Data Sources#

The TMS layer type is designed for using Tile Map Services for the terrain generation. This option is available for the Elevation and Imagery data types.

For online data, the following settings are available:

URL A URL of the online data source. The scope of data is defined by the bounds.
A link to a Tile Map Service inserted as the URL should have x, y, and z embraced into curly brackets ({}).
For example:
  • The link to the OpenStreetMap tile map service (http://a.tile.openstreetmap.org/z/x/y.png) should be used as follows:
    http://a.tile.openstreetmap.org/{z}/{x}/{y}.png
  • The link to ArcGIS Online data (https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/z/y/x.png) should be used as follows:
    https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}.png

For sources that require tokens, the link should be arranged in the following way:
https://api.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=your_token
Notice
The sources that require login and password input are currently not supported.
Zoom Zoom level that specifies the scale of the area map to be downloaded. Data providers have their own zoom levels defined, therefore, this value depends on the source. For example, OSM has the following zoom levels.
Take Bounds Encloses the area visible in the Preview window in the bounds (green frame). The data will be uploaded for the area within these bounds. The position of the tags defining the bounds can be modified, as required.

After the data parameters are set, click Import, and the data preview will be displayed. In case of heavy data, display of the preview may take some time.

What's Next#

In addition to the landscape surface, you might be willing to add various objects. Such objects normally represent two layers:

  • Natural layer — grass and trees. They are placed in certain areas of the landscape according to specified landcover tags using the Mask data source type and Grass and Mesh Clutter built-in nodes. The process of adding this type of data is described in the Vegetation workflow.
  • Cultural layer — buildings, landmarks, etc. These data are added using the Vector data source type. The workflows are slightly different depending on the type of objects:
    • Point Objects — for data on objects that are located at certain points.
    • Buildings — for data on buildings that includes the number of floors, the building dimensions, the type of building and any other relevant information.

As soon as you have added all source data, you need to decide on the output details, such as export scope and format, and finally generate the landscape with all the added data.

Last update: 2021-02-17