Skip to content
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

Ellipse on ground has hole in it when camera is perfectly perpendicular to ground #9114

Closed
OmarShehata opened this issue Aug 26, 2020 · 5 comments · Fixed by #9139
Closed

Comments

@OmarShehata
Copy link
Contributor

Sandcastle. This flies to an entity by sampling the ground position there and flying to that lat/lon/height.

It produces a hole in the middle of this ellipse which goes away if the camera is tilted:

mask

@OmarShehata
Copy link
Contributor Author

This appears to happen with polygons too. Instead of an inner circle it'll be a smaller polygon of the same shape.

@hpinkos
Copy link
Contributor

hpinkos commented Aug 26, 2020

I imagine this would happen with all GroundPrimitives

@lilleyse
Copy link
Contributor

Once #9108 is merged it will be possible to work around this bug by setting viewer.scene.logarithmicDepthBuffer = false;

@OmarShehata
Copy link
Contributor Author

This seems to only happen in CesiumJS 1.71. Could not reproduce in 1.70 and 1.69.

@lilleyse
Copy link
Contributor

lilleyse commented Sep 3, 2020

git bisect points to c72dfbb from #8850. First guess is that some geometry is getting cut off by the near or far plane. CC @IanLilleyT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants