智能化工具作用是方便有效的管理每个HLOD System,如图。每个脚本都管理着一个系统,脚本引用着当前系统精细度模型、BVH、合批模型的跟节点。
一键更新功能如图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:缓冲计算距离
Detailed introduction:https://blog.csdn.net/qq_33700123/article/details/113835834
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.
-
One click Update
-
Mapping, model, streaming resource management
-
Other functions
-
Streaming loading
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.
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.
BVH partition conditions
2.HLOD cull operation related
DelayUnLoadTime:Streaming delay unloading
GI CacheDistance:Buffer calculation distance