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

Example of the batch table data? #8

Open
mngyng opened this issue Sep 27, 2017 · 0 comments
Open

Example of the batch table data? #8

mngyng opened this issue Sep 27, 2017 · 0 comments

Comments

@mngyng
Copy link

mngyng commented Sep 27, 2017

I have a question regarding the use of gltf2glb for converting gltf files to b3dm:
Should the batch table be like a json string denoting the attributes of the features, like this following one?

{   "id" : [0, 0, 0, 1, 1, 1, 2, 2],
    "color" : ["yellow", "white", "white", "green", "blue", "red", "black", "white"]   }

And if I'm understanding it correctly, each value of an attribute corresponds to one of the techniques specified in the gltf file?

Also, currently I have .gltf files that contain no information regarding the batch id.
Would it be possible that I use a batch table containing the batch ids (as in the json string I showed above that says "id") and convert the .gltf files to their .b3dm counterparts?

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

1 participant