This page has been translated automatically.
Setting Up Materials
Setting Up Properties
Landscape Tool
Extending Editor Functionality
World Nodes
Sound Objects
Pathfinding Objects
Usage Examples
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
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
Art Samples


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

This chapter gives an overview of the Sandworm tool interface.本章概述了 Sandworm 工具界面。

Overview of the Terrain Generation Process地形生成过程概述#

In general, the process of generating the terrain in Sandworm is as follows:一般情况下,Sandworm中生成地形的过程如下:

  1. Prepare assets: source data for terrain (geodata-based maps or links to online geodata sources), vector data to generate roads and point objects, OSM data to generate buildings, masks to generate vegetation, nodes that will be used as roads, trees, and anything else generated according to your data.准备资产:源数据对于地形(基于地理数据的地图或在线地理数据源的链接)、用于生成道路和点对象的矢量数据、用于生成建筑物的 OSM 数据、用于生成植被的掩膜、将用作道路的节点、树木以及根据生成的任何其他内容到您的数据。
  2. Open Sandworm and add the terrain data: heights and imagery.打开 Sandworm并添加地形数据: 高度和图像。
  3. Add roads, point objects, vegetation, and buildings, if any.添加道路,点对象,植被, 和建筑物,如果有的话。
  4. Set masks, if necessary.面具,如有必要。
  5. Define the output settings such as terrain type, quality of generated data, and the world that is going to store the generated result.定义输出设置,例如地形类型,生成数据的质量,以及世界这将存储生成的结果。
  6. Generate (or re-generate) the output.产生(或者再生) 输出。
  7. Open the world with the output terrain in UnigineEditor.使用 UnigineEditor 中的输出地形打开世界。

Opening the Sandworm Tool打开沙虫工具#

To open Sandworm, in the main menu select Tools -> Sandworm.要打开 Sandworm,请在主菜单中选择 Tools -> Sandworm

The following window will open:将打开以下窗口:

If you have already worked with Sandworm and created projects, you'll also see a list of links to your recent projects for quick access:如果您已经使用 Sandworm 并创建了项目,您还会看到一个指向您最近项目的链接列表,以便快速访问:

By clicking the Create New button, the Project Configuration window opens:通过单击 Create New 按钮,Project Configuration 窗口打开:

The coordinate system you choose here is set for the convenience of preview display. For data export, you should specify only a projected coordinate system, because the generated terrain is exported to Object Landscape Terrain or Object Terrain Global, which is actually a flat (i.e. not geospherical) area.您在此处选择的坐标系是为了方便预览显示而设置的。对于数据导出,您应该指定只有一个投影坐标系,因为生成的地形导出到Object Landscape TerrainObject Terrain Global,这实际上是一个平坦的(即非地球)区域。

Sandworm Interface沙虫界面#

The Sandworm tool interface has 5 panels: Sources, Output, Generation, Preview, and Parameters.Sandworm 工具界面有 5 个面板:Sources, Output, Generation, PreviewParameters

The location of panels is not fixed, and they can be rearranged as necessary.面板的位置不是固定的,可以根据需要重新排列。

Sources Panel来源面板#

In the Sources panel, you specify the Elevation (height) and Imagery (albedo) sources for the terrain generation, as well as Vector and Mask data sources for generation of details, vegetation, roads, communications, buildings, etc. if necessary. To work with multiple layers simultaneously, multiselection is provided.Sources 面板中,您可以指定用于地形生成的 Elevation(高度)和 Imagery(反照率)源,以及用于生成细节、植被、道路、通信、建筑物等的 VectorMask 数据源(如有必要)。为了同时处理多个图层,提供了多选。

Right-clicking on a layer opens the context menu:右键单击图层打开上下文菜单:

