Adopt Shapespark vegetation assets
This commit is contained in:
@@ -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 Delicious,4.5k tris,叶片是 alpha 抠图卡片,带法线贴图。
|
||||
- `fattree`(卡通)——低面数卡通树,2.2k tris,纯实体几何,无抠图。
|
||||
- `shapespark`——Shapespark low-poly plant kit,12 个确定性树变体,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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user