-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix for clipping and camera navigation issues below ellipsoid #9200
Conversation
Thanks for the pull request @chris-cooper!
Reviewers, don't forget to make sure that:
|
Thanks for opening a PR Chris! There was some discussion here about pushing the depth plane down or other techniques that may be relevant here: #7879 |
Thanks @OmarShehata . After looking at https://github.com/CesiumGS/cesium/pull/8398/files it looks like the default for |
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with |
1 similar comment
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with |
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with |
What would you like to do with this PR @OmarShehata ? |
Is this PR waiting on anything, this PR would possibly fix an issue we are having. |
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with |
@OmarShehata @chris-cooper Hey folks, is this PR going to be in the next release? This appears to relate to a issue our customers face in locations such as Florida Keys. I've looked at the travis-ci and it looks like the tests are failing is that what is currently blocking the merge? |
We are looking into this PR and other possible ways to resolve the issue. The current estimate date is the May release. @grantis |
We got another bump for this issue (and request for an updated ETA) from the forum: https://community.cesium.com/t/new-cesiumjs-release/11110/15 |
Any news on this? Thanks |
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with |
1 similar comment
Thanks again for your contribution @chris-cooper! No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy? I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with |
Hi @chris-cooper and all, we just talked through this PR with @lilleyse. This is definitely a problem we've run into ourselves. While this does technically address the issue, it's a bit of a band-aid fix. We agree that Also generally for bathymetry we disable the depth plan entirely. |
Slight correction - we disable the depth plan when the camera is underground or the globe is translucent, but not necessarily for bathymetry. |
Thanks for the update @chris-cooper! This approach looks better. Would you be able to add documentation and unit tests, and update |
I've added some of those things @ggetz . For now it is just testing the option gets passed through. I might need some help from someone with knowledge of that area of the rendering code if we want to test it more rigorously. |
Thanks @chris-cooper! I suppose to test this more rigorously, we could add a new test that confirms the depth plane draw command has |
A test like that could be added |
Awesome! Thanks for your patience with this PR @chris-cooper ! |
Without the logarithmic depth buffer this issue still reproduces. Here is a sandcastle where you can see the error by tilting the camera up. |
After re-looking at #9198 it seems to be related to
DepthPlane
usage inScene
. It seems theDepthPlane
is used for the following purpose:https://github.com/CesiumGS/cesium/blob/master/Source/Scene/Scene.js#L3243-L3245
I tried a quick workaround to offset down by an arbitrary amount. It seems to address the reported issue.
Assuming this is a valid fix, how should it be implemented?
You should find the issues are improved or resolved running a local Cesium from this branch and the same sandcastle code from a local server:
local sandcastle link