Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b3dm #1

Open
dingqimin opened this issue Apr 25, 2019 · 6 comments
Open

b3dm #1

dingqimin opened this issue Apr 25, 2019 · 6 comments

Comments

@dingqimin
Copy link

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

@amenzies
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

This update has been merged into master

@uphyhuang99
Copy link

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

@amenzies
Copy link
Collaborator

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

@zhuxian1guo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants