diff --git a/README.md b/README.md
index 7382036..442fdff 100644
--- a/README.md
+++ b/README.md
@@ -4,12 +4,15 @@
This code implements a renderer for the reconstructions obtained with [3D Gaussian Splatting](/~https://github.com/graphdeco-inria/gaussian-splatting)
+[👉 Click to run the web demo 👈](https://keksboter.github.io/web-splat/demo.html)
+
## Build
Clone the repository and run
-```
-cargo build --release --bin viewer
+```bash
+cargo build --release --bin viewer
+
```
## Run
@@ -20,6 +23,12 @@ Use the `point_cloud.ply` and `cameras.json` files generated by [3D Gaussian Spl
cargo run --release --bin viewer point_cloud.ply cameras.json
```
+To load [compressed npz files](/~https://github.com/KeKsBoTer/c3dgs) the `npz` feature must be enabled:
+
+```
+cargo run --release --features npz --bin viewer point_cloud.npz cameras.json
+```
+
Usage
3D Gaussian Splatting Viewer
@@ -27,29 +36,15 @@ cargo run --release --bin viewer point_cloud.ply cameras.json
Usage: viewer [OPTIONS] [SCENE]
Arguments:
- Input ply file
- [SCENE] Scene json file
+ Input file
+ [SCENE] Scene json file
Options:
- --max-sh-deg maximum allowed Spherical Harmonics (SH) degree [default: 3]
- --sh-dtype datatype used for SH coefficients [default: byte] [possible values: float, half, byte]
- --no-vsync
- -h, --help Print help
- -V, --version Print version
-
+ --no-vsync
+ -h, --help Print help
+ -V, --version Print version
-
-## Controls
-
-Use the mouse and WASD + Shift + Space to navigate the camera.
-
-If a scene (`cameras.json`) file is provided:
-
-- The keys 0-9 can be used to select the views 0-9
-- Pressing the `R` key will select a random view
-- Next/Previous view can be selected with Page Up/Down
-- `N` snaps to nearest view
-- `T` starts the tracking shot that visits the test views
+king shot that visits the test views
## About
@@ -58,7 +53,16 @@ If a scene (`cameras.json`) file is provided:
**Performance**: The renderer reaches >200 FPS on a `NVIDIA 3090 RTX` and ~130 FPS on a `AMD Radeon R9 380 Series` (8 years old). Measurements where taken for the bonsai scene at 1200x799 resolution.
-## TODO
-- better camera controls
-- make it work in the browser
+## Citation
+If you find our work useful, please cite:
+```
+@misc{niedermayr2023compressed,
+ title={Compressed 3D Gaussian Splatting for Accelerated Novel View Synthesis},
+ author={Simon Niedermayr and Josef Stumpfegger and Rüdiger Westermann},
+ year={2023},
+ eprint={2401.02436},
+ archivePrefix={arXiv},
+ primaryClass={cs.CV}
+}
+```
diff --git a/public/demo.html b/public/demo.html
new file mode 100644
index 0000000..701f3b9
--- /dev/null
+++ b/public/demo.html
@@ -0,0 +1,610 @@
+
+
+
+