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

Compression

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

This section contains compression settings for the Landscape Layer Map, thus applicable for the Landscape Terrain object. Compression for the Terrain Global object is performed automatically.本节包含 Landscape Layer Map 的压缩设置,因此适用于 Landscape Terrain 对象。 Terrain Global 对象的压缩是自动执行的。

Compression serves to reduce the size of the *.lmap file, which may also speed up asynchronous streaming of tiles. In some cases, compression ratio may exceed 100:1.压缩用于减小 *.lmap 文件的大小,这也可以加快图块的异步流传输。在某些情况下,压缩比可能超过100:1

Enabling compression in this section implies that all Landscape Layer Map objects in the generated terrain will be compressed.在本节中启用压缩意味着将压缩生成的地形中的所有 Landscape Layer Map 对象。

To enable or disable compression for an individual layer (or layers), you can use the parameters of the selected Landscape Layer Map.要为单个层(或多个层)启用或禁用压缩,您可以使用所选 Landscape Layer Map 的参数。

Parameters参数#

By default, compression is disabled. The following compression options are available:默认情况下,压缩被禁用。可以使用以下压缩选项:

  • Lossless — ensures absence of quality deterioration and decompresses graphic data to its original state.无损— 确保没有质量下降并将图形数据解压缩到其原始状态。
  • Lossy — provides a higher compression ratio but some information may be lost.有损— 提供更高的压缩比,但可能会丢失一些信息。
  • Custom — compression rules can be customized according to your requirements. The following options are available in this mode:自定义— 可以根据您的要求自定义压缩规则。此模式下提供以下选项:

    Custom Compression Parameters

    Supported compression methods:支持的压缩方法:

    • Our Method — recommended. UNIGINE compression method optimized for compressing 2D and 3D textures. It provides better results than LZ4 and Zlib without quality reduction.Our Method — 推荐。 UNIGINE 压缩方法针对压缩 2D 和 3D 纹理进行了优化。它提供了比 LZ4Zlib 更好的结果而不降低质量。
    • Zlib — for high compression ratio (can provide up to 2 times higher compression ratio, but takes up to 20 times longer).Zlib — 用于高压缩比(可以提供高达 2 倍的压缩比,但需要最多 20 倍的时间)。
    • LZ4 — temporary option, planned to be removed in the upcoming releases.LZ4 — 临时选项,计划在即将发布的版本中删除。

    In addition, you can enable lossy compression for individual components of Landscape Layer Maps:此外,您可以为 Landscape Layer Maps 的各个组件启用有损压缩:

    • Height Opacity dataHeight Opacity 数据
    • Albedo dataAlbedo 数据
    • Mask dataMask 数据

    Height data is always compressed using loseless compression.高度数据始终使用无损压缩进行压缩。

最新更新: 2022-03-10
Build: ()