This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Landscape Tool
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
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
创建内容
内容优化
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

从沙虫开始

警告
本文介绍的功能在 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 will 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, select Tools -> Sandworm in the main menu.要打开 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 a flat (i.e., not geospherical) area.您在此处选择的坐标系是为了方便预览显示而设置的。对于数据导出,您应该指定只有一个投影坐标系,因为生成的地形导出到Object Landscape TerrainObject Terrain Global,这实际上是一个平坦的(即非地球)区域。

Sandworm Interface沙虫界面#

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

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

Sources Panel来源面板#

In the Sources panel, you specify the Elevation (height) and Imagery (albedo) sources for the terrain generation and Vector and Mask data sources for generation of details, vegetation, roads, communications, buildings, etc., if required. Multiselection allows working with multiple layers simultaneously.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. It 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.显示选定图层的源文件的属性,例如文件名、源文件使用的坐标系、源文件密度(以米/像素为单位)以及源文件的地理边界。

To rename a layer, double-click and then focus-click its name图层的重命名是通过双击 + 焦点单击图层名称来完成的。

Preview Panel预览面板#

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

平移模式。仅允许在“预览”面板中平移,而不选择任何图层。
Selection mode. Allows panning and selecting the foreground layers in the Preview panel.选择模式。允许在 Preview 面板中平移和选择前景图层。
导出区域编辑模式。允许设置和编辑将要生成的区域的边界。与Output段中Export Area的选择相同。
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), this button is inactive.将坐标显示为 WGS 84 纬度和经度。如果坐标已显示为纬度和经度(不是以米为单位),则此按钮无效。
Coordinate System The coordinate system selected for preview. It can be changed by clicking this button.为预览选择的坐标系。可以通过点击更改。

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 will 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. The menu allows selecting the specific types of data to be generated. The Generate button initiates the generation process.生成面板包含定义细节的设置地形生成process:指向存储地形数据和缓存的 Sandworm 项目的路径。它还包含允许选择要生成的特定数据类型的菜单(可用于对象地形全局仅)和 Generate 按钮。

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

If any parameters required for the 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 面板包含所选设置的参数或有关所选数据源的信息。

For the imported offline source layers (elevation, imagery, masks, and vectors), the following parameters are available:对于已导入的离线源层,可选择如下参数:

Encloses the area visible in the Preview window in the bounds. The data will be uploaded for the area within these bounds. You can move the points defining the bounds to adjust the area as necessary.在边界内封闭预览窗口中可见的区域。数据将上传这些范围内的区域。您可以移动定义边界的点,根据需要调整区域。
Removes the bounds for the selected layer. If the bounds are not set, all data available in the layer and within the Export Area will be uploaded.移除所选图层的边界。如果没有定义边界,图层和Export Area中的所有数据都将被上传。
Sets the bounds to enclose all data available in the layer. The data will be uploaded for the area within these bounds. You can move the points defining the bounds to adjust the area as necessary.设置边界以包含层中所有可用的数据。数据将上传这些范围内的区域。您可以移动定义边界的点,根据需要调整区域。

By using this toolset, you can define which data should be taken from every layer without uploading any unnecessary or corrupted data.通过使用这个工具集,您可以定义应该从每个层获取哪些数据,而无需上传任何不必要的或损坏的数据。

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