Terrain precision #2194
Unanswered
radoslavirha
asked this question in
Q&A
Replies: 1 comment 3 replies
-
At a high level, Martini creates only right triangles, so the mesh will be bigger.
The |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I implemented terrains in my app and everything was fine, until I added point cloud to map. Half of the model is on terrain, another half is floating (point cloud is precise and person who measured it confirmed it's ok). I'm using some government elevation data (highest precision I can get ... but I must convert it => #2193)
I compared my terrain with the same terrain in Esri viewer and it's different sometimes. Again globally it seems to be fine, we found anomaly in specific location (maybe more as we will add more models). I tried to improve my
lerc
decoding and creatingpng
inspired byterrarium
,mapbox
,amazon
formulas and it's always the same, so I think I'm not deforming data while converting.It looks different when using
delatin
andmartini
tesselator, changingmeshMaxError
in both directions does not help.I can't identify where the issue is, but I want to ask if it can be deformed by
tesselator
somehow? Or it works only for some max precision?Esri viewer:
Martini in deck.gl:
Delatin in deck.gl:
Same texture as elevation raster:
As you can see
martini
creates smooth terrain, but the slope on the left side is missing,delatin
creates slope correctly but terrain si very deformed. I covered elevation model with the same texture and there is slope on the left side visible (blue and green color).So what do you think? From my point of view data seems to be correct but I think something is wrong with tesselators? Yes and elevation model should be something around 20cm. Thanks
Beta Was this translation helpful? Give feedback.
All reactions