Cesium v1.70.0 Release Notes

Release Date: 2020-06-01 // almost 4 years ago
  • Major Announcements :loudspeaker:
    • πŸ— All Cesium ion users now have access to Cesium OSM Buildings - a 3D buildings layer covering the entire world built with OpenStreetMap building data, available as 3D Tiles. Read more about it on our blog.
    • CesiumJS now ships with official TypeScript type definitions! #8878
      • If you import CesiumJS as a module, the new definitions will automatically be used by TypeScript and related tooling.
      • If you import individual CesiumJS source files directly, you'll need to add "types": ["cesium"] in your tsconfig.json in order for the definitions to be used.
      • If you’re using your own custom definitions and you’re not yet ready to switch, you can delete Source/Cesium.d.ts after install.
      • See our blog post for more information and a technical overview of how it all works.
    • πŸ‘ CesiumJS now supports underground rendering with globe translucency! #8726
      • Added options for controlling globe translucency through the new GlobeTranslucency object including front face alpha, back face alpha, and a translucency rectangle.
      • Added Globe.undergroundColor and Globe.undergroundColorAlphaByDistance for controlling how the back side of the globe is rendered when the camera is underground or the globe is translucent. #8867
      • Improved camera controls when the camera is underground. #8811
      • Sandcastle examples: Globe Translucency, Globe Interior, and Underground Color
    βž• Additions :tada:
    • πŸ“š Our API reference documentation has received dozens of fixes and improvements, largely due to the TypeScript effort.
    • βž• Added Cesium3DTileset.extensions to get the extensions property from the tileset JSON. #8829
    • βž• Added Camera.completeFlight, which causes the current camera flight to immediately jump to the final destination and call its complete callback. #8788
    • βž• Added nightAlpha and dayAlpha properties to ImageryLayer to control alpha separately for the night and day sides of the globe. #8868
    • βž• Added SkyAtmosphere.perFragmentAtmosphere to switch between per-vertex and per-fragment atmosphere shading. #8866
    • βž• Added a new sandcastle example to show how to add fog using a PostProcessStage #8798
    • βž• Added frustumSplits option to DebugCameraPrimitive. 8849
    • πŸ‘Œ Supported #rgba and #rrggbbaa formats in Color.fromCssColorString. 8873
    πŸ›  Fixes :wrench:
    • πŸ›  Fixed a bug that could cause rendering of a glTF model to become corrupt when switching from a Uint16 to a Uint32 index buffer to accomodate new vertices added for edge outlining. #8820
    • πŸ›  Fixed a bug where a removed billboard could prevent changing of the TerrainProvider. #8766
    • πŸ›  Fixed an issue with 3D Tiles point cloud styling where ${feature.propertyName} and ${feature["propertyName"]} syntax would cause a crash. Also fixed an issue where property names with non-alphanumeric characters would crash. #8785
    • πŸ›  Fixed a bug where DebugCameraPrimitive was ignoring the near and far planes of the Camera. #8848
    • πŸ›  Fixed sky atmosphere artifacts below the horizon. #8866
    • πŸ›  Fixed ground primitives in orthographic mode. #5110
    • πŸ›  Fixed the depth plane in orthographic mode. This improves the quality of polylines and other primitives that are rendered near the horizon. 8858