I am trying to generate 3d terrain using
CesiumTerrainProvider.
Is it mandatory to use Cesium Terrain Server to serve the .terrain files or will any other server with proper format of the directory do?
I am trying to generate 3d terrain using
CesiumTerrainProvider.
Is it mandatory to use Cesium Terrain Server to serve the .terrain files or will any other server with proper format of the directory do?
Any static file server should work as far as I know. We’ve just got a little Python service using Bottle to serve up static files.
Static files are fine, but you still need to be able to make sure the data is able to be returned in the supported formats: https://github.com/AnalyticalGraphicsInc/cesium/wiki/Cesium-Terrain-Server
Do you mean configuring the MIME type of .Terrain files to application/octet-stream ?
If so I tried that using http-server, it doesn’t work.
https://www.npmjs.com/package/http-server
Can anyone who is serving files without Cesium Terrain Server upload
Irrespective of what I do ( I have already added blank terrain files to the proper directory) I always get the error :
Failed to obtain terrain tile X: 0 Y: 0 Level: 0
Failed to obtain terrain tile X: 1 Y: 0 Level: 0