@playcanvas/splat-transform 0.13.1 → 0.14.1
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.
- package/README.md +8 -2
- package/dist/index.mjs +899 -169
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
SplatTransform is an open source CLI tool for converting and editing Gaussian splats. It can:
|
|
13
13
|
|
|
14
|
-
📥 Read PLY, Compressed PLY, SOG, SPLAT, KSPLAT and
|
|
15
|
-
📤 Write PLY, Compressed PLY, SOG, CSV and
|
|
14
|
+
📥 Read PLY, Compressed PLY, SOG, SPLAT, KSPLAT, SPZ and LCC formats
|
|
15
|
+
📤 Write PLY, Compressed PLY, SOG, CSV, HTML Viewer and LOD (streaming) formats
|
|
16
16
|
🔗 Merge multiple splats
|
|
17
17
|
🔄 Apply transformations to input splats
|
|
18
18
|
🎛️ Filter out Gaussians or spherical harmonic bands
|
|
@@ -44,6 +44,7 @@ splat-transform [GLOBAL] input [ACTIONS] ... output [ACTIONS]
|
|
|
44
44
|
| `.sog` | ✅ | ✅ | Bundled super-compressed format (recommended) |
|
|
45
45
|
| `meta.json` | ✅ | ✅ | Unbundled super-compressed format (accompanied by `.webp` textures) |
|
|
46
46
|
| `.compressed.ply` | ✅ | ✅ | Compressed PLY format (auto-detected and decompressed on read) |
|
|
47
|
+
| `.lcc` | ✅ | ❌ | LCC file format (XGRIDS) |
|
|
47
48
|
| `.ksplat` | ✅ | ❌ | Compressed splat format (mkkellogg format) |
|
|
48
49
|
| `.splat` | ✅ | ❌ | Compressed splat format (antimatter15 format) |
|
|
49
50
|
| `.spz` | ✅ | ❌ | Compressed splat format (Niantic format) |
|
|
@@ -66,6 +67,7 @@ Actions can be repeated and applied in any order:
|
|
|
66
67
|
-V, --filter-value <name,cmp,value> Keep splats where <name> <cmp> <value>
|
|
67
68
|
cmp ∈ {lt,lte,gt,gte,eq,neq}
|
|
68
69
|
-p, --params <key=val,...> Pass parameters to .mjs generator script
|
|
70
|
+
-l, --lod <n> Specify the level of detail of this model, n >= 0.
|
|
69
71
|
```
|
|
70
72
|
|
|
71
73
|
## Global Options
|
|
@@ -73,10 +75,14 @@ Actions can be repeated and applied in any order:
|
|
|
73
75
|
```none
|
|
74
76
|
-h, --help Show this help and exit
|
|
75
77
|
-v, --version Show version and exit
|
|
78
|
+
-q, --quiet Suppress non-error output
|
|
76
79
|
-w, --overwrite Overwrite output file if it exists
|
|
77
80
|
-c, --cpu Use CPU for SOG spherical harmonic compression
|
|
78
81
|
-i, --iterations <n> Iterations for SOG SH compression (more=better). Default: 10
|
|
79
82
|
-E, --viewer-settings <settings.json> HTML viewer settings JSON file
|
|
83
|
+
-O, --lod-select <n,n,...> Comma-separated LOD levels to read from LCC input
|
|
84
|
+
-C, --lod-chunk-count <n> Approx number of Gaussians per LOD chunk in K. Default: 512
|
|
85
|
+
-X, --lod-chunk-extent <n> Approx size of an LOD chunk in world units (m). Default: 16
|
|
80
86
|
```
|
|
81
87
|
|
|
82
88
|
> [!NOTE]
|