Even after adding blank terrain files at the specific directories : 0/1/ and 0/0/, I still get the error message and a blank globe.
This is not an issue with CORS. I am using http-server (node) to share my directory with the .terrain files generated using Cesium Terrain Builder
My code:
var viewer = new Cesium.Viewer('cesiumContainer', { //Start in Columbus Viewer sceneMode : Cesium.SceneMode.COLUMBUS_VIEW, //Use standard Cesium terrain terrainProvider : new Cesium.CesiumTerrainProvider({ url : 'http://localhost:8081' }), //Hide the base layer picker baseLayerPicker : false });
Error statements:
An error occurred in "CesiumTerrainProvider": Failed to obtain terrain tile X: 1 Y: 0 Level: 0. An error occurred in "CesiumTerrainProvider": Failed to obtain terrain tile X: 0 Y: 0 Level: 0.