@manycore/aholo-splat-transform 1.2.6 → 1.2.7
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/CHANGELOG.md +4 -0
- package/README.md +6 -0
- package/dist/tasks/ReadTask.d.ts +1 -0
- package/dist/tasks/ReadTask.js +2 -2
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ A 3DGS modifier used by aholo
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
+
npm install @manycore/aholo-splat-transform -g
|
|
17
|
+
|
|
16
18
|
splat-transform --help
|
|
17
19
|
|
|
18
20
|
Execute a task pipeline from configuration file
|
|
@@ -31,3 +33,7 @@ Commands:
|
|
|
31
33
|
lod:auto [options] <input> <output> Generate auto-lod for gaussian splat file
|
|
32
34
|
lod:auto-chunk [options] <input> <output> Generate auto-chunk-lod for gaussian splat file
|
|
33
35
|
```
|
|
36
|
+
|
|
37
|
+
## Notice
|
|
38
|
+
|
|
39
|
+
The code of the tool(AKA. `@manycore/aholo-splat-transform`) is not open source, you may use the the tool to generate content for any purpose, but you cannot redistribute the tool.
|
package/dist/tasks/ReadTask.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Context, BaseTask } from './BaseTask.js';
|
|
|
2
2
|
export interface Config {
|
|
3
3
|
inputs: string[];
|
|
4
4
|
output: string;
|
|
5
|
+
maxShDegree?: number;
|
|
5
6
|
}
|
|
6
7
|
export declare class ReadTask extends BaseTask<Config> {
|
|
7
8
|
exec(config: Config, { logger, resources }: Context): Promise<void>;
|
package/dist/tasks/ReadTask.js
CHANGED
|
@@ -5,8 +5,8 @@ import { createSplatFile } from '../utils/index.js';
|
|
|
5
5
|
import { BaseTask } from './BaseTask.js';
|
|
6
6
|
export class ReadTask extends BaseTask {
|
|
7
7
|
async exec(config, { logger, resources }) {
|
|
8
|
-
const { inputs, output } = config;
|
|
9
|
-
const splat = new SplatData(inputs.length);
|
|
8
|
+
const { inputs, output, maxShDegree } = config;
|
|
9
|
+
const splat = new SplatData(inputs.length, maxShDegree);
|
|
10
10
|
const promises = [];
|
|
11
11
|
let totalBytes = 0;
|
|
12
12
|
for (let i = 0; i < inputs.length; i++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manycore/aholo-splat-transform",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Transform & filter Gaussian splats file",
|
|
5
5
|
"author": "egs",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -16,11 +16,9 @@
|
|
|
16
16
|
"CHANGELOG.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"cmake-js": "^8.0.0",
|
|
20
19
|
"commander": "^14.0.2",
|
|
21
20
|
"fflate": "^0.8.2",
|
|
22
21
|
"fs-extra": "^11.3.3",
|
|
23
|
-
"node-addon-api": "^8.6.0",
|
|
24
22
|
"tslib": "^2.8.1",
|
|
25
23
|
"webgpu": "^0.4.0"
|
|
26
24
|
},
|