I am a Cesium newbie running on Windows 7 using the latest version of Chrome. I can run
the Cesium examples without problems.
What I want to do is to display a custom image draped on a custom terrian which is built
from a DEM. In my case, the area of interest is typically on the order of a few km**2.
I loaded the Docker image for Cesium Terrain Builder and ran the ctb-tile utility on my DEM
image (which was a geotiff in a projected coordinate system). This produced a set of tiled
terrain files. I then added a layer.json file and a .htaccess file in the root directory
which holds all the tile subdirectories (there were 22 levels). I also went into level 0
and added a 0.terrain file such that I have 0/0/0.terrain and 0/1/0.terrain. Finally, I
used IIS to create a virtual directory so that the terrain can be accessed, and browsed,
via http. It looks like this:
C:\Terrains\deepstep\0\0\0.terrain
Rather than using my custom image I chose to simply use the default image because I wanted to
focus on getting the terrain to work first. I tried to use the Sandcastle as well as a copy
of the viewer which I exposed out via IIS.
The terrain provider I used was:
var terrainProvider = new CesiumTerrainProvider({
});
I can zoom on the globe to the location where the terrain is but the displayed image is very
flat so something is not working. When I load my custom image and the DEM in ESRI ArcScene,
it displays 3d very well and I am looking to achieve the same via the web. BTW, I did not
see any errors in the console.
I appreciate any help or guidance.