CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
55 stars 7 forks source link

Raster overlays as `rel` instead of child prims #645

Closed lilleyse closed 7 months ago

lilleyse commented 7 months ago

Fixes #585 Fixes #586

Raster overlay are now attached to tilesets through the cesium:rasterOverlayBinding property. Previously, raster overlays needed to be children of a tileset. This has a few advantages:

https://github.com/CesiumGS/cesium-omniverse/assets/915398/46af8f48-0565-476b-9df3-322854bae7eb

This video shows off a few different things:

One thing I forgot to do in the video but checked later was to delete the raster overlay prim and later re-add it at the same path. The tilesets get updated correctly when it is removed and re-added.