NASA-AMMOS / 3DTilesRendererJS

Renderer for 3D Tiles in Javascript using three.js
https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/mars.html
Apache License 2.0
1.63k stars 289 forks source link

Implicit Tiling (v1.1) missing subtrees / wrong lookup? #844

Open phoenixbf opened 4 hours ago

phoenixbf commented 4 hours ago

Hi all I'm testing tilesets using the new V1.1 tiler by cesium ion and implicit tiling plugin (octree). Everything basically works ok, except towards octree leaves (higher-res tiles) there appears random misses (eg. "TilesRenderer : Failed to load tile at url "subtrees/5/8/14/0.subtree") on *.subtree files, causing indeed some holes in the mesh on close inspection as they refine.

I initially though it was something related to corrupted downloads (zip from ion), but instead it seems the last bit of the subtree path is composed differently (e.g. instead of "2.subtree", a "0.subtree" is fetched, and so on... while the subfolders path is correct on both cesium viewer and 3DTilesRenderer). As if the last part of the path has wrong subtree filename computed?

This bug can be replicated with any sufficiently complex obj converted into tileset using v1.1 ion tiler.

I'll try to provide more details while I keep testing, and have a more indepth inspection ad the code if I find something

gkjohnson commented 4 hours ago

Thanks for the report!

This bug can be replicated with any sufficiently complex obj converted into tileset using v1.1 ion tiler.

Can you please provide a specific tile set that exhibits the issue? Also please follow the bug report. Trying to accurately recreate your issue from just a description and no tile set or images is a lot of effort and guess work.

cc @AnthonyGlt