This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
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

生成详细信息

警告
本文介绍的功能在 Community SDK 版本中不可用。
您应该升级到 Engineering / Sim SDK版本才能使用它。

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.让我们回顾一下生成细节的过程。

注意
It is assumed that you have already added the data required for the terrain surface.假设您已经添加了所需的数据地形表面.

Adding a Landcover Data Source and Specifying Tags添加 Landcover 数据源并指定标签#

The process in general can be seen as picking the specific data from the data source with the help of tags to create a mask.该过程通常可以看作是在标签的帮助下从数据源中挑选特定数据以创建掩码。

  1. In the Sources panel, add a landcover data source as Mask.Sources 面板中,将土地覆盖数据源添加为 Mask

    注意
    R8/16/32F and RGBA8/16/32F mask textures are supported.支持 R8/16/32FRGBA8/16/32F 蒙版纹理。
  2. In the added source, add tags that will act as a filter selecting the areas from the data source for each detail you are going to generate. Click the Add button in the Tags window of the Parameters panel.在添加的源中,add标签它将充当过滤器,为您将要生成的每个细节从数据源中选择区域。单击 Parameters 面板的 Tags 窗口中的 Add 按钮。

    Double-click on the tag to specify a tag name. To remove a tag use Remove button.双击标签以指定标签名称。要删除标签,请使用 Remove 按钮。

  3. For every tag, filters should be set to select certain data from the landcover data source. You can add as many filters as necessary. 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).Indexed — 从源光栅图像的可用索引列表中选择一个特定的颜色索引。您还可以通过索引(从颜色到颜色)指定颜色范围。

    • Single Channel — select a channel of the source raster image.Single Channel — 选择源光栅图像的通道。

    • Color — set a particular color taken from the source raster image and specify a threshold for it thus defining a range.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从可用颜色中选择颜色或单击 Pick Screen ColorPreview 面板中的图像中选择颜色

This is it. The data for details is ready.就是这个。详细资料已准备就绪。

Generating Details生成详细信息#

Now you need to configure the output settings and generate (or regenerate) the details by clicking the Generate button.现在你需要配置输出设置产生(或者再生) 通过单击 Generate 按钮查看详细信息。

The generated details are available in your project and can be configured as you need, depending on the output terrain object selected:生成的详细信息在您的项目中可用,并且可以根据需要进行配置,具体取决于输出地形对象选择:

最新更新: 2021-07-09
Build: ()