Skip to content

'Ghost' outline appearing beside polygon #12540

@javier-lopez-1s

Description

@javier-lopez-1s

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions