1、在iServer中发布3DTiles服务
http://localhost:8090/iserver/services/3D-ThreeDTilesCache-tileset/rest
2、在前端代码加载:
var tileset = new Cesium.Cesium3DTileset({
url: “http://localhost:8090/iserver/services/3D-ThreeDTilesCache-tileset/rest/realspace/datas/tileset/config”,
});
var model = models.add(tileset);
viewer.flyTo(tileset);
3、结果可以缩放到瓦片范围,但是却请求不到瓦片b3dm,前端报错如下: