@hztxi/cesium-engine 25.0.4 → 25.0.6
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/Build/Workers/chunk-247MLVK2.js +124 -0
- package/Build/Workers/chunk-26I7TIAE.js +58 -0
- package/Build/Workers/chunk-26OYTC24.js +38 -0
- package/Build/Workers/chunk-2IMOZG7R.js +973 -0
- package/Build/Workers/chunk-2L6JGSYJ.js +57 -0
- package/Build/Workers/chunk-32N2SB76.js +56 -0
- package/Build/Workers/chunk-37WL527K.js +1287 -0
- package/Build/Workers/chunk-3IGH46TC.js +1054 -0
- package/Build/Workers/chunk-47BSFGJC.js +837 -0
- package/Build/Workers/chunk-4J7PL5AM.js +454 -0
- package/Build/Workers/chunk-4UMO63VY.js +76 -0
- package/Build/Workers/chunk-5YI3TQQC.js +778 -0
- package/Build/Workers/chunk-AEZQ2UWS.js +288 -0
- package/Build/Workers/chunk-AXE2ZIEG.js +219 -0
- package/Build/Workers/chunk-BDR7GL3E.js +1067 -0
- package/Build/Workers/chunk-C342XITR.js +44 -0
- package/Build/Workers/chunk-CWAUXQRF.js +754 -0
- package/Build/Workers/chunk-E5F7LDEP.js +3201 -0
- package/Build/Workers/chunk-FAKYMBUA.js +1046 -0
- package/Build/Workers/chunk-FSK4OZOO.js +352 -0
- package/Build/Workers/chunk-FSLRYNZ6.js +682 -0
- package/Build/Workers/chunk-GMDOGAXK.js +2719 -0
- package/Build/Workers/chunk-GRAFCIPA.js +455 -0
- package/Build/Workers/chunk-HEY4IOS3.js +140 -0
- package/Build/Workers/chunk-HRWFO57T.js +301 -0
- package/Build/Workers/chunk-HTCLVUBZ.js +82 -0
- package/Build/Workers/chunk-I2Q7XDRA.js +630 -0
- package/Build/Workers/chunk-ILPH3NF7.js +3794 -0
- package/Build/Workers/chunk-JZUUODN6.js +97 -0
- package/Build/Workers/chunk-KWVB54J6.js +241 -0
- package/Build/Workers/chunk-M3B3ZUU2.js +476 -0
- package/Build/Workers/chunk-MKR6YCMG.js +497 -0
- package/Build/Workers/chunk-MROMS2RL.js +162 -0
- package/Build/Workers/chunk-MUNAUSK7.js +280 -0
- package/Build/Workers/chunk-NHU5JEPP.js +1344 -0
- package/Build/Workers/chunk-OODXPB45.js +73 -0
- package/Build/Workers/chunk-OXZ5J3JW.js +368 -0
- package/Build/Workers/chunk-QBSWSTHY.js +257 -0
- package/Build/Workers/chunk-QDJYG7QL.js +352 -0
- package/Build/Workers/chunk-RX3U2BBW.js +1483 -0
- package/Build/Workers/chunk-S3XHL7GO.js +1992 -0
- package/Build/Workers/chunk-SBIC4OGS.js +171 -0
- package/Build/Workers/chunk-T4CYNROE.js +102 -0
- package/Build/Workers/chunk-T5VLPB4H.js +414 -0
- package/Build/Workers/chunk-TX763OWB.js +387 -0
- package/Build/Workers/chunk-UTAWMCSE.js +163 -0
- package/Build/Workers/chunk-VETQOADR.js +2342 -0
- package/Build/Workers/chunk-VXRWOM3T.js +101 -0
- package/Build/Workers/chunk-WVVFCMYF.js +147 -0
- package/Build/Workers/chunk-XAVNBZQ6.js +56 -0
- package/Build/Workers/chunk-XDSDR62Y.js +1800 -0
- package/Build/Workers/chunk-XDZCVNIZ.js +198 -0
- package/Build/Workers/chunk-XNLCW2OI.js +138 -0
- package/Build/Workers/chunk-XNQ2BTJD.js +693 -0
- package/Build/Workers/chunk-XZYBDSFP.js +305 -0
- package/Build/Workers/chunk-YDYN3RPI.js +398 -0
- package/Build/Workers/chunk-YMMEQBEW.js +511 -0
- package/Build/Workers/chunk-YQFOQAXD.js +9230 -0
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +23 -23
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createPolylineGeometry.js +25 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
- package/Build/Workers/createSimplePolylineGeometry.js +23 -23
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -26
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +23 -23
- package/Build/Workers/createVerticesFromHeightmap.js +23 -23
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +21 -21
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +23 -23
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +23 -23
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -26
- package/Source/Scene/ClassificationPrimitive.js +63 -3
- package/Source/Scene/PolylineCollection.js +4 -2
- package/Source/Shaders/PolylineShadowVolumeMorphVS.glsl +14 -1
- package/Source/Shaders/PolylineShadowVolumeMorphVS.js +14 -1
- package/Source/Shaders/PolylineShadowVolumeVS.glsl +7 -0
- package/Source/Shaders/PolylineShadowVolumeVS.js +7 -0
- package/Source/Shaders/PolylineVS.glsl +16 -6
- package/Source/Shaders/PolylineVS.js +16 -6
- package/Source/ThirdParty/zip-module.wasm +0 -0
- package/index.js +183 -183
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,51 +25,51 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WallGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-XDZCVNIZ.js";
|
|
29
|
+
import "./chunk-T5VLPB4H.js";
|
|
30
|
+
import "./chunk-FSK4OZOO.js";
|
|
31
|
+
import "./chunk-JZUUODN6.js";
|
|
32
|
+
import "./chunk-GRAFCIPA.js";
|
|
33
|
+
import "./chunk-NHU5JEPP.js";
|
|
34
|
+
import "./chunk-SBIC4OGS.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HEY4IOS3.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-C342XITR.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HRWFO57T.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-37WL527K.js";
|
|
49
|
+
import "./chunk-XAVNBZQ6.js";
|
|
50
|
+
import "./chunk-YQFOQAXD.js";
|
|
51
|
+
import "./chunk-E5F7LDEP.js";
|
|
52
52
|
import {
|
|
53
53
|
ComponentDatatype_default
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-QBSWSTHY.js";
|
|
55
|
+
import "./chunk-I2Q7XDRA.js";
|
|
56
|
+
import "./chunk-26I7TIAE.js";
|
|
57
57
|
import {
|
|
58
58
|
Ellipsoid_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-S3XHL7GO.js";
|
|
60
60
|
import {
|
|
61
61
|
Cartesian3_default,
|
|
62
62
|
Frozen_default
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VETQOADR.js";
|
|
64
64
|
import {
|
|
65
65
|
Math_default
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-MKR6YCMG.js";
|
|
67
67
|
import {
|
|
68
68
|
DeveloperError_default
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-UTAWMCSE.js";
|
|
70
70
|
import {
|
|
71
71
|
defined_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
73
73
|
|
|
74
74
|
// packages/engine/Source/Core/WallOutlineGeometry.js
|
|
75
75
|
var scratchCartesian3Position1 = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,26 +25,26 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XDSDR62Y.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VXRWOM3T.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HEY4IOS3.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-QBSWSTHY.js";
|
|
38
|
+
import "./chunk-I2Q7XDRA.js";
|
|
39
39
|
import {
|
|
40
40
|
RuntimeError_default
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-26I7TIAE.js";
|
|
42
|
+
import "./chunk-MKR6YCMG.js";
|
|
43
|
+
import "./chunk-UTAWMCSE.js";
|
|
44
44
|
import {
|
|
45
45
|
__toESM,
|
|
46
46
|
defined_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
48
48
|
|
|
49
49
|
// packages/engine/Source/Workers/decodeDraco.js
|
|
50
50
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VXRWOM3T.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-26I7TIAE.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UTAWMCSE.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
40
40
|
|
|
41
41
|
// node_modules/.pnpm/pako@2.2.0/node_modules/pako/lib/zlib/adler32.js
|
|
42
42
|
var require_adler32 = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,34 +25,34 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XDSDR62Y.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2IMOZG7R.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VXRWOM3T.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WVVFCMYF.js";
|
|
38
38
|
import {
|
|
39
39
|
Cartographic_default,
|
|
40
40
|
Ellipsoid_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-S3XHL7GO.js";
|
|
42
42
|
import {
|
|
43
43
|
Cartesian3_default,
|
|
44
44
|
Matrix3_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VETQOADR.js";
|
|
46
46
|
import {
|
|
47
47
|
Math_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MKR6YCMG.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UTAWMCSE.js";
|
|
52
52
|
import {
|
|
53
53
|
__toESM,
|
|
54
54
|
defined_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
56
56
|
|
|
57
57
|
// packages/engine/Source/Workers/decodeI3S.js
|
|
58
58
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
import {
|
|
27
27
|
initSync,
|
|
28
28
|
radix_sort_gaussians_indexes
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MUNAUSK7.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VXRWOM3T.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
36
36
|
|
|
37
37
|
// packages/engine/Source/Workers/gaussianSplatSorter.js
|
|
38
38
|
async function initWorker(parameters, transferableObjects) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
import {
|
|
27
27
|
generate_splat_texture,
|
|
28
28
|
initSync
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MUNAUSK7.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VXRWOM3T.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
36
36
|
|
|
37
37
|
// packages/engine/Source/Workers/gaussianSplatTextureGenerator.js
|
|
38
38
|
async function initWorker(parameters, transferableObjects) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VXRWOM3T.js";
|
|
29
29
|
import {
|
|
30
30
|
AxisAlignedBoundingBox_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-MROMS2RL.js";
|
|
32
|
+
import "./chunk-XAVNBZQ6.js";
|
|
33
33
|
import {
|
|
34
34
|
Matrix4_default
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-E5F7LDEP.js";
|
|
36
|
+
import "./chunk-26I7TIAE.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian3_default
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-VETQOADR.js";
|
|
40
|
+
import "./chunk-MKR6YCMG.js";
|
|
41
|
+
import "./chunk-UTAWMCSE.js";
|
|
42
|
+
import "./chunk-HTCLVUBZ.js";
|
|
43
43
|
|
|
44
44
|
// packages/engine/Source/Workers/incrementallyBuildTerrainPicker.js
|
|
45
45
|
var scratchAABBCornerMin = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VXRWOM3T.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I2Q7XDRA.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-26I7TIAE.js";
|
|
35
35
|
import {
|
|
36
36
|
Check_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UTAWMCSE.js";
|
|
38
38
|
import {
|
|
39
39
|
__commonJS,
|
|
40
40
|
__require,
|
|
41
41
|
__toESM,
|
|
42
42
|
defined_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
44
44
|
|
|
45
45
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
46
46
|
var require_basis_transcoder = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,53 +26,53 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-CWAUXQRF.js";
|
|
30
|
+
import "./chunk-4UMO63VY.js";
|
|
31
31
|
import {
|
|
32
32
|
createTaskProcessorWorker_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VXRWOM3T.js";
|
|
34
34
|
import {
|
|
35
35
|
OrientedBoundingBox_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-47BSFGJC.js";
|
|
37
37
|
import {
|
|
38
38
|
AttributeCompression_default
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-4J7PL5AM.js";
|
|
40
|
+
import "./chunk-AEZQ2UWS.js";
|
|
41
|
+
import "./chunk-MROMS2RL.js";
|
|
42
|
+
import "./chunk-NHU5JEPP.js";
|
|
43
|
+
import "./chunk-SBIC4OGS.js";
|
|
44
44
|
import {
|
|
45
45
|
IndexDatatype_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HEY4IOS3.js";
|
|
47
47
|
import {
|
|
48
48
|
BoundingSphere_default
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-37WL527K.js";
|
|
50
|
+
import "./chunk-XAVNBZQ6.js";
|
|
51
51
|
import {
|
|
52
52
|
Rectangle_default
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-YQFOQAXD.js";
|
|
54
|
+
import "./chunk-E5F7LDEP.js";
|
|
55
|
+
import "./chunk-QBSWSTHY.js";
|
|
56
|
+
import "./chunk-I2Q7XDRA.js";
|
|
57
|
+
import "./chunk-26I7TIAE.js";
|
|
58
58
|
import {
|
|
59
59
|
Cartesian2_default,
|
|
60
60
|
Cartographic_default,
|
|
61
61
|
Ellipsoid_default
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-S3XHL7GO.js";
|
|
63
63
|
import {
|
|
64
64
|
Cartesian3_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-VETQOADR.js";
|
|
66
66
|
import {
|
|
67
67
|
Math_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-MKR6YCMG.js";
|
|
69
69
|
import {
|
|
70
70
|
Check_default,
|
|
71
71
|
DeveloperError_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UTAWMCSE.js";
|
|
73
73
|
import {
|
|
74
74
|
defined_default
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HTCLVUBZ.js";
|
|
76
76
|
|
|
77
77
|
// packages/engine/Source/Core/Intersections2D.js
|
|
78
78
|
var Intersections2D = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.141.
|
|
4
|
+
* Version 1.141.6
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,33 +25,33 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Cesium3DTilesTerrainGeometryProcessor_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-ILPH3NF7.js";
|
|
29
|
+
import "./chunk-QDJYG7QL.js";
|
|
30
|
+
import "./chunk-CWAUXQRF.js";
|
|
31
|
+
import "./chunk-4UMO63VY.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-VXRWOM3T.js";
|
|
35
|
+
import "./chunk-WVVFCMYF.js";
|
|
36
|
+
import "./chunk-47BSFGJC.js";
|
|
37
|
+
import "./chunk-4J7PL5AM.js";
|
|
38
|
+
import "./chunk-AEZQ2UWS.js";
|
|
39
|
+
import "./chunk-MROMS2RL.js";
|
|
40
|
+
import "./chunk-NHU5JEPP.js";
|
|
41
|
+
import "./chunk-SBIC4OGS.js";
|
|
42
|
+
import "./chunk-HEY4IOS3.js";
|
|
43
|
+
import "./chunk-37WL527K.js";
|
|
44
|
+
import "./chunk-XAVNBZQ6.js";
|
|
45
|
+
import "./chunk-YQFOQAXD.js";
|
|
46
|
+
import "./chunk-E5F7LDEP.js";
|
|
47
|
+
import "./chunk-QBSWSTHY.js";
|
|
48
|
+
import "./chunk-I2Q7XDRA.js";
|
|
49
|
+
import "./chunk-26I7TIAE.js";
|
|
50
|
+
import "./chunk-S3XHL7GO.js";
|
|
51
|
+
import "./chunk-VETQOADR.js";
|
|
52
|
+
import "./chunk-MKR6YCMG.js";
|
|
53
|
+
import "./chunk-UTAWMCSE.js";
|
|
54
|
+
import "./chunk-HTCLVUBZ.js";
|
|
55
55
|
|
|
56
56
|
// packages/engine/Source/Workers/upsampleVerticesFromCesium3DTilesTerrain.js
|
|
57
57
|
function upsampleVerticesFromCesium3DTilesTerrain(options, transferableObjects) {
|
|
@@ -12,6 +12,8 @@ import ShaderProgram from "../Renderer/ShaderProgram.js";
|
|
|
12
12
|
import ShaderSource from "../Renderer/ShaderSource.js";
|
|
13
13
|
import ShadowVolumeAppearanceVS from "../Shaders/ShadowVolumeAppearanceVS.js";
|
|
14
14
|
import ShadowVolumeFS from "../Shaders/ShadowVolumeFS.js";
|
|
15
|
+
import BlendEquation from "./BlendEquation.js";
|
|
16
|
+
import BlendFunction from "./BlendFunction.js";
|
|
15
17
|
import BlendingState from "./BlendingState.js";
|
|
16
18
|
import ClassificationType from "./ClassificationType.js";
|
|
17
19
|
import DepthFunction from "./DepthFunction.js";
|
|
@@ -366,7 +368,61 @@ function getStencilDepthRenderState(enableStencil, mask3DTiles) {
|
|
|
366
368
|
};
|
|
367
369
|
}
|
|
368
370
|
|
|
369
|
-
|
|
371
|
+
/**
|
|
372
|
+
* HZ patch: per-material blend modes for ground classification.
|
|
373
|
+
* The app encodes the mode as a suffix on the composed material type
|
|
374
|
+
* (e.g. ComposedPolygon_..._blendScreen). Source fragments are
|
|
375
|
+
* premultiplied (ShadowVolumeAppearanceFS: rgb *= alpha), so:
|
|
376
|
+
* screen = src + dst * (1 - src) -> (ONE, ONE_MINUS_SRC_COLOR)
|
|
377
|
+
* multiply = dst * mix(1, c, a) (alpha-gated) -> (DST_COLOR, ONE_MINUS_SRC_ALPHA)
|
|
378
|
+
* additive = src + dst -> (ONE, ONE)
|
|
379
|
+
* Alpha keeps standard premultiplied over except additive.
|
|
380
|
+
*/
|
|
381
|
+
const classificationBlendOverrides = {
|
|
382
|
+
_blendScreen: {
|
|
383
|
+
enabled: true,
|
|
384
|
+
equationRgb: BlendEquation.ADD,
|
|
385
|
+
equationAlpha: BlendEquation.ADD,
|
|
386
|
+
functionSourceRgb: BlendFunction.ONE,
|
|
387
|
+
functionSourceAlpha: BlendFunction.ONE,
|
|
388
|
+
functionDestinationRgb: BlendFunction.ONE_MINUS_SOURCE_COLOR,
|
|
389
|
+
functionDestinationAlpha: BlendFunction.ONE_MINUS_SOURCE_ALPHA,
|
|
390
|
+
},
|
|
391
|
+
_blendMultiply: {
|
|
392
|
+
enabled: true,
|
|
393
|
+
equationRgb: BlendEquation.ADD,
|
|
394
|
+
equationAlpha: BlendEquation.ADD,
|
|
395
|
+
functionSourceRgb: BlendFunction.DESTINATION_COLOR,
|
|
396
|
+
functionSourceAlpha: BlendFunction.ONE,
|
|
397
|
+
functionDestinationRgb: BlendFunction.ONE_MINUS_SOURCE_ALPHA,
|
|
398
|
+
functionDestinationAlpha: BlendFunction.ONE_MINUS_SOURCE_ALPHA,
|
|
399
|
+
},
|
|
400
|
+
_blendAdditive: {
|
|
401
|
+
enabled: true,
|
|
402
|
+
equationRgb: BlendEquation.ADD,
|
|
403
|
+
equationAlpha: BlendEquation.ADD,
|
|
404
|
+
functionSourceRgb: BlendFunction.ONE,
|
|
405
|
+
functionSourceAlpha: BlendFunction.ONE,
|
|
406
|
+
functionDestinationRgb: BlendFunction.ONE,
|
|
407
|
+
functionDestinationAlpha: BlendFunction.ONE,
|
|
408
|
+
},
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
/** HZ patch: material type suffix -> blending override (undefined = stock) */
|
|
412
|
+
function getClassificationBlendOverride(classificationPrimitive) {
|
|
413
|
+
const type = classificationPrimitive.appearance?.material?.type;
|
|
414
|
+
if (typeof type !== "string") {
|
|
415
|
+
return undefined;
|
|
416
|
+
}
|
|
417
|
+
for (const suffix of Object.keys(classificationBlendOverrides)) {
|
|
418
|
+
if (type.endsWith(suffix)) {
|
|
419
|
+
return classificationBlendOverrides[suffix];
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
return undefined;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
function getColorRenderState(enableStencil, blending) {
|
|
370
426
|
return {
|
|
371
427
|
stencilTest: {
|
|
372
428
|
enabled: enableStencil,
|
|
@@ -390,7 +446,7 @@ function getColorRenderState(enableStencil) {
|
|
|
390
446
|
enabled: false,
|
|
391
447
|
},
|
|
392
448
|
depthMask: false,
|
|
393
|
-
blending: BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
|
|
449
|
+
blending: blending ?? BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
|
|
394
450
|
};
|
|
395
451
|
}
|
|
396
452
|
|
|
@@ -436,8 +492,12 @@ function createRenderStates(
|
|
|
436
492
|
classificationPrimitive._rsStencilDepthPass3DTiles = RenderState.fromCache(
|
|
437
493
|
getStencilDepthRenderState(stencilEnabled, true),
|
|
438
494
|
);
|
|
495
|
+
// HZ patch: honor per-material blend mode encoded in the material type
|
|
439
496
|
classificationPrimitive._rsColorPass = RenderState.fromCache(
|
|
440
|
-
getColorRenderState(
|
|
497
|
+
getColorRenderState(
|
|
498
|
+
stencilEnabled,
|
|
499
|
+
getClassificationBlendOverride(classificationPrimitive),
|
|
500
|
+
),
|
|
441
501
|
);
|
|
442
502
|
classificationPrimitive._rsPickPass = RenderState.fromCache(pickRenderState);
|
|
443
503
|
}
|
|
@@ -846,7 +846,7 @@ function createVertexArrays(collection, context, projection) {
|
|
|
846
846
|
|
|
847
847
|
//stores all of the individual indices arrays.
|
|
848
848
|
const totalIndices = [[]];
|
|
849
|
-
let indices
|
|
849
|
+
let indices;
|
|
850
850
|
|
|
851
851
|
const batchTable = collection._batchTable;
|
|
852
852
|
const useHighlightColor = collection._useHighlightColor;
|
|
@@ -1364,7 +1364,9 @@ PolylineBucket.prototype.write = function (
|
|
|
1364
1364
|
for (let i = 0; i < length; ++i) {
|
|
1365
1365
|
const polyline = polylines[i];
|
|
1366
1366
|
const width = polyline.width;
|
|
1367
|
-
|
|
1367
|
+
// HZ patch: negative width encodes metric sizing (converted to pixels in
|
|
1368
|
+
// the vertex shader), so only an exactly-zero width hides the polyline.
|
|
1369
|
+
const show = polyline.show && width !== 0.0;
|
|
1368
1370
|
const polylineBatchIndex = polyline._index;
|
|
1369
1371
|
const segments = this.getSegments(polyline, projection);
|
|
1370
1372
|
const positions = segments.positions;
|
|
@@ -104,11 +104,24 @@ void main()
|
|
|
104
104
|
|
|
105
105
|
#ifdef WIDTH_VARYING
|
|
106
106
|
float width = czm_batchTable_width(batchId);
|
|
107
|
+
// HZ patch: negative batch width encodes metric sizing (world meters).
|
|
108
|
+
if (width < 0.0)
|
|
109
|
+
{
|
|
110
|
+
vec4 metricPosEC = czm_modelViewRelativeToEye * czm_translateRelativeToEye(position3DHigh, position3DLow);
|
|
111
|
+
width = clamp((-width) / czm_metersPerPixel(metricPosEC), 1.0, 4096.0);
|
|
112
|
+
}
|
|
107
113
|
float halfWidth = width * 0.5;
|
|
108
114
|
v_width = width;
|
|
109
115
|
v_texcoordNormalizationAndHalfWidth.z = halfWidth;
|
|
110
116
|
#else
|
|
111
|
-
float
|
|
117
|
+
float width = czm_batchTable_width(batchId);
|
|
118
|
+
// HZ patch: negative batch width encodes metric sizing (world meters).
|
|
119
|
+
if (width < 0.0)
|
|
120
|
+
{
|
|
121
|
+
vec4 metricPosEC = czm_modelViewRelativeToEye * czm_translateRelativeToEye(position3DHigh, position3DLow);
|
|
122
|
+
width = clamp((-width) / czm_metersPerPixel(metricPosEC), 1.0, 4096.0);
|
|
123
|
+
}
|
|
124
|
+
float halfWidth = width * 0.5;
|
|
112
125
|
v_texcoordNormalizationAndHalfWidth.z = halfWidth;
|
|
113
126
|
#endif
|
|
114
127
|
|