|
|
4 日 前 | |
|---|---|---|
| .. | ||
| README.md | 4 日 前 | |
| package.json | 4 日 前 | |
| wasm_splats.d.ts | 4 日 前 | |
| wasm_splats.js | 4 日 前 | |
| wasm_splats_bg.wasm | 4 日 前 | |
The wasm-splats package contains high-performance algorithms used in the rendering of Gaussian Splats in CesiumJS.
Follow the instructions in the cesium-wasm-utils README to clone the repository and install prerequisites.
To build the package, run:
wasm-pack build --release --target web --scope cesium
This will output a pkg directory containing the compiled WebAssembly module and JavaScript bindings.
To run the unit and integration tests, run:
wasm-pack test --headless --chrome --firefox
In macOS, you can also add --safari to run the tests in Safari.