Skip to content

'Ghost' outline appearing beside polygon #12540

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

Open
javier-lopez-1s opened this issue Mar 27, 2025 · 3 comments
Open

'Ghost' outline appearing beside polygon #12540

javier-lopez-1s opened this issue Mar 27, 2025 · 3 comments

Comments

@javier-lopez-1s
Copy link

What happened?

If you render a CZML polygon and you zoom in along its boundary, at a small enough camera distance you can see a faint line appearing beside the polygon. I believe the line has the same shape as the polygon but different size, because if I render a narrow triangle then I can see two faint lines converging to a point. Also, this faint line seems to be rendered at a different height than the polygon because when you pan the map the line doesn't move as much as the polygon, so you can make the line appear both outside and inside the polygon.
Reproducible in Chrome and Firefox, but not in Edge.

Image

Image

Reproduction steps

  1. Render a CZML polygon with no outline.
  2. Zoom in along the polygon boundary.

Sandcastle example

https://sandcastle.cesium.com/#c=bVTdb9sgEP9XUJ5SKSXGX9hpWk1Kpb102rROe1jdB4ppgoYhAtwqnfK/77Cd1GkqWQ78Pu4O7hxutPOIvzUKXaOHSiP0L7wQkvUCVZPa8LYR2leTWQ9r1ohArP58u0NfhWmEt1K4Bfph1G5t9FH4IqyTRgctwdEA72dnGayoP1oPOX6KGm17DsHjWvvMuDjKBmpxiBcQJz0kdSMMIc6sN2vLthvJb8XailDuwzuP0CUhGY5mKKHhDc8RiI9A1HFJ8g50XEJ64DTcwGUfucfjen9cNcwLK5k6qdkZJeuVUcaewHCYTzCE7PqJwZniLOuKgweWjydF7Ue7/VkZ/e++0o9Xla4076biRYpXYWEutHhFK+Fk2+DfHTatJrzbr4z2TGphq8nF1cFXM8/uTWu5+GFNI52AEIN9BYN2e6SxMqyehuEL5j4dfnc7zOp6ehbtoitxUHOYFcvws9r9MtPhVmrhvNQsTAJajItfwSTAiulkehnHJI4KipOUUEqzvKDQ1JSmSRFTnKdJQuM8LaGJeRKnJcVxHhUFKRKaXQx3ZmDw4fRDmlFHNoLVUq8BzHFcJKTIkogSWqb5qAdb6fkGJJcRLgtSEhJB0pLSIk5HKmuUOouTkXLoWqX34TYms8nS+Z0SNwfnF9lsjfWotWqK8dyLZqtgztz8qeV/hcfcuWAM0uV8bF3W8gW+zOtPGoy4Ys4B89wqdS/f4Eu8Wc5Bf2YNbYUL+A7/AYrtgmxDbu56EGO8nMP2c6c3Rj0xO4rcK/4D

Environment

Browser: Chrome 134, Firefox 136
CesiumJS Version: @cesium/engine 13.1.0, but also current version in Sandcastle.
Operating System: Windows 11

@javier-lopez-1s
Copy link
Author

Edge doesn't reproduce the problem with the sandcastle provided, but it does with a narrow triangle, where two faint lines can be seen.

Image

@ggetz
Copy link
Contributor

ggetz commented Apr 7, 2025

Thanks for the report @javier-lopez-1s! Would you mind visiting webglreport.com and taking a screenshot of your results?

We've seen some driver-related issues with ground primitives in the past and that info may help determine the source of the issue.

@ggetz ggetz added the needs feedback On hold until additional info is supplied label Apr 7, 2025
@javier-lopez-1s
Copy link
Author

Thanks for your answer, @ggetz! Please find the WebGL reports below.

Image

Image

@ggetz ggetz added category - polygons/geometry and removed needs feedback On hold until additional info is supplied needs triage labels Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants