CesiumGS / 3d-tiles

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

3D-Tiles 1.1 voxel #768

Closed cjhdsg closed 6 months ago

cjhdsg commented 6 months ago

I am currently working with 3D-Tiles 1.1, specifically using 3DTILES_content_voxels and implicit tiles to handle voxel data. I have encountered an issue and would like to ask for some guidance: how can I control the rendering process to hide content that does not contain any voxels?

Specifically, when loading voxel data, some tiles are empty (i.e., they do not contain any voxel data). However, these empty tiles still appear as placeholders during rendering. This results in unnecessary content being displayed, which affects the final visualization.

I have correctly set the tile availability and content availability, which has been verified to work correctly with glb models. However, when switching to voxels, the content availability I set indicates no content at position 0/0/0/0. Despite this, the console reports a 404 error requesting 0.0.0.0.json, which should not be requested. After manually adding this file, only the voxels at position 0/0/0/0 are displayed.

Is there a way to prevent these unnecessary file requests and ensure that tiles without voxel data are not displayed during the loading or rendering stage? Any suggestions or solutions would be greatly appreciated. Thank you!

Looking forward to your responses. implicit tile glb implicit tile voxel implicit tile voxel-error

javagl commented 6 months ago

This repository is for maintaining the specification of 3D Tiles. If you want to ask for clarifications about the specification, then this can be done by opening an issue here (even when the goal is implementing a 3D Tiles renderer based on the specification). But the issues here are not a general support area. If you have questions that are only about an implementation or aspects of the behavior of CesiumJS in particular, you should ask them in the community forum at https://community.cesium.com/c/cesiumjs/5

In this case, it would probably be helpful if you could share that tileset, attached as a ZIP file (assuming that this is only test data that can be shared). Right now, I don't see why the type of the content should determine whether ~"invalid requests" should be sent out. But maybe this can be sorted out in the forum thread.