Use cjio export glb syntax

This commit is contained in:
s0wlz (Matthias Puchstein)
2025-12-17 01:49:11 +01:00
parent f50b0c653f
commit 68feddf3e8

View File

@@ -101,15 +101,15 @@ LoD2 CityGML tiles can be converted to GLB per tile while preserving roof/wall s
```bash
for f in work/cityjson_tri/*.tri.city.json; do
base="$(basename "$f" .tri.city.json)"
uv run cjio "$f" export --format glb "export_unity/buildings_glb/${base}.glb"
uv run cjio "$f" export glb "export_unity/buildings_glb/${base}.glb"
done
for f in work/cityjson_split/*.roof.city.json; do
base="$(basename "$f" .roof.city.json)"
uv run cjio "$f" export --format glb "export_unity/buildings_glb_split/${base}_roof.glb"
uv run cjio "$f" export glb "export_unity/buildings_glb_split/${base}_roof.glb"
done
for f in work/cityjson_split/*.wall.city.json; do
base="$(basename "$f" .wall.city.json)"
uv run cjio "$f" export --format glb "export_unity/buildings_glb_split/${base}_wall.glb"
uv run cjio "$f" export glb "export_unity/buildings_glb_split/${base}_wall.glb"
done
```
5. Confirm intermediates/GLBs exist: `uv run python scripts/verify_pipeline.py --mode both`