visgl / loaders.gl

Loaders for big data visualization. Website:
https://loaders.gl
Other
714 stars 195 forks source link

Different errors with different 3d-tiles (b3dm) #1214

Closed ikemarv closed 2 years ago

ikemarv commented 3 years ago

Description

I have used different building data in b3dm format and get different errors except for one data source.

The first two data are displayed in the correct place in CesiumJS. On the page with the examples at loaders.gl, all 3D tiles examples that do not have the data source via Cesium Ion do not work either.

Repro Steps

I used the deckgl 3d-tiles example ( https://github.com/visgl/deck.gl/tree/master/examples/website/3d-tiles ) and just replaced the tile3DLayer:

const tile3DLayer = new Tile3DLayer({ id: 'tile-3d-layer', data: './data/buildings/tileset.json', //data: './data/lod2_nrw/tileset.json', //data: './data/Manhattan/tileset.json', //data: './data/delaware-cesium-pg2b3dm/tileset.json', loader: Tiles3DLoader, loadOptions: { isTileset:true }, onTilesetLoad });

Environment

dryabinin94 commented 2 years ago

Hello!

  1. To reproduce this issue I need tileset which you tried to load.
  2. As for https://github.com/ikemarv/test-itowns-nrw/tree/master/apps/data/lod2_nrw tileset I uploaded it into Cesium ION app and it is really in Indian Ocean. And it looks really small and each mouse movement can eliminate tileset from camera view. image Also I tried to view it in deck.gl tile3DLayer but viewer doesn't allow me to see it, maybe because tileset too small and has wrong positioning, elevation and orientation. And I converted it to I3S format as well and it helps me to find it out on the map - image
  3. As for Manhattan tileset it has deprecated tile structure which is not supported by loaders.gl.
  4. https://github.com/Geodan/pg2b3dm/tree/master/sample_data/delaware/cesium As you said works. As for 3DTiles Tielsets on loaders.gl - thay are fixed.
dryabinin94 commented 2 years ago

@ikemarv I wIll close an issue. You are welcome to open new if you have new troubles.