1.127
CesiumGS/cesium1.127Mar 3, 2025by lukemckinstry
AI Summary
This release focuses on Voxel Provider updates, specifically switching to the standard EXT_primitive_voxels extension and updating internal APIs for better alignment with the 3D Tiles ecosystem.
Key Highlights
- Updated Cesium3DTilesVoxelProvider to use the EXT_primitive_voxels extension.
- Tilesets using the previous custom JSON format are no longer supported.
- Updated requestData method to return a Promise to VoxelContent.
- Refactored TextureAtlas and added new statistics fields to VoxelPrimitive.
Breaking Changes
- Tilesets using the previous custom JSON format are no longer supported.
New Features
- Loading glTF tiles using the new EXT_primitive_voxels extension.
- New VoxelContent.fromMetadataArray method for custom providers.
- New statistics properties: texturesByteLength, visited, numberOfTilesWithContentReady.
Full Release Notes
1.127 - 2025-03-03 Highlights include: - Updated `Cesium3DTilesVoxelProvider` to load glTF tiles using the new [`EXT_primitive_voxels` extension](https://github.com/CesiumGS/glTF/pull/69) to more closely align with the rest of the 3D Tiles ecosystem. Tilesets using the previous custom JSON format are no longer supported. [#12432](https://github.com/CesiumGS/cesium/pull/12432) - Updated the `requestData` method of the `VoxelProvider` interface to return a `Promise` to a `VoxelContent`. Custom providers should now use the `VoxelContent.fromMetadataArray` method to construct the returned data object. - `TextureAtlas` has been refactored and internal APIs have been updated. - Implemented `texturesByteLength`, `visited`, and `numberOfTilesWithContentReady` in `VoxelPrimitive.statistics`. See the [changelog](https://github.com/CesiumGS/cesium/blob/1.127/CHANGES.md ) for the complete list of changes.