Skip to content

Commit 7bd2fd6

Browse files
committed
Rename npm run to-spz to npm run assets:compress for consistency
1 parent 9845e6a commit 7bd2fd6

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,9 @@ npm run site:serve
194194
## Deploy Forge website
195195

196196
TO-DO
197+
198+
## Compress splats
199+
200+
To compress a splat to [spz](https://scaniverse.com/spz) run
201+
202+
`npm run assets:compress <file or URL to ply>`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"description": "An advanced 3D Gaussian Splatting renderer for THREE.js",
77
"scripts": {
88
"assets:clean": "node scripts/clean-assets.js",
9+
"assets:compress": "node scripts/compress-to-spz.js",
910
"assets:download": "node scripts/download-assets.js",
1011
"build": "vite build --mode production && vite build --mode dev && tsc --emitDeclarationOnly --outFile dist/forge.d.ts",
1112
"build:wasm": "node rust/build_wasm.js",
1213
"build:watch": "onchange 'src/**/*.{ts,glsl}' -- npm run build",
1314
"clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf rust/target/ && rm -rf rust/forge-internal-rs/pkg/ && npm run assets:clean",
14-
"to-spz": "node scripts/to-spz.js",
1515
"dev": "npm run build && (vite --host & npm run build:watch)",
1616
"deploy": "node scripts/deploy.js",
1717
"docs": "mkdocs serve",

0 commit comments

Comments
 (0)