tum-gis / cesium-terrain-builder-docker

Dockerfile for the geo-data/cesium-terrain-builder app with quantized mesh support.
Apache License 2.0
204 stars 51 forks source link

How to view the results in Cesium? #14

Closed ruanqizhen closed 2 years ago

ruanqizhen commented 2 years ago

I successfully created a bunch of .terrain files. But I still don't know how to view them in Cesium. Could anyone share me some documents or examples of using the results generated by the tool?

BWibo commented 2 years ago

This is done using the CesiumTerrainProvider. You need to host the created tiles on a specially configured webserver (gzip encoding support, see this example) or use CesiumTerrainServer. Closing, as this is not directly related to the Docker images provided here.

ruanqizhen commented 2 years ago

Thank you so much!