This page has been translated automatically.
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 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
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

Generating Details

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.

Details serve to achieve realistic visual representation of the terrain. They can be seen as layers (or masks) specifying where the additional features (such as rocks, sand, etc.) are located on the basic surface. Details are generated on the basis of landcover data available.

Let's review the process of generating details.

Notice
It is assumed that you have already added the data required for the terrain surface.

The process in general can be seen as picking the specific data from the data source with the help of filters to create a mask.

1. Adding a Landcover Data Source#

  1. In the Sandworm window, Sources panel:

    • Clicking on Mask opens the window for adding slots. Slots are designed to organize data into different terrain masks.
    • Clicking on + Add Layer provides the toolset for uploading landcover data.
  2. When adding a layer, define the type of Data Source to be used: Assets or External Files and click Import.

  3. In the window that opens, select the landcover data source to be used as a mask. R8 and RGB8 mask textures are supported.

When the mask is added, its image is displayed atop all the layers in the Preview panel (the order of layers display may be changed by RMB click on a layer in the list of sources), and the Mask layer parameters become available.

2. Specifying Filters#

  1. Add filters that will select the areas from the data source for each type of landcover object you are going to generate. Click the Add button in the Filters window of the Parameters panel.

    Double-click on the filter to specify a filter name. To remove a filter use Remove button. You can add as many filters as necessary.

    The Share button allows shared use of the filter among masks. Select the mask that will share this filter in the pop-up window. Changes in a shared filter will be applied to it in all masks.

  2. Select a slot from those created by you (Inputs -> Mask). Slots are designed to organize data into different terrain masks.
  3. For every filter, type should be set to select certain data from the landcover data source. The following types of filters are available:

    • Indexed — select a particular color index from the list of available ones in the source raster image. You can also specify the color range by indices (from color to color).

    • Single Channel — select a channel of the source raster image.

    • Color — set a particular color taken from the source raster image and adjust the Range for it, thus defining the suitable deviation from the specified color.

      Click the color to open the color settings:

      Select the color from available or click Pick Screen Color to select the color from the image in the Preview panel:

This is it. The data for details are ready. After terrain generation they will be available as the terrain details.

Generating Details#

Now you need to configure the output settings and generate (or regenerate) the details by clicking the Generate button.

The generated details are available in your project and can be configured as you need, depending on the output terrain object selected:

Last update: 2021-09-30
Build: ()