This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Программирование на C#
Рендеринг
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Setting Up Properties
Освещение
Landscape Tool
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
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
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Generating the Terrain and Objects

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.

Generation#

Sandworm stores the paths to all data sources as well as all generation parameters in an asset. So, after setting up all output parameters, save the Sandworm project by choosing File -> Save, or File -> Save As and specifying the name and path for your asset.

The generation-related settings are available in the following window:

The button is used to clean the cache folder.

You can modify the output path for the generated terrain data and for cache.

Notice
Object Landscape Terrain data shall be stored within the File System of your project (in the /data folder or on a mount), otherwise the terrain won't be generated.

If any parameters required for generation have not been set, they are highlighted red and clickable. Clicking on the highlighted words opens the corresponding output settings for adjustment.

To generate the terrain, define the required output settings and click the Generate button.

As a result of the terrain generation, Sandworm creates the hierarchy of nodes that can be seen in the World Nodes window. The scope of nodes depends on the Format selected in the Output settings:

  • ObjectLandscapeTerrain
  • LandscapeLayerMap object with the layer name for every created layer
  • BoundsNodeDummy objects marking the Export Area limits (you can use them to quickly move the camera to the corresponding point in the world)
  • Sandworm Camera — the camera placed above the center point of the terrain. Switch the camera to immediately display the created terrain in the Editor Viewport.
  • Other nodes depending on the added source data

Regeneration#

The process of generating a terrain after introducing updates depends on the selected output format.

Object Landscape Terrain#

Regeneration of Object Landscape Terrain is performed by clicking the Generate button after introducing any changes. The generation process will take less time, as the data is stored in cache.

Notice
All manual changes of the terrain (done via UnigineEditor) will be lost.

Object Terrain Global#

Regeneration of Object Terrain Global can be done for selected data layers.

Thus, only the selected data layers will be regenerated without any changes in other layers, which is useful when some layers have been manually edited using brushes, and you don't want to regenerate them.

Last update: 09.04.2021
Build: ()