Add optional GLB compression stage

This commit is contained in:
2026-08-03 17:50:21 +08:00
parent 5ef128c6f9
commit 7ba85946dc
13 changed files with 738 additions and 15 deletions

View File

@@ -2,6 +2,12 @@
## 2026-08-03
- 新增显式 `compress` 阶段与 `scripts/compress-glb.js`,用于从已有 Cesium GLB 生成并列
WebP 压缩产物,不进入 `all`,不覆盖默认 `<area-id>.glb`。nantaizi 试验结果:
`20.50 MB -> 4.80 MB`embedded images `17.72 MB -> 2.04 MB`nodes / meshes /
materials / images / accessors 均保持 `830 / 113 / 32 / 18 / 675`,引入
`EXT_texture_webp``KHR_texture_transform`。用户在 Cesium 预览里目测压缩版与
默认版无明显区别Meshopt / KTX2 仍不作为默认路径。
- 固化 Shapespark low-poly plants kit 作为当前植被资产来源:`nantaizi-lake-innovation-valley`
使用 `treeStyle: shapespark`、12 个确定性树变体、`bush-03` scrub 边缘灌木、
`grass-01/02/03` 草坪草簇Cesium 对 Shapespark cut-out 材质走单独温和 profile