- Added the ability to specify the endpoint URL of the Cesium ion API when constructing an
IonRasterOverlay
.
- Removed the logged warning about the use of the
gltfUpAxis
property in a 3D Tiles tileset.json. While not technically spec-compliant, this property is quite common and we are not going to remove support for it anytime soon.
- Fixed a bug that could cause an assertion failure - and on rare occasions a more serious problem - when creating a tile provider for a
TileMapServiceRasterOverlay
or aWebMapServiceRasterOverlay
.
- On
IPrepareRendererResources
, theimage
parameter passed toprepareRasterInLoadThread
and therasterTile
parameter passed toprepareRasterInMainThread
are no longer const. These methods are now allowed to modify the parameters during load. IPrepareRendererResources::prepareInLoadThread
now takes aTileLoadResult
and returns aFuture<TileLoadResultAndRenderResources>
, allowing it to work asynchronously rather than just blocking a worker thread until it is finished.RasterOverlay::createTileProvider
now takes the owner pointer as anIntrusivePointer
instead of a raw pointer, and returns a future that resolves to aRasterOverlay::CreateTileProviderResult
.
- Added
mainThreadLoadingTimeLimit
andtileCacheUnloadTimeLimit
properties toTilesetOptions
, allowing a limit to be placed on how much time is spent loading and unloading tiles per frame. - Added
GltfReader::generateMipMaps
method. - Added the
getImage
method toRasterOverlayTile
. - Added
LocalHorizontalCoordinateSystem
, which is used to create convenient right- or left-handeded coordinate systems with an origin at a point on the globe.
- Fixed a bug that could cause a crash when adding raster overlays to sparse tilesets and zooming close enough to cause them to be upsampled.
TileRenderContent::lodTransitionPercentage
now always goes from 0.0 --> 1.0 regardless of if the tile is fading in or out.- Added a new parameter to
IPrepareRendererResources::prepareInLoadThread
,rendererOptions
, to allow passing arbitrary data from the renderer.
- In
CesiumGltfWriter
,accessor.byteOffset
andbufferView.byteOffset
are no longer written if the value is 0. This fixes validation errors for accessors that don't have buffer views, e.g. attributes that are Draco compressed. - Fixed a bug where failed tiles don't clean up any raster overlay tiles that are mapped to them, and therefore cannot be rendered as empty tiles.
- Fixed a bug that prevented access to Cesium Ion assets by using expired Access Tokens.
RasterOverlayCollection
no longer accepts aTileset
in its constructor. Instead, it now accepts aTile::LoadedLinkList
and aTilesetExternals
.- Removed
TileContext
. It has been replaced by theTilesetContentLoader
interface. - Removed
TileContentFactory
. Instead, conversions of various types to glTF can be registered withGltfConverters
. - Removed
TileContentLoadInput
. It has been replaced byTileLoadInput
andTilesetContentLoader
. - Removed
TileContentLoadResult
. It has been replaced byTileContent
. - Removed
TileContentLoader
. It has been replaced byTilesetContentLoader
andGltfConverters
. - Removed
ImplicitTraversal
. It has been replaced byTilesetContentLoader
andGltfConverters
. - Removed many methods from the
Cesium3DTilesSelection::Tileset
class:getUrl()
,getIonAssetID()
,getIonAssetToken()
,notifyTileStartLoading
,notifyTileDoneLoading()
,notifyTileUnloading()
,loadTilesFromJson()
,requestTileContent()
,requestAvailabilitySubtree()
,addContext()
, andgetGltfUpAxis()
. Most of these were already not recommended for use outside of cesium-native. - Removed many methods from the
Cesium3DTilesSelection::Tile
class:getTileset()
,getContext()
,setContext()
,getContent()
,setEmptyContent()
,getRendererResources()
,setState()
,loadContent()
,processLoadedContent()
,unloadContent()
,update()
, andmarkPermanentlyFailed()
. Most of these were already not recommended for use outside of cesium-native.
- Quantized-mesh terrain and implicit octree and quadtree tilesets can now skip levels-of-detail when traversing, so the correct detail is loaded more quickly.
- Added new options to
TilesetOptions
supporting smooth transitions between tiles at different levels-of-detail. A tile's transition percentage can be retrieved fromTileRenderContent::lodTransitionPercentage
. - Added support for loading WebP images inside glTFs and raster overlays. WebP textures can be provided directly in a glTF texture or in the
EXT_texture_webp
extension. - Added support for
KHR_texture_transform
toCesiumGltf
,CesiumGltfReader
, andCesiumGltfWriter
Tileset
can be constructed with aTilesetContentLoader
and a rootTile
for loading and rendering different 3D Tile-like formats or creating a procedural tileset.
- Fixed a bug where the Raster Overlay passed to the
loadErrorCallback
would not be the one that the user created, but instead an aggregated overlay that was created internally.
- Fixed a bug in
SqliteCache
where the last access time of resources was not updated correctly, sometimes causing more recently used resources to be evicted from the cache before less recently used ones.
- Removed support for 3D Tiles Next extensions in
TilesetWriter
andTilesetReader
that have been promoted to core in 3D Tiles 1.1 - Removed the
getSupportsRasterOverlays
fromTileset
because the property is no longer relevant now that all tilesets support raster overlays.
- Added support for 3D Tiles 1.1 in
TilesetWriter
andTilesetReader
. - Added a
TileOcclusionRendererProxyPool
toTilesetExternals
. If a renderer implements and provides this interface, the tile occlusion information is used to avoid refining parent tiles that are completely occluded, reducing the number of tiles loaded. Tileset
can now estimate the percentage of the tiles for the current view that have been loaded by calling thecomputeLoadProgress
method.- Enabled loading Tile Map Service (TMS) URLs that do not have a file named "tilemapresource.xml", such as from GeoServer.
- Added support for Tile Map Service documents that use the "local" profile when the SRS is mercator or geodetic.
- Fixed crash when parsing an empty copyright string in the glTF model.
- Added option to the
RasterizedPolygonsOverlay
to invert the selection, so everything outside the polygons gets rasterized instead of inside. - The
RasterizedPolygonsTileExcluder
excludes tiles outside the selection instead of inside when given an invertedRasterizedPolygonsOverlay
. - Tiles are now upsampled using the projection of the first raster overlay in the list with more detail.
- For consistency with CesiumJS and compatibility with third-party terrain tilers widely used in the community, the
bounds
property of thelayer.json
file of a quantized-mesh terrain tileset is now ignored, and the terrain is assumed to cover the entire globe.
- Fixed a bug where upsampled quadtree tiles could have siblings with mismatching projections.
In addition to the above, this release updates the following third-party libraries used by cesium-native:
cpp-httplib
to v0.10.3 (changes)draco
to v1.5.2 (changes)earcut
to v2.2.3 (changes)PicoSHA2
to commit1677374f23352716fc52183255a40c1b8e1d53eb
(changes)rapidjson
to commitfcb23c2dbf561ec0798529be4f66394d3e4996d8
(changes)spdlog
to v1.10.0 (changes)stb
to commitaf1a5bc352164740c1cc1354942b1c6b72eacb8a
(changes)uriparser
to v0.9.6 (changes)
- Fixed a bug that could cause tiles in external tilesets to fail to load.
- Improved the load performance when
TilesetOptions::forbidHoles
is enabled by only loading child tiles when their parent does not meet the necessary screen-space error requirement. - Added support for loading availability metadata from quantized-mesh layer.json. Previously, only availability embedded in terrain tiles was used.
- Added support for quantized-mesh terrain tilesets that specify a parent layer.
- Added support for metadata from the
3DTILES_batch_table_hierarchy
extension.
- Fixed a bug that could cause the same tiles to be continually loaded and unloaded when
TilesetOptions::forbidHoles
was enabled. - Fixed a bug that could sometimes cause tilesets to fail to show their full detail when making changes to raster overlays.
- Fixed a bug that could cause holes even with
TilesetOptions::forbidHoles
enabled, particularly when using external tilesets. - Tiles will no longer be selected to render when they have no content and they have a higher "geometric error" than their parent. In previous versions, this situation could briefly lead to holes while the children of such tiles loaded.
- Fixed a bug where
IPrepareRendererResources::prepareInMainThread
was called on aTile
before thatTile
was updated with loaded content. - Fixed a bug where getting bad data from the SQLite request cache could cause a crash. If the SQLite database is corrupt, it will now be deleted and recreated.
- Fixed a crash caused by using an aggregated overlay of
IonRasterOverlay
after it is freed. - Fix a bug introduced in v0.14.0 that caused Tile Map Service (TMS) overlays from Cesium ion to fail to load.
- Added a new parameter,
rendererOptions
, toIPrepareRendererResources::prepareRasterInLoadThread
. - Changed the type of Cesium ion asset IDs from
uint32_t
toint64_t
. - Various changes in the
Cesium3DTiles
,Cesium3DTilesReader
, andCesium3DTilesWriter
namespaces to match the evolving 3D Tiles Next specifications. - Removed
getTextureCoordinateIndex
fromFeatureIDTextureView
andFeatureTexturePropertyView
. UsegetTextureCoordinateAttributeId
instead.
- Added
WebMapServiceRasterOverlay
to pull raster overlays from a WMS server. - Added support for the following glTF extensions to
CesiumGltf
,CesiumGltfReader
, andCesiumGltfWriter
:EXT_instance_features
EXT_structural_metadata
MAXAR_mesh_variants
- Added an in-memory cache for Cesium ion asset endpoint responses in order to avoid repeated requests.
- Added
ScopeGuard
class to automatically a execute function when exiting a scope. - The glTF
copyright
property, if present, is now included in the credits thatTileset
adds to theCreditSystem
. If thecopyright
has multiple parts separate by semicolons, these are treated as separate credits. - Credits reported by
CreditSystem::getCreditsToShowThisFrame
are now sorted based on the number of occurrences, with the most common credits first. Tileset
andRasterOverlay
credits can now be shown on the screen, rather than in a separate credit popup.- Added
FeatureTexturePropertyView::getSwizzle
method. - Added
IsMetadataArray
template to check if a type is aMetadataArrayView
. - Added a
rendererOptions
property toRasterOverlayOptions
to pass arbitrary data toprepareRasterInLoadThread
. - Added
Uri::escape
.
- Fixed an issue that could lead to compilation failures when passing an lvalue reference to
Promise::resolve()
. - Fixed upsampling for
EXT_feature_metadata
feature tables. - Fixed a bug that could cause the size of external images to be accounted for incorrectly when tracking the number of bytes loaded for caching purposes.
- Fixed a bug that prevented tiles from loading when "Forbid Holes" option was enabled.
- Renamed constants in
CesiumUtility::Math
to use PascalCase instead of SCREAMING_SNAKE_CASE.
- Added support for the
CESIUM_RTC
andKHR_texture_basisu
glTF extensions. - Added support for 3D Tiles that do not have a geometric error, improving compatibility with tilesets that don't quite match the 3D Tiles spec.
- Exposed the Cesium ion endpoint URL as a parameter on tilesets and raster overlays.
TilesetOptions
andRasterOverlayOptions
each have a new option to report which compressed textured formats are supported on the client platform. Ideal formats amongst the available ones are picked for each KTX2 texture that is later encountered.- The
ImageCesium
class nows convey which GPU pixel compression format (if any) is used. This informs what to expect in the image's pixel buffer. - The
ImageCesium
class can now contain pre-computed mipmaps, if they exist. In that case, all the mips will be in the pixel buffer and the delineation between each mip will be described inImageCesium::mipPositions
. - Tileset content with the known file extensions ".gltf", ".glb", and ".terrain" can now be loaded even if the Content-Type is incorrect. This is especially helpful for loading tilesets from
file:
URLs. - Created tighter fitting bounding volumes for terrain tiles by excluding skirt vertices.
- Fixed bug that could cause properties types in a B3DM Batch Table to be deduced incorrectly, leading to a crash when accessing property values.
- Fixed a bug where implicit tiles were not receiving the root transform and so could sometimes end up in the wrong place.
- Renamed
IAssetAccessor::requestAsset
toget
. - Renamed
IAssetAccessor::post
torequest
and added a new parameter in the second position to specify the HTTP verb to use. Token
inCesiumIonClient
has been updated to match Cesium ion's v2 REST API endpoint, so several fields have been renamed. Thetokens
method also now returns future that resolves to aTokenList
instead of a plain vector ofToken
instances.- Renamed
GltfReader::readModel
,ModelReaderResult
, andReadModelOptions
toGltfReader::readGltf
,GltfReaderResult
, andGltfReaderOptions
respectively. - Removed
writeModelAsEmbeddedBytes
,writeModelAndExternalFiles
,WriteModelResult
,WriteModelOptions
, andWriteGLTFCallback
. UseGltfWriter::writeGltf
,GltfWriter::writeGlb
,GltfWriterResult
, andGltfWriterOptions
instead.
- Added
TilesetWriterOptions
for serializing tileset JSON. - Added support for the following extensions in
GltfWriter
andGltfReader
: - Added support for the following extensions in
TilesetWriter
andTilesetReader
: - Added
SubtreeWriter
andSubtreeReader
for serializing and deserializing the subtree format in 3DTILES_implicit_tiling. - Added
SchemaWriter
andSchemaReader
for serializing and deserializing schemas in EXT_mesh_features and 3DTILES_metadata. - Added
hasExtension
toExtensibleObject
. - Added
CESIUM_TESTS_ENABLED
option to the build system. - Added support in the JSON reader for reading doubles with no fractional value as integers.
- Added case-insensitive comparison for Cesium 3D Tiles "refine" property values.
- Added new capabilities to
Connection
inCesiumIonClient
:- The
tokens
method now uses the v2 service endpoint and allows a number of options to be specified. - Added a
token
method to allow details of a single token to be retrieved. - Added
nextPage
andpreviousPage
methods to allow paging through tokens. - Added
modifyToken
method. - Added static
getIdFromToken
method to obtain a token ID from a given token value.
- The
- Added
loadErrorCallback
toTilesetOptions
andRasterOverlayOptions
. This callback is invoked when theTileset
orRasterOverlay
encounter a load error, allowing the error to be handled by application code. - Enable
IntrusivePointer<T>
to be converted toIntrusivePointer<U>
if U is a base class of T.
- Fixes a bug where
notifyTileDoneLoading
was not called when encountering Ion responses that can't be parsed. - Fixed a bug that prevented a continuation attached to a
SharedFuture
from returning aFuture
itself. - Fixed incorrect child subtree index calculation in implicit tiles.
- Fixed
computeDistanceSquaredToPosition
inBoundingSphere
.
- The
CesiumGltfReader
project now uses theCesiumGltfReader
namespace instead of theCesiumGltf
namespace. - The
CesiumGltfWriter
project now uses theCesiumGltfWriter
namespace instead of theCesiumGltf
namespace. - The
Cesium3DTilesReader
project now uses theCesium3DTilesReader
namespace instead of theCesium3DTiles
namespace.
- Added
Cesium3DTilesWriter
library.
- Fixed a bug in
QuadtreeRasterOverlayTileProvider
that caused incorrect level-of-detail selection for overlays that use a global (or otherwise large) tiling scheme but have non-global (or otherwise smaller) coverage.
QuadtreeRasterOverlayTileProvider::computeLevelFromGeometricError
has been removed.computeLevelFromTargetScreenPixels
may be useful as a replacement.- The constructor of
RasterOverlayTileProvider
now requires a coverage rectangle. RasterOverlayTileProvider::getTile
now takes atargetScreenPixels
instead of atargetGeometricError
.- The constructor of
RasterMappedTo3DTile
now requires a texture coordinate index. - The constructor of
RasterOverlayTile
now takes atargetScreenPixels
instead of atargetGeometricError
. And the correspondinggetTargetGeometricError
has been removed. - Removed
TileContentLoadResult::rasterOverlayProjections
. This field is now found in theoverlayDetails
. - Removed
obtainGlobeRectangle
fromTileUtilities.h
. UseestimateGlobeRectangle
inBoundingVolume.h
instead. - cesium-native now uses the following options with the
glm
library:GLM_FORCE_XYZW_ONLY
GLM_FORCE_EXPLICIT_CTOR
GLM_FORCE_SIZE_T_LENGTH
- Added support for the 3DTILES_implicit_tiling extension.
- Added support for the 3DTILES_bounding_volume_S2 extension.
- Added support for raster overlays, including clipping polygons, on any 3D Tiles tileset.
- Added support for external glTF buffers and images.
- Raster overlay level-of detail is now selected using "target screen pixels" rather than the hard-to-interpret geometric error value.
- A
RasterOverlay
can now be configured with amaximumScreenSpaceError
independent of the screen-space error used for the geometry. RasterOverlay::loadTileProvider
now returns aSharedFuture
, making it easy to attach a continuation to run when the load completes.- Added
GltfContent::applyRtcCenter
andapplyGltfUpAxisTransform
. - Clipping polygon edges now remain sharp even when zooming in past the available geometry detail.
- Added
DebugColorizeTilesRasterOverlay
. - Added
BoundingRegionBuilder
toCesiumGeospatial
. - Added
GlobeRectangle::EMPTY
static field andGlobeRectangle::isEmpty
method. - Added the ability to set the coordinates of a
GlobeRectangle
after construction.
- Improved the computation of bounding regions and overlay texture coordinates from geometry, particularly for geometry that crosses the anti-meridian or touches the poles.
- Fixed a bug that would result in incorrect geometry when upsampling a glTF with a position accessor pointing to a bufferView that did not start at the beginning of its buffer.
- Fixed a problem that could cause incorrect distance computation for a degenerate bounding region that is a single point with a min/max height.
- Improved the numerical stability of
GlobeRectangle::computeCenter
andGlobeRectangle::contains
. - Error messages are no longer printed to the Output Log when an upsampled tile happens to have a primitive with no vertices.
- Fixed a bug that could cause memory corruption when a decoded Draco mesh was larger than indicated by the corresponding glTF accessor.
- Fixed a bug that could cause the wrong triangle indices to be used for a Draco-encoded glTF.
- Changed the following properties in CesiumGltf:
BufferView::target
now defaults tostd::nullopt
instead ofTarget::ARRAY_BUFFER
.ClassProperty::type
now defaults toType::INT8
instead of empty string.ClassProperty::componentType
is now an optional string instead of aJsonValue
.FeatureTexture::classProperty
is no longer optional, consistent with changes to the extension spec.Image::mimeType
now defaults to empty string instead ofMimeType::image_jpeg
.Sampler::magFilter
andSampler::minFilter
now default tostd::nullopt
instead ofMagFilter::NEAREST
.
- The version of
ExtensibleObject
in theCesiumGltf
library and namespace has been removed. Use the one in theCesiumUtility
library and namespace instead. - Renamed the following glTF extension classes:
KHR_draco_mesh_compression
->ExtensionKhrDracoMeshCompression
.MeshPrimitiveEXT_feature_metadata
->ExtensionMeshPrimitiveExtFeatureMetadata
ModelEXT_feature_metadata
->ExtensionModelExtFeatureMetadata
CesiumGltf::ReaderContext
has been removed. It has been replaced with eitherCesiumJsonReader::ExtensionReaderContext
orGltfReader
.
- Added new
Cesium3DTiles
andCesium3DTilesReader
libraries. They are useful for reading and working with 3D Tiles tilesets.
- Fixed a bug that could cause crashes or incorrect behavior when using raster overlays.
- Fixed a bug that caused 3D Tiles content to fail to load when the status code was zero. This code is used by libcurl for successful read of
file://
URLs, so the bug prevented loading from such URLs in some environments. - Errors and warnings that occur while loading glTF textures are now include in the model load errors and warnings.
- Fixes how
generate-classes
deals with reserved C++ keywords. Property names that are C++ keywords should be appended with "Property" as was already done, but when parsing JSONs the original property name string should be used.
- glTF enums are now represented in CesiumGltf as their underlying type (int32 or string) rather than as an enum class.
- Tile content loaders now return a
Future
, which allows them to be asynchronous and make further network requests.
- Fixed a bug that caused the
RTC_CENTER
semantic in a B3DM feature table to be ignored if any of the values happened to be integers rather than floating-point numbers. This caused these tiles to render in the wrong location.
- Fixed a bug where the "forbidHoles" option was not working with raster overlays and external tilesets.
- Fixed a bug introduced in v0.7.0 where credits from a
QuadtreeRasterOverlayTileProvider
were not collected and reported. - Fixed a bug where disabling frustum culling caused external tilesets to not load.
- Renamed the
Cesium3DTiles
namespace and library toCesium3DTilesSelection
. - Deleted
Cesium3DTilesSelection::Gltf
and moved functionality intoCesiumGltf::Model
. - Renamed
Rectangle::intersect
andGlobeRectangle::intersect
tocomputeIntersection
. RasterOverlay
and derived classes now require aname
parameter to their constructors.- Changed the type of texture coordinate IDs used in the raster overlay system from
uint32_t
toint32_t
. RasterOverlayTileProvider
is no longer quadtree-oriented. Instead, it requires derived classes to provide an image for a particular requested rectangle and geometric error. Classes that previously derived fromRasterOverlayTileProvider
should now derive fromQuadtreeRasterOverlayTileProvider
and implementloadQuadtreeTileImage
instead ofloadTileImage
.- Removed
TilesetOptions::enableWaterMask
, which didn't have any effect anyway.TilesetContentOptions::enableWaterMask
still exists and works.
- Added
Future<T>::isReady
. - Added
Future<T>::share
, which returns aSharedFuture<T>
and allows multiple continuations to be attached. - Added an option in
TilesetOptions::ContentOptions
to generate smooth normals when the original glTFs were missing normals. - Added
ImageManipulation
class toCesiumGltfReader
. - Added
Math::roundUp
andMath::roundDown
. - Added
Rectangle::computeUnion
.
- Fixed a bug that caused CesiumGltfWriter to write a material's normal texture info into a property named
normalTextureInfo
rather thannormalTexture
. - Fixed a bug in
TileMapServiceRasterOverlay
that caused it to show only the lowest resolution tiles if missing atilemapresource.xml
file.
Future<T>::wait
now returns the resolved value and throws if the Future rejected, rather than returning astd::variant
and slicing the exception tostd::exception
.Tileset::updateView
andTileset::updateViewOffline
now takestd::vector<ViewState>
instead of a singleViewState
.
- Added support for the
EXT_feature_metadata
glTF extension. - Added automatic conversion of the B3DM batch table to the
EXT_feature_metadata
extension. - Added
CESIUM_COVERAGE_ENABLED
option to the build system. - Added
AsyncSystem::dispatchOneMainThreadTask
to dispatch a single task, rather than all the tasks that are waiting. - Added
AsyncSystem::createPromise
to create a Promise directly, rather than via a callback as inAsyncSystem::createFuture
. - Added
AsyncSystem::catchImmediately
to catch a Future rejection immediately in any thread. - Added
AsyncSystem::all
to create a Future that resolves when a list of Futures resolve. - Added support for multiple frustums in the
Tileset
selection algorithm.
- Fixed a bug that prevented
.then
functions from being used on aFuture<void>
when CESIUM_TRACING_ENABLED was ON.
TilesetExternals
now has anAsyncSystem
instead of a shared pointer to anITaskProcessor
.
- Added a performance tracing framework via
CESIUM_TRACE_*
macros. - Added
Future<T>::thenImmediately
. - Added
AsyncSystem::createThreadPool
andFuture<T>::thenInThreadPool
. Future<T>::thenInWorkerThread
andFuture<T>::thenInMainThread
now arrange for their continuations to be executed immediately when the Future is resolved, if the Future is resolved in the correct thread.- Moved all request cache database access to a dedicated thread, in order to free up worker threads for parallelizable work.
- Added
Cesium3DTiles::TileIdUtilities
with acreateTileIdString
function to create logging/debugging strings forTileID
objects. - Accessing the same Bing Maps layer multiple times in a single application run now reuses the same Bing Maps session instead of starting a new one each time.
- Added a configure-time build option,
PRIVATE_CESIUM_SQLITE
, to rename allsqlite3*
symbols tocesium_sqlite3*
.
- Matched draco's decoded indices to gltf primitive if indices attribute does not match with the decompressed indices.
createAccessorView
now creates an (invalid)AccessorView
with a standard numeric type on error, rather than creatingAccessorView<nullptr_t>
. This makes it easier to use a simple lambda as the callback.- Disabled
HTTPLIB_USE_ZLIB_IF_AVAILABLE
andHTTPLIB_USE_OPENSSL_IF_AVAILABLE
because these libraries are not required for our use for cpp-httplib and they cause problems on some systems.
- Fixed a memory leak when loading textures from a glTF model.
- Fixed a use-after-free bug that could cause a crash when destroying a
RasterOverlay
.
- Converted
magic_enum
/CodeCoverage.cmake
dependencies to external submodules. - Replaced
CesiumGltf::WriteFlags
bitmask withCesiumGltf::WriteModelOptions
struct.CesiumGltf::writeModelAsEmbeddedBytes
andCesiumGltf::writeModelAndExternalfiles
now use this struct for configuration. - Removed all exceptions in
WriterException.h
, warnings / errors are now reported inWriteModelResult
, which is returned fromCesiumGltf::writeModelAsEmbeddedBytes
andCesiumGltf::writeModelAndExternalFiles
instead.
- Added support for loading the water mask from quantized-mesh terrain tiles.
- Let a tile be renderable if all its raster overlays are ready, even if some are still loading.
- Moved
JsonValue
from theCesiumGltf
library to theCesiumUtility
library and changes some of its methods. - Renamed
CesiumGltf::Reader
toCesiumGltf::GltfReader
. - Made the
readModel
andreadImage
methods onGltfReader
instance methods instead of static methods.
- Added
CesiumGltfWriter
library. - Added
CesiumJsonReader
library. - Added diagnostic details to error messages for invalid glTF inputs.
- Added diagnostic details to error messages for failed OAuth2 authorization with
CesiumIonClient::Connection
. - Added an
Axis
enum andAxisTransforms
class for coordinate system transforms - Added support for the legacy
gltfUpVector
string property in theasset
part of tilesets. The up vector is read and passed as anAxis
in theextras["gltfUpVector"]
property, so that receivers may rotate the glTF model's up-vector to match the Z-up convention of 3D Tiles. - Unknown glTF extensions are now deserialized as a
JsonValue
. Previously, they were ignored. - Added the ability to register glTF extensions for deserialization using
GltReader::registerExtension
. - Added
GltfReader::setExtensionState
, which can be used to request that an extension not be deserialized or that it be deserialized as aJsonValue
even though a statically-typed class is available for the extension.
- Gave glTFs created from quantized-mesh terrain tiles a more sensible material with a
metallicFactor
of 0.0 and aroughnessFactor
of 1.0. Previously the default glTF material was used, which has ametallicFactor
of 1.0, leading to an undesirable appearance. - Reported zero-length images as non-errors as
BingMapsRasterOverlay
purposely requests that the Bing servers return a zero-length image for non-existent tiles. - 3D Tiles geometric error is now scaled by the tile's transform.
- Fixed a bug that that caused a 3D Tiles tile to fail to refine when any of its children had an unsupported type of content.
- Initial release.