program Can't read *.b3dm file

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?

It seems that NewYork uses K-d tree 3d tiles algorthm.?
Can It be designed as R tree?

在 2016年7月18日星期一 UTC+8下午12:27:11,liyihon…@163.com写道:

Hi,

This issue may be of interest: https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/91

Yes, you can use an R tree instead of a k-d tree. The tree just needs to preserve spatial coherence. For more details, see https://github.com/AnalyticalGraphicsInc/3d-tiles#bounding-volume-spatial-coherence

Patrick