webvdb 0.0.0-stage → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +17 -2
  2. package/cli.mjs +12296 -0
  3. package/package.json +37 -4
package/README.md CHANGED
@@ -1,3 +1,18 @@
1
- # Temporary Holding Version
1
+ # webvdb
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The `wvdb` CLI. Converts `.vdb` files into `.wvdb` files: small files that stream in LODs. Needs only Node.js 18 or newer. No three.js, no browser.
4
+
5
+ ```sh
6
+ npm install -g webvdb # or run once: npx webvdb <input>
7
+
8
+ wvdb explosion_0001.vdb # -> explosion_0001.wvdb
9
+ wvdb ./explosion_VDB # folder of .vdb files -> ./explosion_VDB_wvdb/
10
+ wvdb ./explosion_VDB.zip # ZIP of .vdb files -> ./explosion_VDB_wvdb/
11
+ wvdb explosion.vdb --resolution 256 --lods 4
12
+ ```
13
+
14
+ Each `.vdb` file gives one `.wvdb` file, also empty frames, so a sequence keeps its frame numbers. All frames of a folder or ZIP use one box, so voxels do not move between frames.
15
+
16
+ Files convert in parallel, one per CPU core. Use `--jobs <n>` to use less memory.
17
+
18
+ Run `wvdb --help` for all options. Format: `src/docs/wvdb/README.md` in the repository.