CesiumGS / 3d-tiles

Specification for streaming massive heterogeneous 3D geospatial datasets :earth_americas:
2.14k stars 469 forks source link

3D-Tiles 1.1 binary .voxel file #774

Open cjhdsg opened 5 months ago

cjhdsg commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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

javagl commented 5 months ago

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)