Add GLB stage manifests
This commit is contained in:
11
README.md
11
README.md
@@ -76,6 +76,17 @@ npm run diagnose:area -- --config config/areas/nantaizi-lake-innovation-valley.j
|
||||
现有产物状态,以及 GLB 的 size / nodes / meshes / materials / images / extensions。
|
||||
缺少已期望的基线产物、异常 building relation、GLB 超过保守预算等会进入 `Warnings`。
|
||||
|
||||
`cesium` 和 `compress` 阶段成功后会写机器可读的阶段 manifest:
|
||||
|
||||
```text
|
||||
outputs/<area-id>/_pipeline/stages/cesium.manifest.json
|
||||
outputs/<area-id>/_pipeline/stages/compress.manifest.json
|
||||
```
|
||||
|
||||
manifest 记录阶段输入/输出文件的 bytes、mtime、sha256、耗时、GLB 结构摘要和 warning。
|
||||
`diagnose:area` 会读取这些 manifest;如果已有 GLB 但 manifest 缺失,或者 manifest
|
||||
记录的输入/输出 sha/bytes 和当前文件不一致,会在 `Stage manifests` 和 `Warnings` 里标出来。
|
||||
|
||||
## 区域配置
|
||||
|
||||
新区域从模板复制:
|
||||
|
||||
Reference in New Issue
Block a user