@loaders.gl/tiles-3d 5.0.0-beta.2 → 5.0.0-beta.4
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/dist/3d-tiles/3d-tiles-archive-loader.js +1 -1
- package/dist/3d-tiles/dist.dev.js +502 -342
- package/dist/3d-tiles/dist.min.js +19 -19
- package/dist/3d-tiles/index.cjs +307 -183
- package/dist/3d-tiles/index.cjs.map +3 -3
- package/dist/3d-tiles/lib/classes/tile-3d-batch-table.d.ts.map +1 -1
- package/dist/3d-tiles/lib/classes/tile-3d-batch-table.js +12 -8
- package/dist/3d-tiles/lib/classes/tile-3d-batch-table.js.map +1 -1
- package/dist/3d-tiles/lib/utils/version.js +1 -1
- package/dist/3d-tiles-archive-writer.cjs +1 -1
- package/dist/cesium-ion-loader-with-parser.cjs +301 -177
- package/dist/cesium-ion-loader-with-parser.cjs.map +3 -3
- package/dist/copc/copc-source-loader.js +1 -1
- package/dist/copc/copc-writer.js +1 -1
- package/dist/copc/index.cjs +358 -9
- package/dist/copc/index.cjs.map +3 -3
- package/dist/dist.min.js +2 -2
- package/dist/i3s/arcgis-webscene-loader.js +1 -1
- package/dist/i3s/dist.dev.js +3731 -694
- package/dist/i3s/dist.min.js +43 -35
- package/dist/i3s/i3s-attribute-loader.js +1 -1
- package/dist/i3s/i3s-building-scene-layer-loader.js +1 -1
- package/dist/i3s/i3s-content-loader.js +1 -1
- package/dist/i3s/i3s-lepcc-loader-types.js +1 -1
- package/dist/i3s/i3s-loader.js +1 -1
- package/dist/i3s/i3s-node-page-loader.js +1 -1
- package/dist/i3s/i3s-slpk-loader.js +1 -1
- package/dist/i3s/i3s-slpk-writer.js +1 -1
- package/dist/i3s/index.cjs +2542 -373
- package/dist/i3s/index.cjs.map +3 -3
- package/dist/i3s-content-worker-node.js +11 -11
- package/dist/i3s-content-worker-node.js.map +4 -4
- package/dist/i3s-content-worker.js +392 -56
- package/dist/i3s-lepcc-worker-node.js +369 -37
- package/dist/i3s-lepcc-worker-node.js.map +4 -4
- package/dist/i3s-lepcc-worker.js +340 -33
- package/dist/i3s-mesh-writer.cjs +2464 -295
- package/dist/i3s-mesh-writer.cjs.map +3 -3
- package/dist/i3s-slpk-writer.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/point-cloud-tile-source-loader-types.js +1 -1
- package/dist/point-cloud-tile-source-loader.cjs +1 -1
- package/dist/potree/dist.dev.js +84 -28
- package/dist/potree/dist.min.js +26 -26
- package/dist/potree/index.cjs +11 -6
- package/dist/potree/index.cjs.map +1 -1
- package/dist/potree/potree-bin-loader.js +1 -1
- package/dist/potree/potree-hierarchy-chunk-loader.js +1 -1
- package/dist/potree/potree-loader-types.js +1 -1
- package/dist/potree/potree-source-loader.js +1 -1
- package/dist/potree/potree-writer.js +1 -1
- package/dist/potree-loader.cjs +1 -1
- package/package.json +13 -13
- package/src/3d-tiles/lib/classes/tile-3d-batch-table.ts +12 -8
package/dist/potree/index.cjs
CHANGED
|
@@ -6220,7 +6220,7 @@ var init_potree_loader_types2 = __esm({
|
|
|
6220
6220
|
"dist/potree/potree-loader-types.js"() {
|
|
6221
6221
|
"use strict";
|
|
6222
6222
|
init_potree_format();
|
|
6223
|
-
VERSION3 = true ? "5.0.0-beta.
|
|
6223
|
+
VERSION3 = true ? "5.0.0-beta.4" : "latest";
|
|
6224
6224
|
PotreeLoader2 = {
|
|
6225
6225
|
...PotreeFormat,
|
|
6226
6226
|
dataType: null,
|
|
@@ -6387,7 +6387,7 @@ var init_potree_hierarchy_chunk_loader = __esm({
|
|
|
6387
6387
|
"dist/potree/potree-hierarchy-chunk-loader.js"() {
|
|
6388
6388
|
"use strict";
|
|
6389
6389
|
init_potree_format();
|
|
6390
|
-
VERSION4 = true ? "5.0.0-beta.
|
|
6390
|
+
VERSION4 = true ? "5.0.0-beta.4" : "latest";
|
|
6391
6391
|
PotreeHierarchyChunkLoader = {
|
|
6392
6392
|
...PotreeHierarchyChunkFormat,
|
|
6393
6393
|
dataType: null,
|
|
@@ -7908,7 +7908,7 @@ var init_potree_bin_loader = __esm({
|
|
|
7908
7908
|
"dist/potree/potree-bin-loader.js"() {
|
|
7909
7909
|
"use strict";
|
|
7910
7910
|
init_potree_format();
|
|
7911
|
-
VERSION5 = true ? "5.0.0-beta.
|
|
7911
|
+
VERSION5 = true ? "5.0.0-beta.4" : "latest";
|
|
7912
7912
|
PotreeBinLoader = {
|
|
7913
7913
|
...PotreeBinFormat,
|
|
7914
7914
|
dataType: null,
|
|
@@ -8032,7 +8032,12 @@ function createLASTypedExtraBytesAttributes(pointCount, descriptors, extraByteCo
|
|
|
8032
8032
|
return attributes;
|
|
8033
8033
|
}
|
|
8034
8034
|
function readLASString(bytes, offset, length) {
|
|
8035
|
-
|
|
8035
|
+
const decoded = new TextDecoder().decode(bytes.subarray(offset, offset + length));
|
|
8036
|
+
let end = decoded.length;
|
|
8037
|
+
while (end > 0 && decoded[end - 1] === "\0") {
|
|
8038
|
+
end--;
|
|
8039
|
+
}
|
|
8040
|
+
return decoded.slice(0, end).trim();
|
|
8036
8041
|
}
|
|
8037
8042
|
function sanitizeExtraBytesName(name) {
|
|
8038
8043
|
return name.trim().replace(/[^A-Za-z0-9_]+/g, "_");
|
|
@@ -12835,7 +12840,7 @@ function inferPotreeColumnRole(name) {
|
|
|
12835
12840
|
|
|
12836
12841
|
// dist/potree/potree-source-loader.js
|
|
12837
12842
|
init_potree_format();
|
|
12838
|
-
var VERSION7 = true ? "5.0.0-beta.
|
|
12843
|
+
var VERSION7 = true ? "5.0.0-beta.4" : "latest";
|
|
12839
12844
|
var PotreeSourceLoader = {
|
|
12840
12845
|
...PotreeBinFormat,
|
|
12841
12846
|
dataType: null,
|
|
@@ -12862,7 +12867,7 @@ var PotreeSourceLoader = {
|
|
|
12862
12867
|
|
|
12863
12868
|
// dist/potree/potree-writer.js
|
|
12864
12869
|
init_schema_utils();
|
|
12865
|
-
var VERSION8 = true ? "5.0.0-beta.
|
|
12870
|
+
var VERSION8 = true ? "5.0.0-beta.4" : "latest";
|
|
12866
12871
|
var PotreeWriter = {
|
|
12867
12872
|
name: "Potree metadata",
|
|
12868
12873
|
id: "potree",
|