Cesium v1.46 Release Notes
Release Date: 2018-06-01 // almost 6 years ago-
Highlights :sparkler:
- โ Added support for materials on terrain entities (entities with unspecified
height
) andGroundPrimitives
. #6393 - โ Added a post-processing framework. #5615
- โ Added
zIndex
for ground geometry, including corridor, ellipse, polygon and rectangle entities. #6362
๐ฅ Breaking Changes :mega:
ParticleSystem
no longer usesforces
. #6510Particle
no longer usessize
,rate
,lifeTime
,life
,minimumLife
,maximumLife
,minimumWidth
,minimumHeight
,maximumWidth
, andmaximumHeight
. #6510- โ Removed
Scene.copyGlobeDepth
. Globe depth will now be copied by default when supported. #6393 - 0๏ธโฃ The default
classificationType
forGroundPrimitive
,CorridorGraphics
,EllipseGraphics
,PolygonGraphics
andRectangleGraphics
is nowClassificationType.TERRAIN
. If you wish the geometry to color both terrain and 3D tiles, pass in the optionclassificationType: Cesium.ClassificationType.BOTH
. - โ Removed support for the
options
argument forCredit
#6373. Pass in an html string instead. - glTF 2.0 models corrected to face +Z forwards per specification. Internally Cesium uses +X as forward, so a new +Z to +X rotation was added for 2.0 models only. #6632
Deprecated :hourglass_flowing_sand:
- ๐ The
Scene.fxaa
property has been deprecated and will be removed in Cesium 1.47. UseScene.postProcessStages.fxaa.enabled
.
โ Additions :tada:
- โ Added support for materials on terrain entities (entities with unspecified
height
) andGroundPrimitives
. #6393- Only available for
ClassificationType.TERRAIN
at this time. Adding a material to a terrainEntity
will cause it to behave as if it isClassificationType.TERRAIN
. - Requires depth texture support (
WEBGL_depth_texture
orWEBKIT_WEBGL_depth_texture
), so materials on terrain entities andGroundPrimitives
are not supported in Internet Explorer. - Best suited for notational patterns and not intended for precisely mapping textures to terrain - for that use case, use
SingleTileImageryProvider
.
- Only available for
- โ Added
GroundPrimitive.supportsMaterials
andEntity.supportsMaterialsforEntitiesOnTerrain
, both of which can be used to check if materials on terrain entities andGroundPrimitives
is supported. #6393 - โ Added a post-processing framework. #5615
- Added
Scene.postProcessStages
which is a collection of post-process stages to be run in order.- Has a built-in
ambientOcclusion
property which will apply screen space ambient occlusion to the scene and run before all stages. - Has a built-in
bloom
property which applies a bloom filter to the scene before all other stages but after the ambient occlusion stage. - Has a built-in
fxaa
property which applies Fast Approximate Anti-aliasing (FXAA) to the scene after all other stages.
- Has a built-in
- Added
PostProcessStageLibrary
which contains several built-in stages that can be added to the collection. - Added
PostProcessStageComposite
for multi-stage post-processes like depth of field. - Added a new Sandcastle label
Post Processing
to showcase the different built-in post-process stages. - Added
zIndex
for ground geometry, including corridor, ellipse, polygon and rectangle entities. #6362 - Added
Rectangle.equalsEpsilon
for comparing the equality of two rectangles #6533
- Added
๐ Fixes :wrench:
- ๐ Fixed a bug causing custom TilingScheme classes to not be able to use a GeographicProjection. #6524
- ๐ Fixed incorrect 3D Tiles statistics when a tile fails during processing. #6558
- ๐ Fixed race condition causing intermittent crash when changing geometry show value #3061
ProviderViewModel
s with no category are displayed in an untitled group inBaseLayerPicker
instead of being labeled as'Other'
#6574- ๐ Fixed a bug causing intermittent crashes with clipping planes due to uninitialized textures. #6576
- โ Added a workaround for clipping planes causing a picking shader compilation failure for gltf models and 3D Tilesets in Internet Explorer #6575
- ๐ Allowed Bing Maps servers with a subpath (instead of being at the root) to work correctly. #6597
- โ Added support for loading of Draco compressed glTF assets in IE11 #6404
- ๐ Fixed polygon outline when using
perPositionHeight
andextrudedHeight
. #6595 - ๐ Fixed broken links in documentation of
createTileMapServiceImageryProvider
. #5818 - Transitioning from 2 touches to 1 touch no longer triggers a new pan gesture. #6479
- โ Added support for materials on terrain entities (entities with unspecified