Cesium v1.94 Release Notes
Release Date: 2022-06-01 // almost 2 years ago-
๐ฅ Breaking Changes :mega:
- โ Removed individual image-based lighting parameters from
Model
andCesium3DTileset
. #10388 - Models and tilesets rendered with
ModelExperimental
must setenableDebugWireframe
to true in order fordebugWireframe
to work in WebGL1. #10344 - โ Removed
ImagerySplitPosition
andScene.imagerySplitPosition
. UseSplitDirection
andScene.splitPosition
instead.#10418 - โ Removed restriction on enabling
Scene.orderIndependentTranslucency
on iPad and iOS. #10417
โ Additions :tada:
- โ Added
Cesium3DTileStyle.fromUrl
for loading a style from a url. #10348 - โ Added
IndexDatatype.fromTypedArray
. #10350 - โ Added
ModelAnimationCollection.animateWhilePaused
andModelAnimation.animationTime
to allow explicit control over a model's animations. #9339 - Replaced
options.gltf
withoptions.url
inModelExperimental.fromGltf
. #10371 - โ Added support for 2D / CV mode for non-instanced tilesets rendered with
ModelExperimental
. #10384 - โ Added
PolygonGraphics.textureCoordinates
,PolygonGeometry.textureCoordinates
,CoplanarPolygonGeometry.textureCoordinates
, which override the defaultstRotation
-based texture coordinate calculation behaviour with the provided texture coordinates, specified in the form of aPolygonHierarchy
ofCartesian2
points. #10109
๐ Fixes :wrench:
- ๐ Fixed the rendering issues related to order-independent translucency on iOS devices. #10417
- ๐ Fixed the inaccurate computation of bounding spheres for models not centered at (0,0,0) in their local space. #10395
- ๐ Fixed the inaccurate computation of bounding spheres for
ModelExperimental
. #10339 - ๐ Fixed error when destroying a 3D tileset before it has finished loading. [#10363](Fixes https://github.com/CesiumGS/cesium/issues/10363)
- ๐ Fixed race condition which can occur when updating
Cesium3DTileStyle
before itsreadyPromise
has resolved. #10345 - ๐ Fixed label background rendering. #10342
- ๐ Enabled support for loading web assembly modules in Edge. #6541
- ๐ Fixed crash for zero-area
region
bounding volumes in a 3D Tileset. #10351 - ๐ Fixed
Cesium3DTileset.debugShowUrl
so that it works for implicit tiles too. #10372 - ๐ Fixed crash when loading a tileset without a metadata schema but has external tilesets with tile or content metadata. #10387
- ๐ Fixed winding order for negatively scaled models in
ModelExperimental
. #10405 - ๐ Fixed error when calling
sampleTerrain
over a large area that required lots of tile requests. #10425
Deprecated :hourglass_flowing_sand:
- ๐
Cesium3DTileStyle
constructor parameters ofstring
orResource
type have been deprecated and will be removed in CesiumJS 1.96. If loading a style from a url, useCesium3DTileStyle.fromUrl
instead. #10348 - ๐
Cesium3DTileStyle.readyPromise
andCesium3DTileStyle.ready
have been deprecated and will be removed in CesiumJS 1.96. If loading a style from a url, useCesium3DTileStyle.fromUrl
instead. #10348 - ๐
Model.gltf
,Model.basePath
,Model.pendingTextureLoads
(properties), andModel.dequantizeInShader
(constructor option) have been deprecated and will be removed in CesiumJS 1.97. #10415 - ๐ Support for glTF 1.0 assets has been deprecated and will be removed in CesiumJS 1.97. Please convert any glTF 1.0 assets to glTF 2.0. #10414
- Support for the glTF extension
KHR_techniques_webgl
has been deprecated and will be removed in CesiumJS 1.97. If custom GLSL shaders are needed, useCustomShader
instead. #10414 Model.boundingSphere
currently returns results in the model's local coordinate system, but in CesiumJS 1.96 it will be changed to return results in ECEF coordinates. #10415
- โ Removed individual image-based lighting parameters from