Comments (5)
Hey there,
thank you, I am happy to hear the image was helpful for you!
Can you please post the commands you used for creating the terrain tileset?
Check out this repo. The tool provided there has some options for debugging terrains, including visualizing normals.
Closing, as I cannot provide support for Cesium. I am just maintaining this Docker image here. Please re-post this issue where it belongs.
from cesium-terrain-builder-docker.
Thanks for the quick reply. I used the commands as specified in the readme, with the world.tif file in the world.zip file attached (as an example, since I can't share my company's private GeoTIFFs):
ctb-tile -f Mesh -C -N -o terrain world.tif
ctb-tile -f Mesh -C -N -l -o terrain world.tif
The terrain files seem to work fine in Cesium, but do not show up at all in quantized-mesh-viewer (the repo you linked). I can't post an issue on the fork that your docker image is based on, and the original repo that was forked doesn't generate quantized mesh files, so it'd be no use asking them. I've tried with many different GeoTIFF files from many different sources, but none of them produce (with the above commands) terrain files which can be inspected with the quantized-mesh-viewer.
Since both the quantized-mesh-viewer and Cesium are having problems with the output of this docker image, and the fork it's based on does not accept issues, I'm not sure where else I can post this issue or ask these questions, as this seems like it could be a problem with this docker image and the code it contains.
If you have seen output from this docker image show up in the quantized-mesh-viewer repo's app, could you please provide the source file and the commands you used to create the terrain output? Thanks!
from cesium-terrain-builder-docker.
Here are some of the example .terrain files that gets output for the world.tif file attached above, and do not show up in the quantized mesh viewer:
6.zip
from cesium-terrain-builder-docker.
Your example input data does not contain elevation values. I am seeing grayscale values from 0 to 255 on band 0. Check if your input data matches the input data description provided here.
Probably, this pull request is where this issue belongs: geo-data/cesium-terrain-builder#64
from cesium-terrain-builder-docker.
You're right, the world.tif file I gave above is not a proper DEM geotiff - I was in a hurry to find a DEM geotiff that didn't belong to my company to use as an example, and I must have found the wrong type of file in my rush.
Looking at that PR discussion, it looks like the normals should work fine, so I'm probably doing something wrong on my end in Cesium. Sorry to have bothered you.
from cesium-terrain-builder-docker.
Related Issues (20)
- Unable to run on docker - windows HOT 1
- How to resume tiling terrain after stopping HOT 2
- std::bad_alloc when trying to generate CTB with layer.json file HOT 1
- GDALOpenEx not found in Windows HOT 1
- How to view the results in Cesium? HOT 2
- quantized-mesh tiles are no “metadata” extension HOT 1
- Starts numbering at 10 instead of 0 HOT 1
- arm64 based Docker image HOT 2
- Gdal version? HOT 4
- Migrate Travis to Github actions build HOT 1
- Segmentation violation when using --profile mercator on tumgis/ctb-quantized-mesh HOT 1
- can we automate handling large datasets? HOT 4
- why cesium can not display globe? HOT 1
- Terrain pyramid getting created outside of dataset bounds HOT 1
- Not able to build terrain HOT 32
- value of bounds filed in layer.json seems to be not the file's real bounds HOT 1
- when Create layer description file, ctb-tile core dump HOT 3
- Failed to obtain terrain tile X: 1 Y: 0 Level: 0. HOT 3
- Tile coordinates are not consistent with Google or TMS standard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cesium-terrain-builder-docker.