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 and Cesium3DTileset. #10388
    • Models and tilesets rendered with ModelExperimental must set enableDebugWireframe to true in order for debugWireframe to work in WebGL1. #10344
    • โœ‚ Removed ImagerySplitPosition and Scene.imagerySplitPosition. Use SplitDirection and Scene.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 and ModelAnimation.animationTime to allow explicit control over a model's animations. #9339
    • Replaced options.gltf with options.url in ModelExperimental.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 default stRotation-based texture coordinate calculation behaviour with the provided texture coordinates, specified in the form of a PolygonHierarchy of Cartesian2 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 its readyPromise 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 of string or Resource type have been deprecated and will be removed in CesiumJS 1.96. If loading a style from a url, use Cesium3DTileStyle.fromUrl instead. #10348
    • ๐Ÿ’… Cesium3DTileStyle.readyPromise and Cesium3DTileStyle.ready have been deprecated and will be removed in CesiumJS 1.96. If loading a style from a url, use Cesium3DTileStyle.fromUrl instead. #10348
    • ๐Ÿšš Model.gltf, Model.basePath, Model.pendingTextureLoads (properties), and Model.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, use CustomShader 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