mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
SPZ writing, exporting, & viewer. Creates a new npm run to-spz which runs scripts/to-spz.js to convert any Gsplat input file to compress .spz. Also includes a configurable viewer examples/viewer that can load splats via drag-n-drop, from url query param, the URL text list, can edit sets of SplatMesh, and export composite .SPZ with some filters. Refactored some loading code from worker.ts to loader files so they can be called from Nodejs. Created api transcodeSpz with options to combine multiple source Gsplat files into one without losing coding quality along the way.
This commit is contained in:
committed by
Diego Marcos Segura
parent
b4257bcd64
commit
156bbf400e
@@ -11,6 +11,7 @@
|
||||
"build:wasm": "node rust/build_wasm.js",
|
||||
"build:watch": "onchange 'src/**/*.{ts,glsl}' -- npm run build",
|
||||
"clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf rust/target/ && rm -rf rust/forge-internal-rs/pkg/ && npm run assets:clean",
|
||||
"to-spz": "node scripts/to-spz.js",
|
||||
"dev": "npm run build && (vite --host & npm run build:watch)",
|
||||
"deploy": "node scripts/deploy.js",
|
||||
"docs": "mkdocs serve",
|
||||
|
||||
Reference in New Issue
Block a user