Hello,
currently I am working in a project and we have a 3D tiles folder with the following structure:
-point_cloud.glb
-mesh.glb
-tileset.json
Both .glb are in local coordinates. This is the structure for the .json:
"asset": {
"version": "1.1",
"gltfUpAxis": "Z"
},
"extensionsUsed": [
"3DTILES_content_gltf"
],
"extensionsRequired": [
"3DTILES_content_gltf"
],
"extensions": {
"3DTILES_content_gltf": {
"extensionsUsed": [
"EXT_mesh_gpu_instancing"
],
"extensionsRequired": [
"EXT_mesh_gpu_instancing"
]
}
},
"geometricError": 500,
"root": {
"transform": [
-0.0024255601192654866,
0.4704315092866371,
-0.8824331769195927,
3514762.032026145,
0.0001528101500689789,
0.882435936822733,
0.47043256057892546,
785418.0209607437,
-0.9999970466492221,
-0.0010062177115532371,
0.0022122881256951277,
5246387.90004111,
0.0,
0.0,
0.0,
1.0
],
"boundingVolume": {
"region": [
0.21976341858586895,
0.9722567711180549,
0.2199379515110684,
0.9724313040432544,
-58.61334183625877,
41.38665816374123
]
},
"geometricError": 500,
"refine": "ADD",
"children": [
{
"boundingVolume": {
"box": [
0,
0,
0,
50,
0,
0,
0,
50,
0,
0,
0,
50
]
},
"geometricError": 50,
"content": {
"uri": "3D_Tiles/mesh.glb"
}
},
{
"boundingVolume": {
"box": [
0,
0,
0,
100,
0,
0,
0,
100,
0,
0,
0,
100
]
},
"geometricError": 50,
"content": {
"uri": "3D_Tiles/point_cloud.glb"
}
}
]
}
}
where transform is the transformation matrix that rotates the points so that they are in a right handed Z-up axis, also the translation in the transform is in WSG84 EPSG:4978; and the region for the boundingVolume is in EPSG:4979 in radians.
When I try to visualize the 3DTiles folder containing this 3 files in Cesium, I only can see the boundingVolume region(is making it right) but then I can not see neither the point_cloud.glb nor the mesh.glb.
Am I doing something wrong/missing something in the .json structure?
Or is it something related with the transformations or the frames?
Thank you so much in advance.