update raster-path dep, fix progress reporting
This commit is contained in:
parent
5ac8c63d54
commit
0d8284c41f
4 changed files with 3 additions and 5 deletions
|
|
@ -39,7 +39,7 @@
|
||||||
"@gridspace/app-server": "github:gridspace/app-server#v0.0.19",
|
"@gridspace/app-server": "github:gridspace/app-server#v0.0.19",
|
||||||
"@gridspace/basic-ftp": "github:gridspace/basic-ftp#v5.0.5-gridspace",
|
"@gridspace/basic-ftp": "github:gridspace/basic-ftp#v5.0.5-gridspace",
|
||||||
"@gridspace/net-level-client": "^0.2.3",
|
"@gridspace/net-level-client": "^0.2.3",
|
||||||
"@gridspace/raster-path": "^1.0.4",
|
"@gridspace/raster-path": "^1.0.6",
|
||||||
"@tracespace/parser": "^5.0.0-next.0",
|
"@tracespace/parser": "^5.0.0-next.0",
|
||||||
"@tweenjs/tween.js": "^16.6.0",
|
"@tweenjs/tween.js": "^16.6.0",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
../../node_modules/@gridspace/raster-path/build/webgpu-worker.js
|
../../node_modules/@gridspace/raster-path/build/raster-worker.js
|
||||||
|
|
@ -206,7 +206,7 @@ export class Topo {
|
||||||
xStep,
|
xStep,
|
||||||
yStep: 1,
|
yStep: 1,
|
||||||
zFloor: zBottom,
|
zFloor: zBottom,
|
||||||
onProgress(pct) { onupdate(pct/100) }
|
onProgress(i,j) { onupdate(i/j) }
|
||||||
});
|
});
|
||||||
gpu.terminate();
|
gpu.terminate();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,6 @@ self.get_raster_gpu = async function({ mode, resolution, rotationStep }) {
|
||||||
resolution,
|
resolution,
|
||||||
rotationStep,
|
rotationStep,
|
||||||
workerName: "/lib/gpu/raster-worker.js",
|
workerName: "/lib/gpu/raster-worker.js",
|
||||||
radialRotationOffset: -90,
|
|
||||||
trianglesPerTile: 15000,
|
|
||||||
quiet: false,
|
quiet: false,
|
||||||
debug: true,
|
debug: true,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue