tools: web viewer shows the owner's world; collapsible phone menu (W2)

export_world.py exports the owner four-strate world (LOD0-2 around each arrival + one FI
passage view) through the headless mesh exporter and converts to GLB (16-45 MB, 0.6-1.7M
triangles each); GLBs are git-ignored and regenerated by the script. Menu collapses to a
button (collapsed by default on phones), smaller phone controls, loading progress and errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dhxM43dnWvUu2B5Ph1iG1
This commit is contained in:
Fr0zkaandClaude Opus 5.5 committed 2026-10-29 00:10:28 +01:00
1 parent 2ef0ca72b2
commit 95cf8de107
5 files changed
+240 -16

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# W2 web viewer report
Exported the owner's `Standalone/data/owner_world.json` with the existing L101 headless mesh exporter, `--clip-radius=3`, and LOD0–2. The five GLBs are in `meshes/`; sizes are decimal MB.
| View | GLB size | Triangles |
|---|---:|---:|
| `sw-arrival.glb` | 15.89 MB | 605,310 |
| `fi-arrival.glb` | 31.29 MB | 1,214,996 |
| `tn-arrival.glb` | 30.71 MB | 1,199,460 |
| `vs-arrival.glb` | 27.72 MB | 1,096,822 |
| `fi-passage.glb` | 45.09 MB | 1,743,474 |
The web menu now collapses to a button and starts collapsed at phone widths. Phone text and controls are smaller. Mesh-list and GLB loading show progress, and failures display an error. The viewer selects `sw-arrival.glb` by default when it is present.
Refresh all five views from the repository root with:
```sh
python3 Standalone/Tools/webviewer/export_world.py
```
The script applies the requested affinity and 6 GiB address-space limit, converts through the W1 `convert.py`, and writes run logs plus `export-summary.json` to `Saved/Linux/w2/`. No position or normal quantization was needed; the largest file is 45.09 MB.
Not verified: loading and visually inspecting these new GLBs in the owner's phone browser, or measuring phone transfer time and memory use. The headless exports and conversions completed successfully.