Cesium v1.83 Release Notes

Release Date: 2021-07-01 // almost 3 years ago
  • ๐Ÿ’ฅ Breaking Changes :mega:
    • โšก๏ธ Dropped support for KTX1 and Crunch textures; use the ktx2ktx2 converter tool to update existing KTX1 files.
    โž• Additions :tada:
    • โž• Added support for KTX2 and Basis Universal compressed textures. #9513
      • Added support for glTF models with the KHR_texture_basisu extension.
      • Added support for 8-bit, 16-bit float, and 32-bit float KTX2 specular environment maps.
      • Added support for KTX2 images in Material.
      • Added new PixelFormat and WebGLConstants enums from WebGL extensions WEBGL_compressed_texture_etc, WEBGL_compressed_texture_astc, and EXT_texture_compression_bptc.
    • โž• Added dynamic terrain exaggeration with Globe.terrainExaggeration and Globe.terrainExaggerationRelativeHeight. #9603
    • โž• Added CustomHeightmapTerrainProvider, a simple TerrainProvider that gets height values from a callback function. #9604
    • Added the ability to hide outlines on OSM Buildings and other tilesets and glTF models using the CESIUM_primitive_outline extension. #8959
    • โž• Added checks for supported 3D Tiles extensions. #9552
    • โž• Added option to ignore extraneous colorspace information in glTF textures and ImageBitmap. #9624
    • โž• Added options.fadingEnabled parameter to ShadowMap to control whether shadows fade out when the light source is close to the horizon. #9565
    • โž• Added documentation clarifying that the outlineWidth property will be ignored on all major browsers on Windows platforms. #9600
    • โž• Added documentation for KmlTour, KmlTourFlyTo, and KmlTourWait. Added documentation and a kmlTours getter to KmlDataSource. Removed references to KmlTourSoundCues. #8073
    ๐Ÿ›  Fixes :wrench:
    • ๐Ÿ›  Fixed a regression where older tilesets without a top-level geometricError would fail to load. #9618
    • ๐Ÿ›  Fixed an issue in WebMapTileServiceImageryProvider where using URL subdomains caused query parameters to be dropped from requests. #9606
    • ๐Ÿ›  Fixed an issue in ScreenSpaceCameraController.tilt3DOnTerrain that caused unexpected camera behavior when tilting terrain diagonally along the screen. #9562
    • ๐Ÿ›  Fixed error handling in GlobeSurfaceTile to print terrain tile request errors to console. #9570
    • ๐Ÿ›  Fixed broken image URL in the KML Sandcastle. #9579
    • ๐Ÿ›  Fixed an error where the positionToEyeEC and tangentToEyeMatrix properties for custom materials were not set in GlobeFS. #9597
    • ๐Ÿ›  Fixed misleading documentation in Matrix4.inverse and Matrix4.inverseTransformation that used "affine transformation" instead of "rotation and translation" specifically. #9608
    • ๐Ÿ›  Fixed a regression where external images in glTF models were not being loaded with preferImageBitmap, which caused them to decode on the main thread and cause frame rate stuttering. #9627
    • ๐Ÿ›  Fixed misleading "else" case condition for color and show in Cesium3DTileStyle. A default color value is used if no color conditions are given. The default value for show, true, is used if no show conditions are given. #9633
    • ๐Ÿ›  Fixed a crash that occurred after disabling and re-enabling a post-processing stage. This also prevents the screen from randomly flashing when enabling stages for the first time. #9649
    Deprecated :hourglass_flowing_sand:
    • ๐Ÿšš Scene.terrainExaggeration and options.terrainExaggeration for CesiumWidget, Viewer, and Scene have been deprecated and will be removed in CesiumJS 1.85. They will be replaced with Globe.terrainExaggeration.
    • ๐Ÿ‘Œ Support for Internet Explorer has been deprecated and will end in CesiumJS 1.84.