Web Viewer¶
The asset preprocessing project includes a FastAPI-based 3DGS web viewer for browsing processed scene assets in a browser.
Overview¶
- WebGL 3DGS rendering โ Render scenes in-browser (e.g. GaussianSplats3D)
- Dataset / scene browser โ Browse all scenes with
compressed.splat - REST API โ Scene lists, metadata, splat files, thumbnails
Starting the Viewer¶
Arguments¶
| Argument | Description | Default |
|---|---|---|
--assets-dir | V1 assets root directory | /x2robot_v2/share/navarena-bench/navarena_assets |
--host | Bind address | 0.0.0.0 |
--port | Bind port | 41005 |
--log-level | Log level | info |
Display Condition¶
Only scenes that have compressed.splat appear in the list. Run the compress command first if you need web preview.
API Endpoints¶
List Datasets¶
Response example:
List Scenes¶
Response example:
[
{
"scene_id": "17dc3367",
"source": {},
"map_info": {"resolution": 0.05},
"splat_size_mb": 12.5,
"has_labels": true,
"has_nav_mask": true
}
]
Scene Metadata¶
Returns full manifest.json.
Get compressed.splat¶
For WebGL clients to load the 3DGS scene. URL ends with .splat for format auto-detection.
Thumbnail¶
Returns nav_mask.png as scene thumbnail.
labels.json¶
Returns labels.json if present.
Frontend¶
Visit http://localhost:41005/ for:
- Sidebar: dataset and scene list
- Main area: WebGL 3DGS rendering
- Scene metadata display
- Orbit / pan / zoom controls
See also: Overview ยท CLI Commands