Cesium v1.50 Release Notes

Release Date: 2018-10-01 // over 5 years ago
  • 💥 Breaking Changes :mega:
    • Clipping planes on tilesets now use the root tile's transform, or the root tile's bounding sphere if a transform is not defined. #7034
      • This is to make clipping planes' coordinates always relative to the object they're attached to. So if you were positioning the clipping planes as in the example below, this is no longer necessary: javascript clippingPlanes.modelMatrix = Cesium.Transforms.eastNorthUpToFixedFrame(tileset.boundingSphere.center);
      • This also fixes several issues with clipping planes not using the correct transform for tilesets with children.
    ➕ Additions :tada:
    • 🎉 Initial support for clamping to 3D Tiles. #6934
      • Added Scene.sampleHeight to get the height of geometry in the scene. May be used to clamp objects to the globe, 3D Tiles, or primitives in the scene.
      • Added Scene.clampToHeight to clamp a cartesian position to the scene geometry.
      • Requires depth texture support (WEBGL_depth_texture or WEBKIT_WEBGL_depth_texture). Added Scene.sampleHeightSupported and Scene.clampToHeightSupported functions for checking if height sampling is supported.
    • ➕ Added Cesium3DTileset.initialTilesLoaded to indicate that all tiles in the initial view are loaded. #6934
    • Added support for glTF extension KHR_materials_pbrSpecularGlossiness #7006.
    • Added support for glTF extension KHR_materials_unlit #6977.
    • Added support for glTF extensions KHR_techniques_webgl and KHR_blend. #6805
    • ⚡️ Update gltf-pipeline to 2.0. #6805
    • ➕ Added cartographicLimitRectangle to Globe. Use this to limit terrain and imagery to a specific Rectangle area. #6987
    • ➕ Added OpenCageGeocoderService, which provides geocoding via OpenCage. #7015
    • ➕ Added ground atmosphere lighting in 3D. This can be toggled with Globe.showGroundAtmosphere. 6877
      • Added Globe.nightFadeOutDistance and Globe.nightFadeInDistance to configure when ground atmosphere night lighting fades in and out. 6877
    • ➕ Added onStop event to Clock that fires each time stopTime is reached. #7066
    🛠 Fixes :wrench:
    • 🛠 Fixed picking for overlapping translucent primitives. #7039
    • 🛠 Fixed an issue in the 3D Tiles traversal where tilesets would render with mixed level of detail if an external tileset was visible but its root tile was not. #7099
    • 🛠 Fixed an issue in the 3D Tiles traversal where external tilesets would not always traverse to their root tile. #7035
    • 🛠 Fixed an issue in the 3D Tiles traversal where empty tiles would be selected instead of their nearest loaded ancestors. #7011
    • 🛠 Fixed an issue where scaling near zero with an model animation could cause rendering to stop. #6954
    • 🛠 Fixed bug where credits weren't displaying correctly if more than one viewer was initialized [#6965](expect(https://github.com/AnalyticalGraphicsInc/cesium/issues/6965)
    • 🛠 Fixed entity show issues. #7048
    • 🛠 Fixed a bug where polylines on terrain covering very large portions of the globe would cull incorrectly in 3d-only scenes. #7043
    • 🛠 Fixed bug causing crash on entity geometry material change. #7047
    • 🛠 Fixed MIME type behavior for Resource requests in recent versions of Edge #7085.