Focus Focuses the view in the Preview panel on the selected layer.将“预览”面板中的视图聚焦在所选图层上。
Move to Foreground Moves the selected layer (or layers of one type) to the foreground in the Preview panel.将选定图层(或一种类型的图层)移动到 Preview 面板中的前景。
Move to Background Moves the selected layer (or layers of one type) to the background in the Preview panel.将所选图层(或一种类型的图层)移动到 Preview 面板中的背景。
Remove Removes the selected layer or layers.删除选定的一个或多个图层。
Generate Preview Generates the preview of the selected layer. Is designed to generate the preview that has previously been canceled.生成所选图层的预览。旨在生成先前已生成的预览取消.
Properties Displays the properties of the source file for the selected layer such as file name, the coordinate system the source file uses, the source file density in meters per pixel, and geographic bounds of the source file.显示选定图层的源文件的属性,例如文件名、源文件使用的坐标系、源文件密度(以米/像素为单位)以及源文件的地理边界。

Renaming of layers is done by double click + focus click on the layer name.图层的重命名是通过双击 + 焦点单击图层名称来完成的。

For the Vector and Mask sources, overall information on the tags and objects in use is summarized for convenience.对于 VectorMask 源,为了方便起见,汇总了有关正在使用的标签和对象的整体信息。

Preview Panel预览面板#

The Preview panel visualizes the available information. Here you can navigate and preview the added inputs. The following controls are available:Preview 面板将可用信息可视化。您可以在此处导航和预览添加的输入。以下控件可用:

Panning mode. Allows only panning in the Preview panel, without selecting any layer.平移模式。仅允许在“预览”面板中平移,而不选择任何图层。
Selection mode. Allows panning and selecting the foreground layers in the Preview panel.选择模式。允许在 Preview 面板中平移和选择前景图层。
Zoom-in button. The preview can also be zoomed in by scrolling the mouse wheel up.放大按钮。也可以通过向上滚动鼠标滚轮来放大预览。
Zoom-out button. The preview can also be zoomed out by scrolling the mouse wheel down.缩小按钮。也可以通过向下滚动鼠标滚轮来缩小预览。
Coordinates Current coordinates of the mouse cursor.鼠标光标的当前坐标。
Display coordinates as WGS 84 latitude and longitude. If coordinates are already displayed as latitude and longitude (not in meters), then this button is inactive.将坐标显示为 WGS 84 纬度和经度。如果坐标已显示为纬度和经度(不是以米为单位),则此按钮无效。
Coordinate System The coordinate system selected for preview. Can be changed by clicking on it.为预览选择的坐标系。可以通过点击更改。

The source data might be heavy, and it can take time to generate a preview. In this case you can cancel the preview generation using the following button available in the bottom right corner of the Preview panel during the generation process: 源数据可能很重,生成预览可能需要一些时间。在这种情况下,您可以在生成过程中使用 Preview 面板右下角的以下按钮取消预览生成:

If you later require this preview to be generated, use the Generate Preview option in the context menu of the Sources panel.如果您稍后需要生成此预览,请使用 Generate Preview 选项上下文菜单Sources 面板。

Output Panel输出面板#

The Output panel contains the list of settings required to configure the resulting terrain: the area that will be generated, the projection used for display, export format, quality, the world where this terrain is going to be located, etc.Output 面板包含以下列表设置需要配置生成的地形:将生成的区域、用于显示的投影、导出格式、质量、该地形将位于的世界等。

Generation Panel发电面板#

The Generation panel contains the settings that define the details of the terrain generation process: paths to the Sandworm project, which stores the terrain data, and cache. It also contains the menu that allows selecting the specific types of data to be generated (available for Object Terrain Global only) and the Generate button.生成面板包含定义细节的设置地形生成process:指向存储地形数据和缓存的 Sandworm 项目的路径。它还包含允许选择要生成的特定数据类型的菜单(可用于对象地形全局仅)和 Generate 按钮。

The button is used to clean the cache folder. 按钮用于清理缓存文件夹。

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.如果尚未设置生成所需的任何参数,它们将突出显示为红色并可点击。单击突出显示的单词会打开相应的输出设置进行调整。

Parameters Panel参数面板#

The Parameters panel contains parameters of the selected settings or information on the selected data source.Parameters 面板包含所选设置的参数或有关所选数据源的信息。

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