Skip to content

chessCXK/HLOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

系统使用教程

智能化工具作用是方便有效的管理每个HLOD System,如图。每个脚本都管理着一个系统,脚本引用着当前系统精细度模型、BVH、合批模型的跟节点。

工具支持

1、一键生成、删除 2、一键更新 3、贴图、模型、流式资源管理 4、其他功能 5、流式加载

一键生成、删除

一键生成、删除功能如图,生成的节点名字后缀是一个递增的数字。

一键更新

一键更新功能如图4-3所示,当某个区域增加或删除了LOD Group时,使用更新功能只会更新有影响的部分,更新的包括网格和贴图以及保存在Asset下的资源。

贴图、模型、流式资源管理

如图,Textures、Mesh(fbx文件)保存路径可自定义,导出的时候命名会与节点的名字一样

如图,流式资源路径可自定义,拥有导出和退回功能。

其他功能

1.BVH划分条件 Maximun Layer:生成最大有效层级(从底往上) Cull:开启条件剔除 Bound Condtion Dia:剔除包围盒最大直径超过指定大小 Calbound Of Child:包围盒计算计算子节点

BVH划分条件 2.HLOD Cull运行相关 DelayUnLoadTime:流式延时卸载 GI CacheDistance:缓冲计算距离

流式加载

注意:LodGroup必须式预制体,合并生成出来的预制体和原有的预制体必须添加在Addressables上才能正常运行,并在场景将ActionLoadAssetPool挂载上

System use tutorial

The function of intelligent tools is to manage each HLOD system conveniently and effectively, as shown in the figure. Each script manages a system, and the script refers to the following nodes of the current system fineness model, BVH and co batch model.

Tool support

1. One click generation and deletion
  1. One click Update

  2. Mapping, model, streaming resource management

  3. Other functions

  4. Streaming loading

One click generation and deletion

The function of one click generation and deletion is shown in the figure. The generated node name suffix is an increasing number.

One click Update

The one click Update function is shown in Figure 4-3. When LOD group is added or deleted in an area, Only the affected parts will be affected Update function, including meshes, maps and resources saved in asset.

Mapping, model, streaming resource management

As shown in the figure, the save path of textures and mesh (FBX file) can be customized. When exporting, the name will be the same as that of the node

As shown in the figure, the flow resource path can be customized, with export and return functions.

Other functions

1.BVH partition conditions Maximun Layer:Generate maximum effective level (from bottom to top) Cull:Open condition rejection Bound Condtion Dia:The maximum diameter of Not included bounding box exceeds the specified size Calbound Of Child:Bounding box calculation sub node

BVH partition conditions 2.HLOD cull operation related DelayUnLoadTime:Streaming delay unloading GI CacheDistance:Buffer calculation distance

Streaming loading

Note: Lodgroup must be a prefabricated body. The merged prefabricated body and the original prefabricated body must be added to addressables to run normally, and Actionloadassetpool must be mounted at scene.

Releases

No releases published

Packages

No packages published

Languages