From the terrain server Status code is 200 or 304
Using Cesium 1.41, cesium-terrain-server v0.6.0, tested on both Firefox Nightly and Chrome
Thanks
viewer.terrainProvider = new Cesium.CesiumTerrainProvider({
url : '../Terrain/.terrain/',
heightMapWidth: 64,
requestWaterMask : true,
requestVertexNormals : true
});
I do still have the some error "An error occurred in "T": Failed to obtain terrain tile X: 0 Y: 0 Level: 0. Cesium.js:8116" (reformatted Cesium.js to make easy to read)
I am using heightmap-1.0 format for terrain files. Created by Cesium Terrain Builder
can you use a full URL instead? i'd be skeptical about using '../'
I have also been looking at the network requests when I use a server (cesium terrain server: http://192.168.1.115:8200/Terrain/) and when I use the relative link (../Terrain/). For both of them when cesium requests the layer.json file and both return that file. When cesium requests the 0.terrain files the Request Method is GET and the Status Code is 200 OK so it is connecting. But cesium still errors at "T".
Here are the Response Headers for both links:
Relative Link Response Header:
HTTP/1.1 200 OK
X-Powered-By: Express
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Wed, 07 Feb 2018 18:15:58 GMT
ETag: W/"da8-161717b4026"
Content-Type: application/octet-stream
Content-Length: 3496
Date: Mon, 12 Feb 2018 16:30:35 GMT
Connection: keep-alive
Cesium Terrain Server Response Header:
HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Content-Length: 3496
Content-Type: application/x-gzip
Last-Modified: Wed, 07 Feb 2018 18:15:58 GMT
Date: Mon, 12 Feb 2018 16:16:48 GMT
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/KnCv_M9Rb5s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
have you had the same problem serving it directly from AWS S3?