My apache doesn’t read *.b3dm file from https://cesiumjs.org/NewYork .
Now I download all data-NewYork.zip from https://cesiumjs.org/NewYork . (json and all 3d tiles *.b3dm).
I can run all 3d tiles example which include also *.b3dm but I find it can’t read *.b3dm.
codes are below:
tileset = scene.primitives.add(new Cesium.Cesium3DTileset({
url : url,
debugShowStatistics : true
}));
return Cesium.when(tileset.readyPromise).then(function(tileset) {
var boundingSphere = tileset.boundingSphere;
viewer.camera.viewBoundingSphere(boundingSphere, new Cesium.HeadingPitchRange(0, -2.0, 0));
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
console.log(tileset); ----------------------------------------- alwayers are undefinec
Please notice these codes are userful for branch website examples.
1 I want to know whether *.b3dm of Network is other than example data and whether they are gzipped or encrypted??
2 How to configure it in apache server or PHP configuration file so that it can run?