@playcanvas/splat-transform 0.2.0 → 0.2.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 +1 -6
- package/dist/index.mjs +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ splat-transform input_a.ply input_b.ply output/meta.json
|
|
|
22
22
|
The input and output files can optionally be transformed. For example:
|
|
23
23
|
```
|
|
24
24
|
# load input.ply and translate it by (1, 0, 0) and write the result to output.ply
|
|
25
|
-
splat-transform input.ply
|
|
25
|
+
splat-transform input.ply -t 1,0,0 output.ply
|
|
26
26
|
|
|
27
27
|
# remove entries containing NaN and Inf and bands larger than 2
|
|
28
28
|
splat-transform input.ply output.ply --filterNaN --filterBands 2
|
|
@@ -37,8 +37,3 @@ The full list of possible actions are as follows:
|
|
|
37
37
|
-filterByValue -c name,comparator,value Filter gaussians by a value. Specify the value name, comparator (lt, lte, gt, gte, eq, neq) and value
|
|
38
38
|
-filterBands -h 1 Filter spherical harmonic band data. Value must be 0, 1, 2 or 3.
|
|
39
39
|
```
|
|
40
|
-
|
|
41
|
-
## Note
|
|
42
|
-
This very first version supports the following:
|
|
43
|
-
- reading gaussian splat ply files containing only float32 data
|
|
44
|
-
- writing PlayCanvas' compressed.ply format
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcanvas/splat-transform",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"author": "PlayCanvas<support@playcanvas.com>",
|
|
5
5
|
"homepage": "https://playcanvas.com",
|
|
6
6
|
"description": "CLI tool for converting PLY gaussian splat scenes to compressed.ply",
|
|
@@ -40,15 +40,17 @@
|
|
|
40
40
|
"@rollup/plugin-json": "^6.1.0",
|
|
41
41
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
42
42
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
43
|
-
"@types/node": "^24.0.
|
|
43
|
+
"@types/node": "^24.0.12",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
|
45
45
|
"@typescript-eslint/parser": "^8.36.0",
|
|
46
46
|
"eslint": "^9.30.1",
|
|
47
47
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
48
48
|
"playcanvas": "^2.9.0",
|
|
49
49
|
"rollup": "^4.44.2",
|
|
50
|
-
"sharp": "^0.34.2",
|
|
51
50
|
"tslib": "^2.8.1",
|
|
52
51
|
"typescript": "^5.8.3"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"sharp": "^0.34.3"
|
|
53
55
|
}
|
|
54
56
|
}
|