Closed RenieWell closed 8 months ago
You can build the web viewer by executing the build_wasm.sh
file.
For this you need to install wasm-bindgen-cli and add install the wasm target (e.g. with rustup target add wasm32-unknown-unknown
).
This script creates the necessary files in the public
folder.
You can than open the public/index.html
in your browser.
Note that the files have to be provided via the URL. Example:
https://keksboter.github.io/web-splat/?file=./scenes/bicycle/point_cloud/iteration_35000/point_cloud.npz&scene=./scenes/bicycle/cameras.json
Thanks a lot!
Thanks for sharing the great works!
I have successfully ran the viewer.exe in windows, but failed in linux. The problem is that the linux server don't have a GUI, and I got the following output:
I know nothing about the rust, but it looks like the viewer can run in a web viwer. Can you please kindly provide some detials of building the web viewer?