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 usesClippingPlane
objects instead ofPlane
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
, andParticleSystem.maximumLife
have been renamed toParticle.imageSize
,ParticleSystem.emissionRate
,ParticleSystem.lifetime
,ParticleSystem.particleLife
,ParticleSystem.minimumParticleLife
, andParticleSystem.maximumParticleLife
. Use of thesize
,rate
,lifeTime
,life
,minimumLife
, andmaximumLife
parameters is deprecated and will be removed in Cesium 1.46. - โก๏ธ
ParticleSystem.forces
array has been switched out for singular functionParticleSystems.updateCallback
. Use of theforces
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
andParticleSystem.minimumHeight
will now beParticleSystem.minimumImageSize
,ParticleSystem.maximumWidth
andParticleSystem.maximumHeight
will now beParticleSystem.maximumImageSize
, andParticleSystem.width
andParticleSystem.height
will now beParticleSystem.imageSize
. Use of theminimumWidth
,minimumHeight
,maximumWidth
,maximumHeight
,width
, andheight
parameters is deprecated and will be removed in Cesium 1.46.
โ Additions :tada:
- โ Added option
logarithmicDepthBuffer
toScene
. 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
and1e10
respectively. - โ Added
IonGeocoderService
and made it the default geocoding service for theGeocoder
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 allGeocoderService
instances to differentiate between autocomplete and search requests. - โ Added
initWebAssemblyModule
function toTaskProcessor
to load a Web Assembly module in a web worker. #6420 - โ Added
supportsWebAssembly
function toFeatureDetection
to check if a browser supports loading Web Assembly modules. #6420 - ๐ Improved
MapboxImageryProvider
performance by 300% viatiles.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
GroundPrimitive
s andClassificationPrimitive
s will become ready whenshow
isfalse
. #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 iffromIso8601
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