This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
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
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Creating Landscape

To generate a basic landscape we need elevation/height and imagery/color data.

See Also#

Check this video from the series of video tutorials on the terrain generation using Sandworm:

Adding a Georeferenced Image#

We are going to add georeferenced images from the asset pack.

Adding Elevation/Height#

  1. Click + for Elevation/Height.

    The interface for adding a new source becomes available on the Parameters tab.

  2. Keep the source type as it is and click the folder icon:

  3. Select Assets, as you have already added the required files as assets to your project at its creation.
  4. In the Asset Browser, select sw_georeferenced/elev/elevation25mpx.tif.
  5. Click the Preview button and the preview for the added asset will be displayed on the Map tab. This step is optional, you can create the layer without generating the preview.

  6. Click the Create Elevation Layer(s) button and this source will be added to the Terrain Sources list.

Adding Imagery/Color#

Now let's add the Imagery sources. The process is mostly the same as for the Elevation source.

  1. Click + for Imagery/Color.

    The interface for adding a new source becomes available on the Parameters tab.

  2. Keep the source type as it is and click the folder icon:

  3. In the Asset Browser, open the data/sw_georeferenced/img/ folder, select all assets in it (Ctrl+A), and click OK.

  4. Click the Preview button and the preview for the added assets will be displayed on the Map tab. This step is optional, you can create the layer without generating the preview.

  5. Click the Create Imagery Layer(s) button and these sources will be added to the Terrain Sources list.

    In the Map window, the created sources are visualized with their boundaries. These boundaries define the scope of source data to be used for generation. By default, all source data is used for generation.

Adding a TMS Source#

Let's add an extra piece from a TMS source to try it out.

  1. Click + for Imagery/Color.

  2. Select TMS as the Source Type in the drop-down list.

  3. Add a TMS URL to download the data from. To add a URL, click the button:

    The table to manage TMS URLs will open. It's empty by default, so let's add an URL: https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}.png, type an alias that will be displayed in the drop-down list, and click Save Changes.

    For more details on adding TMS URLs see here.

  4. Set zoom level to 13. You can try higher levels, but they mean higher load. The preview generation process may take more time.

  5. Set the boundaries for the source, otherwise Sandworm doesn't know what data is required.

    The easiest way is to click the button — the area displayed on the Map tab will be enclosed in boundaries. You can scroll out and move the points, add more points or delete them.

  6. Click the Preview button and the preview for the added assets will be displayed on the Map tab. This step is optional, you can create the layer without generating the preview.

  7. Click the Create Imagery Layer button and this source will be added to the Terrain Sources list.

The last added layer is displayed on the preview. You can move it to the background using the context menu available on the right click on the corresponding terrain source or on the Map preview. If you click on the preview, make sure that the selection mode is enabled.

When generating a terrain, data with the higher density is selected from all available sources. Therefore, in our case the imagery of the terrain taken from ArcGIS will be taken only for the area where no data from assets is provided.

Generated Terrain#

The generated terrain will look as follows:

Generated Landscape Terrain

Here we can see both parts: high-density imagery data with height data in the foreground, and lower-quality imagery data with no height data in the background.

What Else#

  • Search for an elevation TMS source, because imagery added without elevation will look flat.
  • Remove or disable sources that you don't need.
  • Check the article on the elevation and imagery for a more detailed description of parameters.
Last update: 2024-08-16
Build: ()