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

Globe flickering when creating labels #12425

Open
AndresPozo opened this issue Jan 10, 2025 · 0 comments
Open

Globe flickering when creating labels #12425

AndresPozo opened this issue Jan 10, 2025 · 0 comments

Comments

@AndresPozo
Copy link

In Cesium v1.125, when creating labels, the globe briefly disappears and reappears, causing a black flickering.
I have created a very simple test in Sandcastle that demonstrates this effect:
https://sandcastle.cesium.com/#c=dVFBTsMwEPzKKpcmUuWkghNNKyAcK3FoxSkX19kUC8eO7E1KQfwdJ05RBeWy9o5nZsdaYbQj6CUe0cIKNB6hQCe7hr2MWFxGYuwLo4lLjbaMkmWpS62QQPE9KjfoOqVGdMt1JbgjhYxX1c4Ytef2sSMy2lvt0FEZzaHutCBpNMQJfJYaQNYQB7MJgCkTcwI1stbKRpLs0TGLjenxzF4O5K+h/GT5T+jzxBf/2wz8wiiFY5Q4CV7BZiRPQVrj5Bj27iwtuCV/4/qG1dY0T3iwiC7O5nCbMV8XWebPZB70hO/ktbOH4D0bEw/DfInmUe7opHAduAD3smmNJeisihlLCZtWcT8t3XfiDYkJN30aIE8vpXkle5DV6srCQCjunH+p/Zq28gPLaJ2nnv9HqgyvpD4892gVPw2018V6E0DGWJ769rqSwqp/OX8D
Pressing the Test button destroys and creates a label. The label does not flicker, but the globe does.
This did not happen in Cesium v1.108.

I am testing on the latest version of Chrome on different Windows machines with different graphics cards and it fails on all of them.
It also fails when using the entity API.

In this second example, you can see that the problem occurs when the first label is added to a LabelCollection:
https://sandcastle.cesium.com/#c=jVLLTsMwEPyVJeKQQHEawYmmFVCOSEiAOOWAm2xbC8eO7E14VP137DjljcQhiXc9MzsZu9TKEnQCn9DAFBQ+wRytaGt23/fiIir7eq4VcaHQFFEyKVShJBJIvkBpPa+Vsu/eclWV3JJExqvqTmu54OaiJdLKSZ1XVeAU0QiWrSpJaAVxAptCAYglxHtBMvE1fOgHg8yWqJA1RtSCRIfWz4g/eb7y+LmWEnvlOPFWAfwTpHrCJog32op+/umOPueG3IqrY7Y0ur7ElUG08dHAlahWtIYDyMYjOBkz987GY/dNRkGR8Jmc2kNvY3/zhXaYbR88austbZN/hHWDFunPoIachn/5Kx+Dte5wB558S3U4NWeqtxSNotzSi8RZwAGcibrRhqA1MmYsJawbyV1E6aItH5FYad9F8/QzNa9EB6Ka/nJ7oJTcWrezdNNvxSsW0SxPHf4HVWpeCbW67tBI/uJh62x2FZqMsTx15e9MClF+U34D
Press the "Add Label" button to add labels and the "Reset" button to clear the label collection.
It only flickers when adding the first label.

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