Cesium v1.45 Release Notes

Release Date: 2018-05-01 // about 6 years ago
  • Major Announcements :loudspeaker:
    • We've launched Cesium ion! Read all about it in our blog post.
    • 0๏ธโƒฃ Cesium now uses ion services by default for base imagery, terrain, and geocoding. A demo key is provided, but to use them in your own apps you must sign up for a free ion Commmunity account.
    ๐Ÿ’ฅ Breaking Changes :mega:
    • ClippingPlaneCollection now uses ClippingPlane objects instead of Plane objects. #6498
    • Cesium no longer ships with a demo Bing Maps API key.
    • 0๏ธโƒฃ BingMapsImageryProvider is no longer the default base imagery layer. (Bing imagery itself is still the default, however it is provided through Cesium ion)
    • 0๏ธโƒฃ BingMapsGeocoderService is no longer the default geocoding service.
    • 0๏ธโƒฃ If you wish to continue to use your own Bing API key for imagery and geocoding, you can go back to the old default behavior by constructing the Viewer as follows: javascript Cesium.BingMapsApi.defaultKey = 'yourBingKey'; var viewer = new Cesium.Viewer('cesiumContainer', { imageryProvider : new Cesium.BingMapsImageryProvider({ url : 'https://dev.virtualearth.net' }), geocoder : [ new Cesium.CartographicGeocoderService(), new Cesium.BingMapsGeocoderService() ] });
    Deprecated :hourglass_flowing_sand:
    • ๐Ÿšš Particle.size, ParticleSystem.rate, ParticleSystem.lifeTime, ParticleSystem.life, ParticleSystem.minimumLife, and ParticleSystem.maximumLife have been renamed to Particle.imageSize, ParticleSystem.emissionRate, ParticleSystem.lifetime, ParticleSystem.particleLife, ParticleSystem.minimumParticleLife, and ParticleSystem.maximumParticleLife. Use of the size, rate, lifeTime, life, minimumLife, and maximumLife parameters is deprecated and will be removed in Cesium 1.46.
    • โšก๏ธ ParticleSystem.forces array has been switched out for singular function ParticleSystems.updateCallback. Use of the forces parameter is deprecated and will be removed in Cesium 1.46.
    • ๐Ÿšš Any width and height variables in ParticleSystem will no longer be individual components. ParticleSystem.minimumWidth and ParticleSystem.minimumHeight will now be ParticleSystem.minimumImageSize, ParticleSystem.maximumWidth and ParticleSystem.maximumHeight will now be ParticleSystem.maximumImageSize, and ParticleSystem.width and ParticleSystem.height will now be ParticleSystem.imageSize. Use of the minimumWidth, minimumHeight, maximumWidth, maximumHeight, width, and height parameters is deprecated and will be removed in Cesium 1.46.
    โž• Additions :tada:
    • โž• Added option logarithmicDepthBuffer to Scene. With this option there is typically a single frustum using logarithmic depth rendered. This increases performance by issuing less draw calls to the GPU and helps to avoid artifacts on the connection of two frustums. #5851
    • 0๏ธโƒฃ When a log depth buffer is supported, the frustum near and far planes default to 0.1 and 1e10 respectively.
    • โž• Added IonGeocoderService and made it the default geocoding service for the Geocoder widget.
    • โž• Added createWorldImagery which provides Bing Maps imagery via a Cesium ion account.
    • โž• Added PeliasGeocoderService, which provides geocoding via a Pelias server.
    • โž• Added the ability for BaseLayerPicker to group layers by category. ProviderViewModel.category was also added to support this feature.
    • โž• Added Math.log2 to compute the base 2 logarithm of a number.
    • โž• Added GeocodeType enum and use it as an optional parameter to all GeocoderService instances to differentiate between autocomplete and search requests.
    • โž• Added initWebAssemblyModule function to TaskProcessor to load a Web Assembly module in a web worker. #6420
    • โž• Added supportsWebAssembly function to FeatureDetection to check if a browser supports loading Web Assembly modules. #6420
    • ๐Ÿ‘Œ Improved MapboxImageryProvider performance by 300% via tiles.mapbox.com subdomain switching. #6426
    • โž• Added ability to invoke sampleTerrain from node.js to enable offline terrain sampling
    • โž• Added more ParticleSystem Sandcastle examples for rocket and comet tails and weather. #6375
    • โž• Added color and scale attributes to the ParticleSystem class constructor. When defined the variables override startColor and endColor and startScale and endScale. #6429
    ๐Ÿ›  Fixes :wrench:
    • ๐Ÿ›  Fixed bugs in TimeIntervalCollection.removeInterval. #6418.
    • ๐Ÿ›  Fixed glTF support to handle meshes with and without tangent vectors, and with/without morph targets, sharing one material. #6421
    • ๐Ÿ›  Fixed glTF support to handle skinned meshes when no skin is supplied. #6061
    • โšก๏ธ Updated glTF 2.0 PBR shader to have brighter lighting. #6430
    • ๐Ÿ‘ Allow loadWithXhr to work with string URLs in a web worker.
    • โšก๏ธ Updated to Draco 1.3.0 and implemented faster loading of Draco compressed glTF assets in browsers that support Web Assembly. #6420
    • GroundPrimitives and ClassificationPrimitives will become ready when show is false. #6428
    • ๐Ÿ›  Fix Firefox WebGL console warnings. #5912
    • ๐Ÿ›  Fix parsing Cesium.js in older browsers that do not support all TypedArray types. #6396
    • ๐Ÿ›  Fixed a bug causing crashes when setting colors on un-pickable models. $6442
    • ๐Ÿ›  Fix flicker when adding, removing, or modifying entities. #3945
    • ๐Ÿ›  Fixed crash bug in PolylineCollection when a polyline was updated and removed at the same time. #6455
    • ๐Ÿ›  Fixed crash when animating a glTF model with a single keyframe. #6422
    • ๐Ÿ›  Fixed Imagery Layers Texture Filters Sandcastle example. #6472.
    • ๐Ÿ›  Fixed a bug causing Cesium 3D Tilesets to not clip properly when tiles were unloaded and reloaded. #6484
    • ๐Ÿ›  Fixed TimeInterval so now it throws if fromIso8601 is given an ISO 8601 string with improper formatting. #6164
    • ๐Ÿ‘Œ Improved rendering of glTF models that don't contain normals with a temporary unlit shader workaround. #6501
    • ๐Ÿ›  Fixed rendering of glTF models with emissive-only materials. #6501
    • ๐Ÿ›  Fixed a bug in shader modification for glTF 1.0 quantized attributes and Draco quantized attributes. #6523