Format and CHANGES.md

This commit is contained in:
Ashley Rogers 2025-03-20 10:17:45 -04:00
parent 279afe791b
commit 2076508f60
2 changed files with 16 additions and 2 deletions

View File

@ -2,6 +2,16 @@
### ? - ?
##### Additions :tada:
- Added new TilesetContentLoaders constructible using the new `TilesetLoaderFactory` constructor on `Cesium3DTilesSelection::Tileset`.
- `ITwinCesiumCuratedContentLoader` can load tilesets from the [iTwin Cesium Curated Content API](https://developer.bentley.com/apis/cesium-curated-content/).
- `IModelMeshExportContentLoader` can load [iModels](https://www.itwinjs.org/learning/imodels/) exported to the 3D Tiles format through the [Mesh Export API](https://developer.bentley.com/apis/mesh-export/).
- `ITwinRealityDataContentLoader` can load 3D Tiles iTwin Reality Data through the [Reality Management API](https://developer.bentley.com/apis/reality-management/overview/).
- `ITwinCesiumCuratedContentRasterOverlay` can load imagery from the iTwin Cesium Curated Content API.
- Added `CesiumITwinClient` library for authorizing with and making requests to the iTwin API.
- Added `CesiumClientCommon` to hold shared code between `CesiumIonClient` and `CesiumITwinClient`.
##### Fixes :wrench:
- Fixed missing URI query part when downloading glTF textures or buffers.

View File

@ -537,7 +537,10 @@ void CesiumGltfReader::GltfReader::postprocessGltf(
if (buffer.uri && buffer.uri->substr(0, dataPrefixLength) != dataPrefix) {
resolvedBuffers.push_back(
pAssetAccessor
->get(asyncSystem, Uri::resolve(baseUrl, *buffer.uri, true), tHeaders)
->get(
asyncSystem,
Uri::resolve(baseUrl, *buffer.uri, true),
tHeaders)
.thenInWorkerThread([pBuffer =
&buffer](std::shared_ptr<IAssetRequest>&&
pRequest) {
@ -646,7 +649,8 @@ void CesiumGltfReader::GltfReader::postprocessGltf(
}
};
std::string uri = Uri::resolve(baseUrl, *pStructuralMetadata->schemaUri, true);
std::string uri =
Uri::resolve(baseUrl, *pStructuralMetadata->schemaUri, true);
SharedFuture<ResultPointer<Schema>> future =
getAsset(asyncSystem, pAssetAccessor, uri, tHeaders);