@cesium/engine 2.4.1 → 3.0.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/Build/Workers/{BoxGeometry-af7d05ef.js → BoxGeometry-7aa4ce7f.js} +1 -1
- package/Build/Workers/{CylinderGeometry-dbaa1678.js → CylinderGeometry-8fc7c44b.js} +1 -1
- package/Build/Workers/{EllipseGeometry-6508b78b.js → EllipseGeometry-16b3736a.js} +1 -1
- package/Build/Workers/{EllipseOutlineGeometry-2a2510bb.js → EllipseOutlineGeometry-05d35d18.js} +1 -1
- package/Build/Workers/{EllipsoidGeometry-8155e3a2.js → EllipsoidGeometry-a503d1d6.js} +1 -1
- package/Build/Workers/{EllipsoidOutlineGeometry-c045678d.js → EllipsoidOutlineGeometry-7b09f24d.js} +1 -1
- package/Build/Workers/{FrustumGeometry-d3ff16d0.js → FrustumGeometry-87ce8622.js} +1 -1
- package/Build/Workers/{GeometryAttribute-13da9466.js → GeometryAttribute-8fcff0d5.js} +1 -1
- package/Build/Workers/{GeometryPipeline-03bc5709.js → GeometryPipeline-70d69a43.js} +1 -1
- package/Build/Workers/{PolygonGeometryLibrary-d447448d.js → PolygonGeometryLibrary-bad6329a.js} +1 -1
- package/Build/Workers/{PolygonPipeline-460cce4e.js → PolygonPipeline-dd13ee78.js} +1 -1
- package/Build/Workers/{PrimitivePipeline-e648752b.js → PrimitivePipeline-111ee29f.js} +1 -1
- package/Build/Workers/cesiumWorkerBootstrapper.js +1 -1
- package/Build/Workers/combineGeometry.js +1 -1
- package/Build/Workers/createBoxGeometry.js +1 -1
- package/Build/Workers/createBoxOutlineGeometry.js +1 -1
- package/Build/Workers/createCircleGeometry.js +1 -1
- package/Build/Workers/createCircleOutlineGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createCorridorGeometry.js +1 -1
- package/Build/Workers/createCorridorOutlineGeometry.js +1 -1
- package/Build/Workers/createCylinderGeometry.js +1 -1
- package/Build/Workers/createCylinderOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipseGeometry.js +1 -1
- package/Build/Workers/createEllipseOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipsoidGeometry.js +1 -1
- package/Build/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/Build/Workers/createFrustumGeometry.js +1 -1
- package/Build/Workers/createFrustumOutlineGeometry.js +1 -1
- package/Build/Workers/createGeometry.js +1 -1
- package/Build/Workers/createGroundPolylineGeometry.js +1 -1
- package/Build/Workers/createPlaneGeometry.js +1 -1
- package/Build/Workers/createPlaneOutlineGeometry.js +1 -1
- package/Build/Workers/createPolygonGeometry.js +1 -1
- package/Build/Workers/createPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createPolylineGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
- package/Build/Workers/createRectangleGeometry.js +1 -1
- package/Build/Workers/createRectangleOutlineGeometry.js +1 -1
- package/Build/Workers/createSimplePolylineGeometry.js +1 -1
- package/Build/Workers/createSphereGeometry.js +1 -1
- package/Build/Workers/createSphereOutlineGeometry.js +1 -1
- package/Build/Workers/createVectorTileGeometries.js +1 -1
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -22
- package/Build/Workers/createWallGeometry.js +1 -1
- package/Build/Workers/createWallOutlineGeometry.js +1 -1
- package/Build/Workers/package.js +1 -1
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +0 -75
- package/Source/Core/CesiumTerrainProvider.js +0 -75
- package/Source/Core/CustomHeightmapTerrainProvider.js +0 -38
- package/Source/Core/EllipsoidTerrainProvider.js +0 -37
- package/Source/Core/Geometry.js +1 -1
- package/Source/Core/GoogleEarthEnterpriseMetadata.js +0 -53
- package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -101
- package/Source/Core/GoogleMaps.js +1 -1
- package/Source/Core/Ion.js +1 -2
- package/Source/Core/TerrainProvider.js +0 -22
- package/Source/Core/VRTheWorldTerrainProvider.js +0 -59
- package/Source/Core/sampleTerrain.js +0 -7
- package/Source/Core/sampleTerrainMostDetailed.js +0 -7
- package/Source/DataSources/Cesium3DTilesetVisualizer.js +6 -5
- package/Source/DataSources/KmlTour.js +1 -12
- package/Source/DataSources/ModelVisualizer.js +0 -12
- package/Source/Renderer/Context.js +10 -2
- package/Source/Scene/ArcGisMapServerImageryProvider.js +7 -335
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +7 -0
- package/Source/Scene/BingMapsImageryProvider.js +0 -326
- package/Source/Scene/{parseBoundingVolumeSemantics.js → BoundingVolumeSemantics.js} +71 -15
- package/Source/Scene/Camera.js +1 -1
- package/Source/Scene/Cesium3DTile.js +35 -18
- package/Source/Scene/Cesium3DTileContent.js +0 -16
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +0 -123
- package/Source/Scene/Cesium3DTileset.js +183 -184
- package/Source/Scene/Cesium3DTilesetBaseTraversal.js +1 -1
- package/Source/Scene/Cesium3DTilesetCache.js +1 -3
- package/Source/Scene/Cesium3DTilesetSkipTraversal.js +5 -2
- package/Source/Scene/Cesium3DTilesetTraversal.js +2 -2
- package/Source/Scene/ClassificationPrimitive.js +5 -43
- package/Source/Scene/Composite3DTileContent.js +0 -27
- package/Source/Scene/CreditDisplay.js +0 -54
- package/Source/Scene/DerivedCommand.js +15 -10
- package/Source/Scene/Empty3DTileContent.js +0 -21
- package/Source/Scene/Geometry3DTileContent.js +0 -29
- package/Source/Scene/Globe.js +1 -9
- package/Source/Scene/GlobeSurfaceTile.js +13 -8
- package/Source/Scene/GlobeSurfaceTileProvider.js +8 -60
- package/Source/Scene/GltfPipeline/removeUnusedElements.js +27 -0
- package/Source/Scene/GltfPipeline/updateVersion.js +21 -4
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -339
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +0 -326
- package/Source/Scene/GridImageryProvider.js +0 -274
- package/Source/Scene/GroundPolylinePrimitive.js +5 -38
- package/Source/Scene/GroundPrimitive.js +5 -43
- package/Source/Scene/I3SDataProvider.js +4 -99
- package/Source/Scene/I3SLayer.js +15 -22
- package/Source/Scene/Imagery.js +1 -9
- package/Source/Scene/ImageryLayer.js +1 -40
- package/Source/Scene/ImageryProvider.js +0 -138
- package/Source/Scene/Implicit3DTileContent.js +4 -25
- package/Source/Scene/IonImageryProvider.js +1 -369
- package/Source/Scene/MapboxImageryProvider.js +0 -276
- package/Source/Scene/MapboxStyleImageryProvider.js +0 -274
- package/Source/Scene/Model/CustomShaderPipelineStage.js +178 -164
- package/Source/Scene/Model/Model.js +9 -250
- package/Source/Scene/Model/Model3DTileContent.js +0 -50
- package/Source/Scene/Model/ModelAnimationCollection.js +1 -1
- package/Source/Scene/Model/PointCloudStylingPipelineStage.js +1 -1
- package/Source/Scene/Multiple3DTileContent.js +0 -27
- package/Source/Scene/Primitive.js +10 -38
- package/Source/Scene/QuadtreePrimitive.js +3 -5
- package/Source/Scene/QuadtreeTileProvider.js +0 -10
- package/Source/Scene/Scene.js +3 -3
- package/Source/Scene/ScreenSpaceCameraController.js +5 -5
- package/Source/Scene/SingleTileImageryProvider.js +6 -302
- package/Source/Scene/TileCoordinatesImageryProvider.js +0 -273
- package/Source/Scene/TileMapServiceImageryProvider.js +3 -48
- package/Source/Scene/Tileset3DTileContent.js +0 -22
- package/Source/Scene/TimeDynamicPointCloud.js +0 -28
- package/Source/Scene/UrlTemplateImageryProvider.js +0 -375
- package/Source/Scene/Vector3DTileContent.js +0 -29
- package/Source/Scene/VoxelPrimitive.js +9 -49
- package/Source/Scene/VoxelProvider.js +0 -24
- package/Source/Scene/WebMapServiceImageryProvider.js +0 -274
- package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -274
- package/Source/Scene/computeFlyToLocationForRectangle.js +0 -6
- package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -0
- package/Source/Shaders/Builtin/Functions/eastNorthUpToEyeCoordinates.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/eastNorthUpToEyeCoordinates.js +1 -1
- package/Source/Shaders/EllipsoidFS.glsl +1 -1
- package/Source/Shaders/EllipsoidFS.js +1 -1
- package/Source/Shaders/GlobeFS.glsl +1 -1
- package/Source/Shaders/GlobeFS.js +1 -1
- package/Source/Widget/CesiumWidget.js +2 -19
- package/index.d.ts +62 -1183
- package/index.js +63 -66
- package/package.json +2 -2
- package/Source/Core/createWorldTerrain.js +0 -61
- package/Source/Scene/createOsmBuildings.js +0 -82
- package/Source/Scene/createWorldImagery.js +0 -47
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
globalThis.CESIUM_VERSION = "1.
|
|
1
|
+
globalThis.CESIUM_VERSION = "1.107.1";
|
|
2
2
|
export { default as AutomaticUniforms } from './Source/Renderer/AutomaticUniforms.js';
|
|
3
3
|
export { default as Buffer } from './Source/Renderer/Buffer.js';
|
|
4
4
|
export { default as BufferUsage } from './Source/Renderer/BufferUsage.js';
|
|
@@ -41,6 +41,57 @@ export { default as createUniformArray } from './Source/Renderer/createUniformAr
|
|
|
41
41
|
export { default as demodernizeShader } from './Source/Renderer/demodernizeShader.js';
|
|
42
42
|
export { default as freezeRenderState } from './Source/Renderer/freezeRenderState.js';
|
|
43
43
|
export { default as loadCubeMap } from './Source/Renderer/loadCubeMap.js';
|
|
44
|
+
export { default as _shadersAdjustTranslucentFS } from './Source/Shaders/AdjustTranslucentFS.js';
|
|
45
|
+
export { default as _shadersAtmosphereCommon } from './Source/Shaders/AtmosphereCommon.js';
|
|
46
|
+
export { default as _shadersBillboardCollectionFS } from './Source/Shaders/BillboardCollectionFS.js';
|
|
47
|
+
export { default as _shadersBillboardCollectionVS } from './Source/Shaders/BillboardCollectionVS.js';
|
|
48
|
+
export { default as _shadersBrdfLutGeneratorFS } from './Source/Shaders/BrdfLutGeneratorFS.js';
|
|
49
|
+
export { default as _shadersCloudCollectionFS } from './Source/Shaders/CloudCollectionFS.js';
|
|
50
|
+
export { default as _shadersCloudCollectionVS } from './Source/Shaders/CloudCollectionVS.js';
|
|
51
|
+
export { default as _shadersCloudNoiseFS } from './Source/Shaders/CloudNoiseFS.js';
|
|
52
|
+
export { default as _shadersCloudNoiseVS } from './Source/Shaders/CloudNoiseVS.js';
|
|
53
|
+
export { default as _shadersCompareAndPackTranslucentDepth } from './Source/Shaders/CompareAndPackTranslucentDepth.js';
|
|
54
|
+
export { default as _shadersCompositeOITFS } from './Source/Shaders/CompositeOITFS.js';
|
|
55
|
+
export { default as _shadersDepthPlaneFS } from './Source/Shaders/DepthPlaneFS.js';
|
|
56
|
+
export { default as _shadersDepthPlaneVS } from './Source/Shaders/DepthPlaneVS.js';
|
|
57
|
+
export { default as _shadersEllipsoidFS } from './Source/Shaders/EllipsoidFS.js';
|
|
58
|
+
export { default as _shadersEllipsoidVS } from './Source/Shaders/EllipsoidVS.js';
|
|
59
|
+
export { default as _shadersFXAA3_11 } from './Source/Shaders/FXAA3_11.js';
|
|
60
|
+
export { default as _shadersGlobeFS } from './Source/Shaders/GlobeFS.js';
|
|
61
|
+
export { default as _shadersGlobeVS } from './Source/Shaders/GlobeVS.js';
|
|
62
|
+
export { default as _shadersGroundAtmosphere } from './Source/Shaders/GroundAtmosphere.js';
|
|
63
|
+
export { default as _shadersOctahedralProjectionAtlasFS } from './Source/Shaders/OctahedralProjectionAtlasFS.js';
|
|
64
|
+
export { default as _shadersOctahedralProjectionFS } from './Source/Shaders/OctahedralProjectionFS.js';
|
|
65
|
+
export { default as _shadersOctahedralProjectionVS } from './Source/Shaders/OctahedralProjectionVS.js';
|
|
66
|
+
export { default as _shadersPointPrimitiveCollectionFS } from './Source/Shaders/PointPrimitiveCollectionFS.js';
|
|
67
|
+
export { default as _shadersPointPrimitiveCollectionVS } from './Source/Shaders/PointPrimitiveCollectionVS.js';
|
|
68
|
+
export { default as _shadersPolylineCommon } from './Source/Shaders/PolylineCommon.js';
|
|
69
|
+
export { default as _shadersPolylineFS } from './Source/Shaders/PolylineFS.js';
|
|
70
|
+
export { default as _shadersPolylineShadowVolumeFS } from './Source/Shaders/PolylineShadowVolumeFS.js';
|
|
71
|
+
export { default as _shadersPolylineShadowVolumeMorphFS } from './Source/Shaders/PolylineShadowVolumeMorphFS.js';
|
|
72
|
+
export { default as _shadersPolylineShadowVolumeMorphVS } from './Source/Shaders/PolylineShadowVolumeMorphVS.js';
|
|
73
|
+
export { default as _shadersPolylineShadowVolumeVS } from './Source/Shaders/PolylineShadowVolumeVS.js';
|
|
74
|
+
export { default as _shadersPolylineVS } from './Source/Shaders/PolylineVS.js';
|
|
75
|
+
export { default as _shadersReprojectWebMercatorFS } from './Source/Shaders/ReprojectWebMercatorFS.js';
|
|
76
|
+
export { default as _shadersReprojectWebMercatorVS } from './Source/Shaders/ReprojectWebMercatorVS.js';
|
|
77
|
+
export { default as _shadersShadowVolumeAppearanceFS } from './Source/Shaders/ShadowVolumeAppearanceFS.js';
|
|
78
|
+
export { default as _shadersShadowVolumeAppearanceVS } from './Source/Shaders/ShadowVolumeAppearanceVS.js';
|
|
79
|
+
export { default as _shadersShadowVolumeFS } from './Source/Shaders/ShadowVolumeFS.js';
|
|
80
|
+
export { default as _shadersSkyAtmosphereCommon } from './Source/Shaders/SkyAtmosphereCommon.js';
|
|
81
|
+
export { default as _shadersSkyAtmosphereFS } from './Source/Shaders/SkyAtmosphereFS.js';
|
|
82
|
+
export { default as _shadersSkyAtmosphereVS } from './Source/Shaders/SkyAtmosphereVS.js';
|
|
83
|
+
export { default as _shadersSkyBoxFS } from './Source/Shaders/SkyBoxFS.js';
|
|
84
|
+
export { default as _shadersSkyBoxVS } from './Source/Shaders/SkyBoxVS.js';
|
|
85
|
+
export { default as _shadersSunFS } from './Source/Shaders/SunFS.js';
|
|
86
|
+
export { default as _shadersSunTextureFS } from './Source/Shaders/SunTextureFS.js';
|
|
87
|
+
export { default as _shadersSunVS } from './Source/Shaders/SunVS.js';
|
|
88
|
+
export { default as _shadersVector3DTileClampedPolylinesFS } from './Source/Shaders/Vector3DTileClampedPolylinesFS.js';
|
|
89
|
+
export { default as _shadersVector3DTileClampedPolylinesVS } from './Source/Shaders/Vector3DTileClampedPolylinesVS.js';
|
|
90
|
+
export { default as _shadersVector3DTilePolylinesVS } from './Source/Shaders/Vector3DTilePolylinesVS.js';
|
|
91
|
+
export { default as _shadersVectorTileVS } from './Source/Shaders/VectorTileVS.js';
|
|
92
|
+
export { default as _shadersViewportQuadFS } from './Source/Shaders/ViewportQuadFS.js';
|
|
93
|
+
export { default as _shadersViewportQuadVS } from './Source/Shaders/ViewportQuadVS.js';
|
|
94
|
+
export { default as CesiumWidget } from './Source/Widget/CesiumWidget.js';
|
|
44
95
|
export { default as BillboardGraphics } from './Source/DataSources/BillboardGraphics.js';
|
|
45
96
|
export { default as BillboardVisualizer } from './Source/DataSources/BillboardVisualizer.js';
|
|
46
97
|
export { default as BoundingSphereState } from './Source/DataSources/BoundingSphereState.js';
|
|
@@ -380,7 +431,6 @@ export { default as buildModuleUrl } from './Source/Core/buildModuleUrl.js';
|
|
|
380
431
|
export { default as clone } from './Source/Core/clone.js';
|
|
381
432
|
export { default as combine } from './Source/Core/combine.js';
|
|
382
433
|
export { default as createGuid } from './Source/Core/createGuid.js';
|
|
383
|
-
export { default as createWorldTerrain } from './Source/Core/createWorldTerrain.js';
|
|
384
434
|
export { default as createWorldTerrainAsync } from './Source/Core/createWorldTerrainAsync.js';
|
|
385
435
|
export { default as decodeGoogleEarthEnterpriseData } from './Source/Core/decodeGoogleEarthEnterpriseData.js';
|
|
386
436
|
export { default as decodeVectorPolylinePositions } from './Source/Core/decodeVectorPolylinePositions.js';
|
|
@@ -422,56 +472,6 @@ export { default as subdivideArray } from './Source/Core/subdivideArray.js';
|
|
|
422
472
|
export { default as webGLConstantToGlslType } from './Source/Core/webGLConstantToGlslType.js';
|
|
423
473
|
export { default as wrapFunction } from './Source/Core/wrapFunction.js';
|
|
424
474
|
export { default as writeTextToCanvas } from './Source/Core/writeTextToCanvas.js';
|
|
425
|
-
export { default as _shadersAdjustTranslucentFS } from './Source/Shaders/AdjustTranslucentFS.js';
|
|
426
|
-
export { default as _shadersAtmosphereCommon } from './Source/Shaders/AtmosphereCommon.js';
|
|
427
|
-
export { default as _shadersBillboardCollectionFS } from './Source/Shaders/BillboardCollectionFS.js';
|
|
428
|
-
export { default as _shadersBillboardCollectionVS } from './Source/Shaders/BillboardCollectionVS.js';
|
|
429
|
-
export { default as _shadersBrdfLutGeneratorFS } from './Source/Shaders/BrdfLutGeneratorFS.js';
|
|
430
|
-
export { default as _shadersCloudCollectionFS } from './Source/Shaders/CloudCollectionFS.js';
|
|
431
|
-
export { default as _shadersCloudCollectionVS } from './Source/Shaders/CloudCollectionVS.js';
|
|
432
|
-
export { default as _shadersCloudNoiseFS } from './Source/Shaders/CloudNoiseFS.js';
|
|
433
|
-
export { default as _shadersCloudNoiseVS } from './Source/Shaders/CloudNoiseVS.js';
|
|
434
|
-
export { default as _shadersCompareAndPackTranslucentDepth } from './Source/Shaders/CompareAndPackTranslucentDepth.js';
|
|
435
|
-
export { default as _shadersCompositeOITFS } from './Source/Shaders/CompositeOITFS.js';
|
|
436
|
-
export { default as _shadersDepthPlaneFS } from './Source/Shaders/DepthPlaneFS.js';
|
|
437
|
-
export { default as _shadersDepthPlaneVS } from './Source/Shaders/DepthPlaneVS.js';
|
|
438
|
-
export { default as _shadersEllipsoidFS } from './Source/Shaders/EllipsoidFS.js';
|
|
439
|
-
export { default as _shadersEllipsoidVS } from './Source/Shaders/EllipsoidVS.js';
|
|
440
|
-
export { default as _shadersFXAA3_11 } from './Source/Shaders/FXAA3_11.js';
|
|
441
|
-
export { default as _shadersGlobeFS } from './Source/Shaders/GlobeFS.js';
|
|
442
|
-
export { default as _shadersGlobeVS } from './Source/Shaders/GlobeVS.js';
|
|
443
|
-
export { default as _shadersGroundAtmosphere } from './Source/Shaders/GroundAtmosphere.js';
|
|
444
|
-
export { default as _shadersOctahedralProjectionAtlasFS } from './Source/Shaders/OctahedralProjectionAtlasFS.js';
|
|
445
|
-
export { default as _shadersOctahedralProjectionFS } from './Source/Shaders/OctahedralProjectionFS.js';
|
|
446
|
-
export { default as _shadersOctahedralProjectionVS } from './Source/Shaders/OctahedralProjectionVS.js';
|
|
447
|
-
export { default as _shadersPointPrimitiveCollectionFS } from './Source/Shaders/PointPrimitiveCollectionFS.js';
|
|
448
|
-
export { default as _shadersPointPrimitiveCollectionVS } from './Source/Shaders/PointPrimitiveCollectionVS.js';
|
|
449
|
-
export { default as _shadersPolylineCommon } from './Source/Shaders/PolylineCommon.js';
|
|
450
|
-
export { default as _shadersPolylineFS } from './Source/Shaders/PolylineFS.js';
|
|
451
|
-
export { default as _shadersPolylineShadowVolumeFS } from './Source/Shaders/PolylineShadowVolumeFS.js';
|
|
452
|
-
export { default as _shadersPolylineShadowVolumeMorphFS } from './Source/Shaders/PolylineShadowVolumeMorphFS.js';
|
|
453
|
-
export { default as _shadersPolylineShadowVolumeMorphVS } from './Source/Shaders/PolylineShadowVolumeMorphVS.js';
|
|
454
|
-
export { default as _shadersPolylineShadowVolumeVS } from './Source/Shaders/PolylineShadowVolumeVS.js';
|
|
455
|
-
export { default as _shadersPolylineVS } from './Source/Shaders/PolylineVS.js';
|
|
456
|
-
export { default as _shadersReprojectWebMercatorFS } from './Source/Shaders/ReprojectWebMercatorFS.js';
|
|
457
|
-
export { default as _shadersReprojectWebMercatorVS } from './Source/Shaders/ReprojectWebMercatorVS.js';
|
|
458
|
-
export { default as _shadersShadowVolumeAppearanceFS } from './Source/Shaders/ShadowVolumeAppearanceFS.js';
|
|
459
|
-
export { default as _shadersShadowVolumeAppearanceVS } from './Source/Shaders/ShadowVolumeAppearanceVS.js';
|
|
460
|
-
export { default as _shadersShadowVolumeFS } from './Source/Shaders/ShadowVolumeFS.js';
|
|
461
|
-
export { default as _shadersSkyAtmosphereCommon } from './Source/Shaders/SkyAtmosphereCommon.js';
|
|
462
|
-
export { default as _shadersSkyAtmosphereFS } from './Source/Shaders/SkyAtmosphereFS.js';
|
|
463
|
-
export { default as _shadersSkyAtmosphereVS } from './Source/Shaders/SkyAtmosphereVS.js';
|
|
464
|
-
export { default as _shadersSkyBoxFS } from './Source/Shaders/SkyBoxFS.js';
|
|
465
|
-
export { default as _shadersSkyBoxVS } from './Source/Shaders/SkyBoxVS.js';
|
|
466
|
-
export { default as _shadersSunFS } from './Source/Shaders/SunFS.js';
|
|
467
|
-
export { default as _shadersSunTextureFS } from './Source/Shaders/SunTextureFS.js';
|
|
468
|
-
export { default as _shadersSunVS } from './Source/Shaders/SunVS.js';
|
|
469
|
-
export { default as _shadersVector3DTileClampedPolylinesFS } from './Source/Shaders/Vector3DTileClampedPolylinesFS.js';
|
|
470
|
-
export { default as _shadersVector3DTileClampedPolylinesVS } from './Source/Shaders/Vector3DTileClampedPolylinesVS.js';
|
|
471
|
-
export { default as _shadersVector3DTilePolylinesVS } from './Source/Shaders/Vector3DTilePolylinesVS.js';
|
|
472
|
-
export { default as _shadersVectorTileVS } from './Source/Shaders/VectorTileVS.js';
|
|
473
|
-
export { default as _shadersViewportQuadFS } from './Source/Shaders/ViewportQuadFS.js';
|
|
474
|
-
export { default as _shadersViewportQuadVS } from './Source/Shaders/ViewportQuadVS.js';
|
|
475
475
|
export { default as AlphaMode } from './Source/Scene/AlphaMode.js';
|
|
476
476
|
export { default as Appearance } from './Source/Scene/Appearance.js';
|
|
477
477
|
export { default as ArcGisBaseMapType } from './Source/Scene/ArcGisBaseMapType.js';
|
|
@@ -492,6 +492,7 @@ export { default as BlendEquation } from './Source/Scene/BlendEquation.js';
|
|
|
492
492
|
export { default as BlendFunction } from './Source/Scene/BlendFunction.js';
|
|
493
493
|
export { default as BlendOption } from './Source/Scene/BlendOption.js';
|
|
494
494
|
export { default as BlendingState } from './Source/Scene/BlendingState.js';
|
|
495
|
+
export { default as BoundingVolumeSemantics } from './Source/Scene/BoundingVolumeSemantics.js';
|
|
495
496
|
export { default as BoxEmitter } from './Source/Scene/BoxEmitter.js';
|
|
496
497
|
export { default as BrdfLutGenerator } from './Source/Scene/BrdfLutGenerator.js';
|
|
497
498
|
export { default as BufferLoader } from './Source/Scene/BufferLoader.js';
|
|
@@ -781,10 +782,8 @@ export { default as computeFlyToLocationForRectangle } from './Source/Scene/comp
|
|
|
781
782
|
export { default as createBillboardPointCallback } from './Source/Scene/createBillboardPointCallback.js';
|
|
782
783
|
export { default as createElevationBandMaterial } from './Source/Scene/createElevationBandMaterial.js';
|
|
783
784
|
export { default as createGooglePhotorealistic3DTileset } from './Source/Scene/createGooglePhotorealistic3DTileset.js';
|
|
784
|
-
export { default as createOsmBuildings } from './Source/Scene/createOsmBuildings.js';
|
|
785
785
|
export { default as createOsmBuildingsAsync } from './Source/Scene/createOsmBuildingsAsync.js';
|
|
786
786
|
export { default as createTangentSpaceDebugPrimitive } from './Source/Scene/createTangentSpaceDebugPrimitive.js';
|
|
787
|
-
export { default as createWorldImagery } from './Source/Scene/createWorldImagery.js';
|
|
788
787
|
export { default as createWorldImageryAsync } from './Source/Scene/createWorldImageryAsync.js';
|
|
789
788
|
export { default as findContentMetadata } from './Source/Scene/findContentMetadata.js';
|
|
790
789
|
export { default as findGroupMetadata } from './Source/Scene/findGroupMetadata.js';
|
|
@@ -794,12 +793,11 @@ export { default as getClipAndStyleCode } from './Source/Scene/getClipAndStyleCo
|
|
|
794
793
|
export { default as getClippingFunction } from './Source/Scene/getClippingFunction.js';
|
|
795
794
|
export { default as hasExtension } from './Source/Scene/hasExtension.js';
|
|
796
795
|
export { default as parseBatchTable } from './Source/Scene/parseBatchTable.js';
|
|
797
|
-
export { default as parseBoundingVolumeSemantics } from './Source/Scene/parseBoundingVolumeSemantics.js';
|
|
798
796
|
export { default as parseFeatureMetadataLegacy } from './Source/Scene/parseFeatureMetadataLegacy.js';
|
|
799
797
|
export { default as parseStructuralMetadata } from './Source/Scene/parseStructuralMetadata.js';
|
|
800
798
|
export { default as preprocess3DTileContent } from './Source/Scene/preprocess3DTileContent.js';
|
|
801
799
|
export { default as processVoxelProperties } from './Source/Scene/processVoxelProperties.js';
|
|
802
|
-
export { default as
|
|
800
|
+
export { default as _shadersCzmBuiltins } from './Source/Shaders/Builtin/CzmBuiltins.js';
|
|
803
801
|
export { default as _shadersAllMaterialAppearanceFS } from './Source/Shaders/Appearances/AllMaterialAppearanceFS.js';
|
|
804
802
|
export { default as _shadersAllMaterialAppearanceVS } from './Source/Shaders/Appearances/AllMaterialAppearanceVS.js';
|
|
805
803
|
export { default as _shadersBasicMaterialAppearanceFS } from './Source/Shaders/Appearances/BasicMaterialAppearanceFS.js';
|
|
@@ -814,7 +812,6 @@ export { default as _shadersPolylineColorAppearanceVS } from './Source/Shaders/A
|
|
|
814
812
|
export { default as _shadersPolylineMaterialAppearanceVS } from './Source/Shaders/Appearances/PolylineMaterialAppearanceVS.js';
|
|
815
813
|
export { default as _shadersTexturedMaterialAppearanceFS } from './Source/Shaders/Appearances/TexturedMaterialAppearanceFS.js';
|
|
816
814
|
export { default as _shadersTexturedMaterialAppearanceVS } from './Source/Shaders/Appearances/TexturedMaterialAppearanceVS.js';
|
|
817
|
-
export { default as _shadersCzmBuiltins } from './Source/Shaders/Builtin/CzmBuiltins.js';
|
|
818
815
|
export { default as _shadersAspectRampMaterial } from './Source/Shaders/Materials/AspectRampMaterial.js';
|
|
819
816
|
export { default as _shadersBumpMapMaterial } from './Source/Shaders/Materials/BumpMapMaterial.js';
|
|
820
817
|
export { default as _shadersCheckerboardMaterial } from './Source/Shaders/Materials/CheckerboardMaterial.js';
|
|
@@ -1031,6 +1028,15 @@ export { default as _shaderssolarRadius } from './Source/Shaders/Builtin/Constan
|
|
|
1031
1028
|
export { default as _shadersthreePiOver2 } from './Source/Shaders/Builtin/Constants/threePiOver2.js';
|
|
1032
1029
|
export { default as _shaderstwoPi } from './Source/Shaders/Builtin/Constants/twoPi.js';
|
|
1033
1030
|
export { default as _shaderswebMercatorMaxLatitude } from './Source/Shaders/Builtin/Constants/webMercatorMaxLatitude.js';
|
|
1031
|
+
export { default as _shadersdepthRangeStruct } from './Source/Shaders/Builtin/Structs/depthRangeStruct.js';
|
|
1032
|
+
export { default as _shadersmaterial } from './Source/Shaders/Builtin/Structs/material.js';
|
|
1033
|
+
export { default as _shadersmaterialInput } from './Source/Shaders/Builtin/Structs/materialInput.js';
|
|
1034
|
+
export { default as _shadersmodelMaterial } from './Source/Shaders/Builtin/Structs/modelMaterial.js';
|
|
1035
|
+
export { default as _shadersmodelVertexOutput } from './Source/Shaders/Builtin/Structs/modelVertexOutput.js';
|
|
1036
|
+
export { default as _shaderspbrParameters } from './Source/Shaders/Builtin/Structs/pbrParameters.js';
|
|
1037
|
+
export { default as _shadersray } from './Source/Shaders/Builtin/Structs/ray.js';
|
|
1038
|
+
export { default as _shadersraySegment } from './Source/Shaders/Builtin/Structs/raySegment.js';
|
|
1039
|
+
export { default as _shadersshadowParameters } from './Source/Shaders/Builtin/Structs/shadowParameters.js';
|
|
1034
1040
|
export { default as _shadersHSBToRGB } from './Source/Shaders/Builtin/Functions/HSBToRGB.js';
|
|
1035
1041
|
export { default as _shadersHSLToRGB } from './Source/Shaders/Builtin/Functions/HSLToRGB.js';
|
|
1036
1042
|
export { default as _shadersRGBToHSB } from './Source/Shaders/Builtin/Functions/RGBToHSB.js';
|
|
@@ -1115,13 +1121,4 @@ export { default as _shaderswindowToEyeCoordinates } from './Source/Shaders/Buil
|
|
|
1115
1121
|
export { default as _shaderswriteDepthClamp } from './Source/Shaders/Builtin/Functions/writeDepthClamp.js';
|
|
1116
1122
|
export { default as _shaderswriteLogDepth } from './Source/Shaders/Builtin/Functions/writeLogDepth.js';
|
|
1117
1123
|
export { default as _shaderswriteNonPerspective } from './Source/Shaders/Builtin/Functions/writeNonPerspective.js';
|
|
1118
|
-
export { default as _shadersdepthRangeStruct } from './Source/Shaders/Builtin/Structs/depthRangeStruct.js';
|
|
1119
|
-
export { default as _shadersmaterial } from './Source/Shaders/Builtin/Structs/material.js';
|
|
1120
|
-
export { default as _shadersmaterialInput } from './Source/Shaders/Builtin/Structs/materialInput.js';
|
|
1121
|
-
export { default as _shadersmodelMaterial } from './Source/Shaders/Builtin/Structs/modelMaterial.js';
|
|
1122
|
-
export { default as _shadersmodelVertexOutput } from './Source/Shaders/Builtin/Structs/modelVertexOutput.js';
|
|
1123
|
-
export { default as _shaderspbrParameters } from './Source/Shaders/Builtin/Structs/pbrParameters.js';
|
|
1124
|
-
export { default as _shadersray } from './Source/Shaders/Builtin/Structs/ray.js';
|
|
1125
|
-
export { default as _shadersraySegment } from './Source/Shaders/Builtin/Structs/raySegment.js';
|
|
1126
|
-
export { default as _shadersshadowParameters } from './Source/Shaders/Builtin/Structs/shadowParameters.js';
|
|
1127
1124
|
export { default as createTaskProcessorWorker } from './Source/WorkersES6/createTaskProcessorWorker.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cesium/engine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"3D",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"./Specs/**/*"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tweenjs/tween.js": "^
|
|
35
|
+
"@tweenjs/tween.js": "^21.0.0",
|
|
36
36
|
"@zip.js/zip.js": "2.4.x",
|
|
37
37
|
"autolinker": "^4.0.0",
|
|
38
38
|
"bitmap-sdf": "^1.0.3",
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import CesiumTerrainProvider from "./CesiumTerrainProvider.js";
|
|
2
|
-
import defaultValue from "./defaultValue.js";
|
|
3
|
-
import deprecationWarning from "./deprecationWarning.js";
|
|
4
|
-
import IonResource from "./IonResource.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Creates a {@link CesiumTerrainProvider} instance for the {@link https://cesium.com/content/#cesium-world-terrain|Cesium World Terrain}.
|
|
8
|
-
*
|
|
9
|
-
* @function
|
|
10
|
-
* @deprecated
|
|
11
|
-
*
|
|
12
|
-
* @param {object} [options] Object with the following properties:
|
|
13
|
-
* @param {boolean} [options.requestVertexNormals=false] Flag that indicates if the client should request additional lighting information from the server if available.
|
|
14
|
-
* @param {boolean} [options.requestWaterMask=false] Flag that indicates if the client should request per tile water masks from the server if available.
|
|
15
|
-
* @returns {CesiumTerrainProvider}
|
|
16
|
-
*
|
|
17
|
-
* @see Ion
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // Create Cesium World Terrain with default settings
|
|
21
|
-
* const viewer = new Cesium.Viewer('cesiumContainer', {
|
|
22
|
-
* terrainProvider : Cesium.createWorldTerrain();
|
|
23
|
-
* });
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* // Create Cesium World Terrain with water and normals.
|
|
27
|
-
* const viewer1 = new Cesium.Viewer('cesiumContainer', {
|
|
28
|
-
* terrainProvider : Cesium.createWorldTerrain({
|
|
29
|
-
* requestWaterMask : true,
|
|
30
|
-
* requestVertexNormals : true
|
|
31
|
-
* });
|
|
32
|
-
* });
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
function createWorldTerrain(options) {
|
|
36
|
-
deprecationWarning(
|
|
37
|
-
"createWorldTerrain",
|
|
38
|
-
"createWorldTerrain was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use createWorldTerrainAsync instead."
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
|
|
42
|
-
|
|
43
|
-
const provider = new CesiumTerrainProvider({
|
|
44
|
-
requestVertexNormals: defaultValue(options.requestVertexNormals, false),
|
|
45
|
-
requestWaterMask: defaultValue(options.requestWaterMask, false),
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
// This is here in order to avoid throwing a second deprecation error
|
|
49
|
-
// by using the deprecated url parameter in the constructor above
|
|
50
|
-
provider._readyPromise = CesiumTerrainProvider._initializeReadyPromise(
|
|
51
|
-
{
|
|
52
|
-
url: IonResource.fromAssetId(1),
|
|
53
|
-
requestVertexNormals: defaultValue(options.requestVertexNormals, false),
|
|
54
|
-
requestWaterMask: defaultValue(options.requestWaterMask, false),
|
|
55
|
-
},
|
|
56
|
-
provider
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
return provider;
|
|
60
|
-
}
|
|
61
|
-
export default createWorldTerrain;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import Color from "../Core/Color.js";
|
|
2
|
-
import combine from "../Core/combine.js";
|
|
3
|
-
import defaultValue from "../Core/defaultValue.js";
|
|
4
|
-
import defined from "../Core/defined.js";
|
|
5
|
-
import deprecationWarning from "../Core/deprecationWarning.js";
|
|
6
|
-
import IonResource from "../Core/IonResource.js";
|
|
7
|
-
import Cesium3DTileset from "./Cesium3DTileset.js";
|
|
8
|
-
import Cesium3DTileStyle from "./Cesium3DTileStyle.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Creates a {@link Cesium3DTileset} instance for the
|
|
12
|
-
* {@link https://cesium.com/content/cesium-osm-buildings/|Cesium OSM Buildings}
|
|
13
|
-
* tileset.
|
|
14
|
-
*
|
|
15
|
-
* @function
|
|
16
|
-
* @deprecated
|
|
17
|
-
*
|
|
18
|
-
* @param {object} [options] Construction options. Any options allowed by the {@link Cesium3DTileset} constructor
|
|
19
|
-
* may be specified here. In addition to those, the following properties are supported:
|
|
20
|
-
* @param {Color} [options.defaultColor=Color.WHITE] The default color to use for buildings
|
|
21
|
-
* that do not have a color. This parameter is ignored if <code>options.style</code> is specified.
|
|
22
|
-
* @param {Cesium3DTileStyle} [options.style] The style to use with the tileset. If not
|
|
23
|
-
* specified, a default style is used which gives each building or building part a
|
|
24
|
-
* color inferred from its OpenStreetMap <code>tags</code>. If no color can be inferred,
|
|
25
|
-
* <code>options.defaultColor</code> is used.
|
|
26
|
-
* @param {boolean} [options.enableShowOutline=true] If true, enable rendering outlines. This can be set to false to avoid the additional processing of geometry at load time.
|
|
27
|
-
* @param {boolean} [options.showOutline=true] Whether to show outlines around buildings. When true,
|
|
28
|
-
* outlines are displayed. When false, outlines are not displayed.
|
|
29
|
-
* @returns {Cesium3DTileset}
|
|
30
|
-
*
|
|
31
|
-
* @see Ion
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* // Create Cesium OSM Buildings with default styling
|
|
35
|
-
* const viewer = new Cesium.Viewer('cesiumContainer');
|
|
36
|
-
* viewer.scene.primitives.add(Cesium.createOsmBuildings());
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* // Create Cesium OSM Buildings with a custom style highlighting
|
|
40
|
-
* // schools and hospitals.
|
|
41
|
-
* viewer.scene.primitives.add(Cesium.createOsmBuildings({
|
|
42
|
-
* style: new Cesium.Cesium3DTileStyle({
|
|
43
|
-
* color: {
|
|
44
|
-
* conditions: [
|
|
45
|
-
* ["${feature['building']} === 'hospital'", "color('#0000FF')"],
|
|
46
|
-
* ["${feature['building']} === 'school'", "color('#00FF00')"],
|
|
47
|
-
* [true, "color('#ffffff')"]
|
|
48
|
-
* ]
|
|
49
|
-
* }
|
|
50
|
-
* })
|
|
51
|
-
* }));
|
|
52
|
-
*/
|
|
53
|
-
function createOsmBuildings(options) {
|
|
54
|
-
deprecationWarning(
|
|
55
|
-
"createOsmBuildings",
|
|
56
|
-
"createOsmBuildings was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use createOsmBuildingsAsync instead."
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
options = combine(options, {
|
|
60
|
-
url: IonResource.fromAssetId(96188),
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
const tileset = new Cesium3DTileset(options);
|
|
64
|
-
|
|
65
|
-
let style = options.style;
|
|
66
|
-
|
|
67
|
-
if (!defined(style)) {
|
|
68
|
-
const color = defaultValue(
|
|
69
|
-
options.defaultColor,
|
|
70
|
-
Color.WHITE
|
|
71
|
-
).toCssColorString();
|
|
72
|
-
style = new Cesium3DTileStyle({
|
|
73
|
-
color: `Boolean(\${feature['cesium#color']}) ? color(\${feature['cesium#color']}) : ${color}`,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
tileset.style = style;
|
|
78
|
-
|
|
79
|
-
return tileset;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export default createOsmBuildings;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import defaultValue from "../Core/defaultValue.js";
|
|
2
|
-
import deprecationWarning from "../Core/deprecationWarning.js";
|
|
3
|
-
import IonImageryProvider from "./IonImageryProvider.js";
|
|
4
|
-
import IonWorldImageryStyle from "./IonWorldImageryStyle.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Creates an {@link IonImageryProvider} instance for ion's default global base imagery layer, currently Bing Maps.
|
|
8
|
-
*
|
|
9
|
-
* @function
|
|
10
|
-
*
|
|
11
|
-
* @param {object} [options] Object with the following properties:
|
|
12
|
-
* @param {IonWorldImageryStyle} [options.style=IonWorldImageryStyle] The style of base imagery, only AERIAL, AERIAL_WITH_LABELS, and ROAD are currently supported.
|
|
13
|
-
* @returns {IonImageryProvider}
|
|
14
|
-
* @deprecated
|
|
15
|
-
*
|
|
16
|
-
* @see Ion
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* // Create Cesium World Imagery with default settings
|
|
20
|
-
* const viewer = new Cesium.Viewer('cesiumContainer', {
|
|
21
|
-
* imageryProvider : Cesium.createWorldImagery();
|
|
22
|
-
* });
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* // Create Cesium World Imagery with a different style
|
|
26
|
-
* const viewer = new Cesium.Viewer('cesiumContainer', {
|
|
27
|
-
* imageryProvider : Cesium.createWorldImagery({
|
|
28
|
-
* style: Cesium.IonWorldImageryStyle.AERIAL_WITH_LABELS
|
|
29
|
-
* })
|
|
30
|
-
* });
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
function createWorldImagery(options) {
|
|
34
|
-
deprecationWarning(
|
|
35
|
-
"createWorldImagery",
|
|
36
|
-
"createWorldImagery was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use createWorldImageryAsync instead."
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
|
|
40
|
-
const style = defaultValue(options.style, IonWorldImageryStyle.AERIAL);
|
|
41
|
-
const provider = new IonImageryProvider();
|
|
42
|
-
|
|
43
|
-
// This is here for backwards compatibility
|
|
44
|
-
IonImageryProvider._initialize(provider, style, options);
|
|
45
|
-
return provider;
|
|
46
|
-
}
|
|
47
|
-
export default createWorldImagery;
|