Spectacular AI fork. See original README at https://github.com/antimatter15/splat/blob/main/README.md
- Clone this repository and cd to its root folder
mkdir data
- Extract some
.splat
files todata/
(e.g.,example.splat
) - Start a local webserver
python3 -m http.server 8000 --bind 127.0.0.1
- Open in the browser: http://127.0.0.1:8000/?url=http://127.0.0.1:8000/data/example.splat&z_is_up=true
(or http://127.0.0.1:8000/?url=http://127.0.0.1:8000/data/example.splat if the model is oriented in a Y-is-up coordinate system)
THREE JS mouse orbit controls, turntable rotation, assuming Y-is-up by default
Like in the original code, these are Gaussian Splats with flattened spherical harmonic (zeroth order coefficient only). These can be converted from, e.g., Parquet files using these scripts: https://github.com/SpectacularAI/point-cloud-tools