Adopt Shapespark vegetation assets

This commit is contained in:
2026-08-03 17:10:17 +08:00
parent cd9cde0127
commit dbb5705d8e
135 changed files with 9401 additions and 737 deletions

View File

@@ -24,14 +24,15 @@ npm run build:area -- --config config/areas/nantaizi-lake-innovation-valley.json
```
`--geojson` 为可选参数。不提供时,道路使用简单的 OSM highway 折线,而非详细 osm2streets 几何。实际资产生成建议先跑 `intermediates` 阶段,为 Blender 提供 osm2streets 道路面、标线、斑马线和箭头。
`--tree-style` 可选 `apple``fattree``natural``procedural`
`--tree-style` 可选 `shapespark``natural``procedural`
- `apple`拟真——SpeedTree Red Delicious4.5k tris叶片是 alpha 抠图卡片,带法线贴图
- `fattree`卡通——低面数卡通树2.2k tris纯实体几何无抠图。
- `shapespark`——Shapespark low-poly plant kit12 个确定性树变体,alpha 抠图卡片。
- `natural`——低面数树干 + 多层不规则树冠,不依赖外部模型。
- `procedural`——最轻,球形树冠。
`apple``fattree` 依赖 `assets/models/` 下的第三方模型(已 gitignore。模型缺失时自动回落到 `natural`,干净 checkout 仍可构建;实际使用的样式记录在场景的 `tree_style_used` 属性里
`shapespark` 依赖 `assets/models/custom/shapespark_plants/` 下拆分后的第三方模型
模型缺失时自动回落到 `natural`,干净 checkout 仍可构建;实际使用的样式记录在场景的
`tree_style_used` 属性里。
使用 `--office-overrides` 指定一组 OSM way ID逗号分隔这些建筑将渲染为办公楼风格即使其 OSM 标签为 `building=industrial`