4.7 KiB
4.7 KiB
Change Log
v0.5.0 - 2021-07-01
Breaking Changes 📣
TilesetExternalsnow has anAsyncSysteminstead of a shared pointer to anITaskProcessor.
Additions 🎉
- Added a performance tracing framework via
CESIUM_TRACE_*macros. - Added
Future<T>::thenImmediately. - Added
AsyncSystem::createThreadPoolandFuture<T>::thenInThreadPool. Future<T>::thenInWorkerThreadandFuture<T>::thenInMainThreadnow 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.
v0.4.0 - 2021-06-01
Additions 🎉
- Added
Cesium3DTiles::TileIdUtilitieswith acreateTileIdStringfunction to create logging/debugging strings forTileIDobjects. - 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*.
Fixes 🔧
- Matched draco's decoded indices to gltf primitive if indices attribute does not match with the decompressed indices.
createAccessorViewnow creates an (invalid)AccessorViewwith 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_AVAILABLEandHTTPLIB_USE_OPENSSL_IF_AVAILABLEbecause these libraries are not required for our use for cpp-httplib and they cause problems on some systems.
v0.3.1 - 2021-05-13
Fixes 🔧
- 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.
v0.3.0 - 2021-05-03
Breaking Changes 📣
- Converted
magic_enum/CodeCoverage.cmakedependencies to external submodules. - Replaced
CesiumGltf::WriteFlagsbitmask withCesiumGltf::WriteModelOptionsstruct.CesiumGltf::writeModelAsEmbeddedBytesandCesiumGltf::writeModelAndExternalfilesnow use this struct for configuration. - Removed all exceptions in
WriterException.h, warnings / errors are now reported inWriteModelResult, which is returned fromCesiumGltf::writeModelAsEmbeddedBytesandCesiumGltf::writeModelAndExternalFilesinstead.
Additions 🎉
- Added support for loading the water mask from quantized-mesh terrain tiles.
Fixes 🔧
- Let a tile be renderable if all its raster overlays are ready, even if some are still loading.
v0.2.0 - 2021-04-19
Breaking Changes 📣
- Moved
JsonValuefrom theCesiumGltflibrary to theCesiumUtilitylibrary and changes some of its methods. - Renamed
CesiumGltf::ReadertoCesiumGltf::GltfReader. - Made the
readModelandreadImagemethods onGltfReaderinstance methods instead of static methods.
Additions 🎉
- Added
CesiumGltfWriterlibrary. - Added
CesiumJsonReaderlibrary. - 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
Axisenum andAxisTransformsclass for coordinate system transforms - Added support for the legacy
gltfUpVectorstring property in theassetpart of tilesets. The up vector is read and passed as anAxisin 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 aJsonValueeven though a statically-typed class is available for the extension.
Fixes 🔧
- Gave glTFs created from quantized-mesh terrain tiles a more sensible material with a
metallicFactorof 0.0 and aroughnessFactorof 1.0. Previously the default glTF material was used, which has ametallicFactorof 1.0, leading to an undesirable appearance. - Reported zero-length images as non-errors as
BingMapsRasterOverlaypurposely 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.
v0.1.0 - 2021-03-30
- Initial release.