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.
- Explore it on Sandcastle.
- Add it to your CesiumJS app:
viewer.scene.primitives.add(Cesium.createOsmBuildings())
. - Contains per-feature data like building name, address, and much more. Read more about the available properties.
- 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
andGlobe.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
- Added options for controlling globe translucency through the new
β 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
anddayAlpha
properties toImageryLayer
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 toDebugCameraPrimitive
. 8849 - π Supported
#rgba
and#rrggbbaa
formats inColor.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 theCamera
. #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
- π 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.