cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Support custom ellipsoids in Cesium3DTile bounding volume calculations

Open jjhembd opened this issue 2 years ago • 1 comments

Feature

Bounding volume calculations in Cesium3DTile currently assume the default WGS84 ellipsoid. These should instead use the ellipsoid associated with the Globe or frameState.mapProjection in case the user has specified a custom ellipsoid.

For tiles with region type bounding volumes, the custom ellipsoid will need to be made available to the Cesium3DTile constructor, which currently does not have access to frameState.

jjhembd avatar Dec 22 '23 17:12 jjhembd

Maybe someone can quickly confirm whether this is obsolete with the recent generalizations from https://github.com/CesiumGS/cesium/pull/12000 - I think that most places that assumed WGS84 should have changed to use the one that was configured to be the "default" one, right?

javagl avatar Oct 19 '24 14:10 javagl

For Cesium3DTile, the WGS84 ellipsoid is specifically used throughout when creating the region bounding volumes. However, based on the spec for regions, I don't think this should change when the scene's ellipsoid changes.

I'll close, but please let me know if anyone disagrees.

ggetz avatar Oct 21 '24 14:10 ggetz