|
@@ -54,3 +54,16 @@ serve the demo scene before the model is ready.
|
|
|
`backend/pipeline.py` assembles `<job>/images/` + `<job>/colmap/{cameras,images,points3D}.txt`
|
|
`backend/pipeline.py` assembles `<job>/images/` + `<job>/colmap/{cameras,images,points3D}.txt`
|
|
|
(what the README implies). During the i-opavuyaq Step-2 smoke test, confirm `reconstruct_scene.py
|
|
(what the README implies). During the i-opavuyaq Step-2 smoke test, confirm `reconstruct_scene.py
|
|
|
--mode Iphone` actually finds that layout; adjust `run_colmap` / `_reconstruct_cmd` if not.
|
|
--mode Iphone` actually finds that layout; adjust `run_colmap` / `_reconstruct_cmd` if not.
|
|
|
|
|
+
|
|
|
|
|
+## Deploy: web-optimized walkthrough (optional but recommended)
|
|
|
|
|
+
|
|
|
|
|
+Reconstructed meshes are 100s of MB. `backend/optimize_glb.sh` (called automatically
|
|
|
|
|
+by the glb stage) shrinks them to a browser-loadable size (simplify + webp). It needs
|
|
|
|
|
+a one-time local gltf-transform install:
|
|
|
|
|
+
|
|
|
|
|
+```sh
|
|
|
|
|
+bash backend/setup_gltftool.sh # installs to /opt/genrecon/gltftool
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+Without it the pipeline still works — it just serves the full-res `scene.glb`.
|
|
|
|
|
+Tune via `GENRECON_SIMPLIFY_RATIO` (default 0.12) and `GENRECON_TEX_SIZE` (2048).
|