Unity3DTiles icon indicating copy to clipboard operation
Unity3DTiles copied to clipboard

b3dm

Open dingqimin opened this issue 6 years ago • 6 comments

you project can not load my 3dTiles. Is it tileset problem or b3dm problem?can you help me ?

dingqimin avatar Apr 25 '19 08:04 dingqimin

Hi @dingqimin

Glad to hear you are interested in using Unity3DTiles! The most likely problem is that this repository currently uses a slightly outdated version of the 3D Tiles tileset specification. We hope to have it updated to the latest spec soon. The b3dm reader is also pretty simple so I wouldn't rule out issues with it either.

A quick test might be to create a blank scene with just a B3DMComponent pointing at a single b3dm file. That would allow you to test the b3dm loader independently of the rest of the tileset code.

In the mean time, if you have a sample tileset and/or b3dm file you would like me to test with I'd be happy to see if I can identify/correct the issue.

amenzies avatar Apr 29 '19 17:04 amenzies

I am working on a branch to update the tileset schema. Please pull this branch and see if it resolves your issue: https://github.com/NASA-AMMOS/Unity3DTiles/tree/feature/3d-tiles-schema-update

amenzies avatar Apr 29 '19 23:04 amenzies

This update has been merged into master

amenzies avatar Apr 30 '19 21:04 amenzies

Hello, your project failed to load my B3DM file.Can you help me? I have my test file in the attachment. Tile_+040_+104.zip

uphyhuang99 avatar Aug 01 '19 01:08 uphyhuang99

Sorry for the slow reply. The b3dm loader we have implemented currently is very simple and has only been tested against b3dm files containing a single glb file with no additional information in the header. I bet your b3dm file probably exercises more of the specification than what we currently have implemented. I'm a bit over subscribed at the moment so I'm not sure when I will have a chance to look at this. In case anyone else out there wants to have a look, a good place to start would be to create a new scene and add a game object with just a B3DMComponent on it. Point it at the sample b3dm above and then step through https://github.com/NASA-AMMOS/Unity3DTiles/blob/master/Assets/Unity3DTiles/B3DMLoader.cs with a debugger to see where things go south.

My guess is that we aren't handling a non-empty features table or some optional attributes correct as per the spec https://github.com/AnalyticalGraphicsInc/3d-tiles/blob/master/specification/TileFormats/Batched3DModel/README.md

amenzies avatar Aug 14 '19 20:08 amenzies

a good place to start would be to create a new scene and add a game object with just a B3DMComponent on it. the B3dm model isShow, But the cesiumlab model have problem Is The json Tree and format of json have different the data is this
Test.zip

zhuxian1guo avatar Jan 20 '21 02:01 zhuxian1guo