Hi everyone!
I am using 3d-tiles and cesium for rendering city buildings models on the surface of globe. When using 3d-tile with box volume, model renders perfectly, but when trying the same tile with region volume, it leaves space empty, even though camera focuses on necessary geographical location and debug shows tile box.
Here is tile file:
{
"asset": {
"version": "1.0"
},
"geometricError": 500,
"root": {
"boundingVolume": {
"region": [
0.444468247681207,
1.1346713051502226,
0.4445153359764694,
1.134718393445485,
0,
42
]
},
"geometricError": 250,
"refine": "REPLACE",
"content": {
"url": "Building1_2.b3dm"
},
"children":
}
}
And here is code for rendering:
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url: url
}));
tileset.readyPromise.then(function (tileset) {
viewer.camera.viewBoundingSphere(tileset.boundingSphere, new Cesium.HeadingPitchRange(0, -0.5, 0));
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
})
I am using cesium 1.41 on Windows 10 in latest Firefox/Chrome.
I appreciate if somebody would help or guide me in this issue.
Thanks!