Closed pcace closed 1 month ago
Maplibre sometimes uses a lower resolution DEM tiles (lower zoom), but otherwise, I would check the network to see what you get, I would also check the render test here if you want to see how this specific tile might look. I can't think of other stuff that can cause this...
Hi there, i have found the issue. it had nothing to do with maplibre. i was using an offscreen canvas to scale the png and then process its demdata. Scaling the image did break it. Not scaling it makes a butter smooth mesh.
Hi,
i am trying to generate Terrain Mesh using the DEMData class by
it more or less works quite good, but there is one issue i dont know how to solve: the resulting mesh is not as smooth as i would expect it to be. there are crazy spikes in there:
(the mesh in the screenshot is simplified, but the spikes remain)
i imagin its the areas with hard color switches like this one:
this is the same source i use for the maplibre terrain - where it is butter smooth. so i guess i am missing some kind of value clamping or so? What am i missing here? Or what is the problem here?
Thanks a lot!!