1. A concise explanation of the problem you're experiencing.
I want to change the color of a polygon entity. When I do this there is a flash where the object turns transparent or invisible, and you see the underlying globe imagery. I would like the color to change cleanly without the visual disruption.
From what I've read in this group Cesium may not be optimized for changing properties like this after an entity has already been created, and the preferred approach is to use callback properties (which does indeed work much better with my example scene). However, I'm concerned having callbacks on many entities will slow things down, and I would prefer to explicitly change entities directly.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
Toggle between red and blue in the drop down. On my system I see a few frames where the object turns transparent before it changes color.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I want to be able to cleanly change the color of 1 or many polygons at any time.
4. The Cesium version you're using, your operating system and browser.
Latest 1.54, Chrome and Firefox Windows 10. Tried both nvidia and intel gfx modes on my Dell XPS 9560 15".
Thanks!
-Tim
--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/5N1P_qPmbPo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.