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.64k stars 291 forks source link

Why can't some 3DTiles be loaded #231

Closed 2226174644 closed 2 years ago

2226174644 commented 2 years ago

I tried to load a classic example 3DTiles --TilesetWithDiscreteLOD ,but there was nothing in the scene and didn't log any error. The code just like image With logging the TilesRenderer , its children in the group has nothing. image Here is the 3DTiles : TilesetWithDiscreteLOD.zip (This 3DTiles can be loaded in Cesium , and I tried to load its b3dms alone using your B3DMLoader,it can be shown in the scene.) I also tried to load your example 3DTiles ( https://github.com/NASA-AMMOS/3DTilesRendererJS/tree/master/example/data ) . It can be loaded successfully.Why?

gkjohnson commented 2 years ago

Please take a look at your server setup. Like #229 I suspect your server configuration is not returning 404s and your url is incorrect. Loading the "TilesetWithDiscreteLOD" tile set from the cesium sample files works fine for me:

https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/index.html#https://raw.githubusercontent.com/CesiumGS/3d-tiles-samples/main/1.0/TilesetWithDiscreteLOD/tileset.json

2226174644 commented 2 years ago

Well,I copy your example code and test it using the same url ,it can be loaded! image I still don't know why. But all in all, thank you.

gkjohnson commented 2 years ago

Well,I copy your example code and test it using the same url ,it can be loaded! I still don't know why.

Like I said this sounds like it's related to your server setup. It sounds to me like the URL you were passing in did not exist and for some reason the server was not returning a 404. Unfortunately without more information that's the best I can provide.