This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
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
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Importing Height Map from World Machine

Export Settings#

Dimensions#

When exporting a heightmap from World Machine, pay attention to the following parameters (available via World Commands -> Project World Parameters…):

  • Width and Height define the physical size in kilometers.
  • Resolution sets the size of the output heightmap in pixels.
  • Detail scale provides the info on the resolution of the output heightmap, i.e. how many meters there are in one pixel.

Elevation is available in the General Setup tab of the Project Settings window.

Tiling#

For large-scale terrains (more than 8K), export in tiles is recommended, this helps to avoid RAM limitations, especially when using 32 bit textures. The minimum recommended tile size is 1024 to avoid visual tiling artifacts. To do that, in the Project Settings on the Tiled Build Options tab (available for the Professional Edition), set the Tile Resolution and the number of Tiles per Side, check the Final Resolution:

And export the height map by selecting Tiled Build:

Export Format#

In the Heightfield File Output settings, select the suitable export format. UNIGINE allows importing 8, 16, and 32-bit heightmaps.

Notice
The RAW format is not supported.

Importing#

The exported heightmap is imported to UNIGINE as follows. In the Landscape Layer Map:

  • In the Import Maps section, select the heightmap file you want to import.
    • For the normalized heightmap, indicate the minimum and maximum heights taken from the Base Elevation and Maximum Elevation values.
    • The unnormalized map does not require setting the height values.
  • In the Landscape Asset section, set the actual size of your terrain in meters, the same as in Width and Height in World Machine.
  • Check the Current Data Density value. It shows the meter-to-pixel ratio, and should correspond to the Detail Scale value.
  • In the Import settings section, check the Resolution values. They define the resolution of the heightmap. They are set automatically in most cases, but can also be adjusted, if required.

If the heightmap is represented by a tileset, set the corresponding data-filling pattern.

Click Reimport.

Last update: 17.02.2021
Build: ()