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.62k stars 288 forks source link

3DTile Model Load Not Propertly #394

Closed WallanceLee closed 1 year ago

WallanceLee commented 1 year ago

Hello eveyone, I am new to use this library. According to README, my project is built with vue3, vite and this library. When loading my 3dTiles model, it just not loaded b3dm even. I am very confused to debug this problem. Thanks for your help for this debug question. I just compared your example tileset json and mine, and I found one difference in root.content.uri field that mine doesn't have this one field and yours have, is it a point?

gkjohnson commented 1 year ago

There's no way the problem can be helped if you don't provide a sample of the problematic data.

WallanceLee commented 1 year ago

This is my problematic data. Thanks a lot. Archive.zip

There's no way the problem can be helped if you don't provide a sample of the problematic data.

gkjohnson commented 1 year ago

The model loads fine - it's just at a large distance away from the origin so it needs to be centered which can be done using the bounding boxes. Related to #395.

image