osgb转3dtiles工具, 转换后的瓦片集合可以在cesium上展示
//1加载倾斜摄影
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url: './data/3dtiles/tileset.json'
}));
tileset.readyPromise.then(function () {
var boundingSphere = tileset.boundingSphere;
viewer.camera.viewBoundingSphere(boundingSphere, new Cesium.HeadingPitchRange(0.0, -0.5, boundingSphere.radius));
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
}).otherwise(function (error) {
throw (error);
});
1