function onload(Cesium) {
//Sandcastle_Begin
var obj=[6378137.0, 6378137.0, 6356752.3142451793];
Cesium.Ellipsoid.WGS84 = Cesium.freezeObject(new Cesium.Ellipsoid(obj[0],obj[1],obj[2]));
var viewer = new Cesium.Viewer('cesiumContainer'); var tileset = viewer.scene.primitives.add
(new Cesium.Cesium3DTileset
(
{
url : '
http://www.supermapol.com/realspace/services/3D-NewPipe3D/rest/realspace/scenes/NewPipe3D/layersNetWork@Pipe3D'
}
)
);
tileset.readyPromise.then(function(tileset) {
// Set the camera to view the newly added tileset
viewer.camera.viewBoundingSphere(tileset.boundingSphere, new Cesium.HeadingPitchRange(0, -0.5, 0));
});
}
代码如此 但是模型加载不出来啊 求助