-
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 disappearing terrain #3365
Fix disappearing terrain #3365
Conversation
This still happens on my machine. Stop by and I'll show you. |
…to be added to the render list.
I can confirm that this fixes both issues. Does anyone else want to review this? |
@bagnell is this the final implementation |
Did you get to the root of the issue as we discussed offline? |
@@ -540,41 +540,54 @@ define([ | |||
*/ | |||
GlobeSurfaceTileProvider.prototype.computeDistanceToTile = function(tile, frameState) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lilleyse we want this fix in the 3d-tiles branch TileBoundingBox
class, otherwise we will reintroduce this bug when merging TileBoundingBox
to master. You might want to cherry pick these commits and make the change right away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I'll do that.
Looks good! |
Fix issue of disappearing terrain when fog is active (#3335). Changes
GlobeSurfaceTileProvider.computeDistanceToTile
to return0.0
when the camera is inside the tile bounding region.