-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect distance field of view calculation for negative elevation #1655
Comments
I did not analyzed in detail, but for documentation here is an example where the far-clipping plane is not correct: http://localhost:9966/test/debug-pages/terrain-satellite.html#10.23/43.0154/9.1969/-97 |
There's also this strange artifact around there, not sure it is related to this issue but might be a problem with the DEM: |
I think the spikes are a data-problem. And i think the far-clipping-plane error is because the dem-tiles have the bathymetry included (e.g. contains negative-coordinates, like the dea-sea). |
Assigning bounty M. |
|
I think I manages to think about a solution while looking at the code. |
Where is the reproduction found now? The link suggested http://localhost:9966/test/debug-pages/terrain-satellite.html#13.45/31.54164/35.33225/49.6/54 doesn't appear to be working anymore |
I've took the page from an old version of the repo, added it, fixed the bug and removed the page as I'm not sure we are allowed to use that data in the examples. |
If this is not urgent, then I can review the changes. Though right now there is not much time I can invest. |
I was looking for your input since you said you were looking in this code. |
I will also try to take a look at this soon. I just got back from a week of vacation. |
Removed bounty as this is mostly solved by the linked PR. |
This is in continue to the following PR which removed the elevation offset from terrain 3D: #1578
The situation can be see in the following diagram:
And can be reproduced in the local environment here when running
npm run start-debug
http://localhost:9966/test/debug-pages/terrain-satellite.html#13.45/31.54164/35.33225/49.6/54
More info in the following comment:
#1578 (comment)
The text was updated successfully, but these errors were encountered: