You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to display the OSM Buildings dataset from Cesium using deck.gl (and loaders.gl) (3D tiles data)
Unfortunately nothing displays (no buildings), after some investigation I found out that:
Loaders.gl requests properly the tileset.json , but do not go further down
The tileset load returns NaN for zoom value (which may be normal as it is a worldwide dataset, not localized somewhere)
Moving the map do not trigger any further fetch of tiles from this tileset
When trying to debug, it seems that loaders.gl is not working well with this tileset boundingVolume, and when it checks if it should go deeper just returns without getting down to the child tiles. (some more details here)
Yes, it looks like that the cullingVolume.computeVisibilityWithPlaneMask() function needs to be further examined.
As a workaround, the visibility can be checked by simply calculating 2D intersections between tiles and view bounding box. The dataset is displayed when changing the following lines of tile-3d.ts in updateVisibility():
Loader
CesiumIonLoader (Tiles3DLoader)
Description
I am looking to display the OSM Buildings dataset from Cesium using deck.gl (and loaders.gl) (3D tiles data)
Unfortunately nothing displays (no buildings), after some investigation I found out that:
Loaders.gl
requests properly thetileset.json
, but do not go further downNaN
for zoom value (which may be normal as it is a worldwide dataset, not localized somewhere)When trying to debug, it seems that
loaders.gl
is not working well with this tilesetboundingVolume
, and when it checks if it should go deeper just returns without getting down to the child tiles. (some more details here)Thanks for having a look
Expected Behavior
I would expect OSM buildings to load like on this example of Cesium : https://sandcastle.cesium.com/?src=Cesium%20OSM%20Buildings.html&label=ion%20Assets
Steps to Reproduce
Minimal repro based on the loaders.gl example for 3D Tiles: https://github.com/tdurand/test-cesium-osmbuildings/blob/main/app.tsx
Deployed here: https://test-osmbuildings.vercel.app/
Environment
Logs
For reference, the root tileset.json content
No response
The text was updated successfully, but these errors were encountered: