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

3D-Tiles 1.1 binary .voxel file #774

Open
cjhdsg opened this issue May 26, 2024 · 3 comments
Open

3D-Tiles 1.1 binary .voxel file #774

cjhdsg opened this issue May 26, 2024 · 3 comments

Comments

@cjhdsg
Copy link

cjhdsg commented May 26, 2024

I'm experiencing difficulty loading a 3D-Tiles binary voxel (.voxel) file. While the file is successfully requested, it fails to load properly without any error messages in the console. However, when using the corresponding .json+.bin format, the file loads correctly. How can this issue be resolved?

Below is my test dataset.
Dataset_testBinaryVoxel.zip

@javagl
Copy link
Contributor

javagl commented May 28, 2024

The given data set does not seem to contain the .subtree files. (Also, it could be interesting to know how you created the binary files, but maybe that will be resolved or obsolete when we can test the data)

@cjhdsg
Copy link
Author

cjhdsg commented Jun 2, 2024

We created the binary voxel file described in the 3DTILES_content_voxels readme.md.
Dataset_testBinaryVoxel.zip
image

@javagl
Copy link
Contributor

javagl commented Jun 2, 2024

The property is called aa in the metadata schema that is defined in the tileset.json. But in the JSON part of the voxel file, the property is called a:

Cesium Voxel Tools issue 774

When you change the name to a in the tileset.json (which might be easier than editing the binary file), then it should work.

The Voxel functionality is still pretty new, and some tooling and support are still in development. Eventually, voxels might be supported by the 3D Tiles Validator, which then could point out inconsistencies like these. (No promise and no timeline for that)

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

2 participants