We are trying to develop pur own quantized mesh generator and visualize these terrain tiles on CesiumJS. As an input we use SRTM data that belongs to north parth of TURKEY. We generate contours on DEM, extract points from contours and triangulate points using Delanuay algorithm. Finally we tile data according to TMS specification and encode data to terrain files. When we attemp to visualize these terrain files on CesiumJS, we receive some errors. We tile data for zoom levels between 10 and 16 because our region is relatively small compared to world. But while we are zooing to our region cesium requires tiles that are not in our zoom range and after a while when we keep zoom in everything disappears. We couldn't figure it out why this happens. Here is some pictures describe situation before and after a zoom.
-
Does it help if you provide some simple tiles for the zoom levels outside the range of your project? For example using only the continent boundaries from naturalearthdata.com– cskJul 10, 2018 at 17:42
1 Answer
The open source project Tin-Terrain might be of help. It is a simple command line tool that we have just released. It will generate quad-tree tiled TIN quantised meshes that are directly compatible with CesiumJS.
-
Avoid overt self-promotion. The community tends to vote down overt self-promotion and flag it as spam. Post good, relevant answers, and if some (but not all) happen to be about your product or website, that’s okay. However, you must disclose your affiliation in your answers.. In practice this means any answer that recommends your own product must include something like "Disclosure: I am the [position] of [company] that develops/distributes this software".– PolyGeo ♦Sep 26, 2018 at 10:03