I have created a 3D tileset. It can be seen right here and it looks like so:
{
"asset": {
"version": "1.0"
},
"geometricError": 100.0,
"root": {
"transform": [
-0.6948750431427922,
0.7191304988785433,
0.0,
0.0,
-0.3992857187445959,
-0.3858182645175394,
-0.8316941634827585,
0.0,
-0.5980966386997288,
-0.5779235177316903,
0.5552340213177814,
0.0,
2552673.4802513956,
2466574.700259976,
5281509.944505653,
1.0
],
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 100.0,
"refine": "ADD",
"content": null,
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 2187.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-7/lod_7_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 729.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-6/lod_6_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 243.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-5/lod_5_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 81.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-4/lod_4_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 27.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-3/lod_3_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 9.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-2/lod_2_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 3.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-1/lod_1_drc.glb"
},
"children": [
{
"transform": null,
"boundingVolume": {
"box": [
35.313999999999595,
-5.6,
54.188247938924995,
36.804,
0.0,
0.0,
0.0,
-8.3,
0.0,
0.0,
0.0,
57.04824793892501
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"uri": "LOD-0/lod_0_drc.glb"
},
"children": []
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
}
So, as you can see, every single LOD is a separate glb-file. In my case they are created by blender with the help of decimate modification. So every one LOD has simpler geometry and less number of polygons/vertices.
My expectation is that Cesium should load different LODs one by one, as I zoom in or zoom out. But what I see is that when the page loads for the first time, all glb files are loaded to the client.
The demo, that you can try it yourself can be seen here
And this is what Iām talking about:
What may be wrong with that?