This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Effects
Decals
光源
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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 Optimization
Materials
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Importing Height Map from World Creator 2

Export Settings#

Dimensions#

When exporting a heightmap from World Creator 2, pay attention to the following parameters in the Base Properties panel:

  • Terrain Width and Terrain Length (in meters) define the physical size of the terrain.
  • Precision defines the resolution of the output heightmap, i.e. how many meters there are in one pixel.
  • Resolution (in Pixel) of the heightmap which is generated from the terrain.

Check also the Min and Max height values of your heightmap in the top left corner. They are required, if you import your heightmap as normalized.

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 export settings for the heightmap, enable Split, define the Tile size (the power of 2), and disable Include Border:

Export Format#

When exporting the terrain, 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 Min and Max 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 Terrain Width and Length in World Creator 2.
  • Check the Current Data Density value. It shows the meter-to-pixel ratio, the same as Precision in World Creator 2.
  • In the Import settings section, check the Resolution values. They define the resolution of the heightmap in pixels. 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: 2021-04-29
Build: ()