cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Material difference in 2D scene

Open yujiezhang125 opened this issue 3 years ago • 3 comments

I'm facing a problem about polygon material and appearance in 2D mode. One thing is that if I do not set the hight attribute, the material (color) of the polygon might look strange. The other thing is that if I set the hight attribute as zero, the material shows correctly, but the polygon seems to have an appearance issue when I zoom in, zoom out or drag the map.

Here is the discussion we had in the forum: https://community.cesium.com/t/material-difference-in-2d-scene/15070 https://community.cesium.com/t/material-difference-in-2d-scene/15070/14

The sandcastle demo in my latest response is as below Sandcastle example: https://sandcastle.cesium.com/index.html#c=bVJNj5swEP0rIy4BCRlW7aHNQvqRVuoh6h5StVqVHrx4AKvGjuyBFV3lv6/5SLpNYyRm/Jj3GL9xzy30Eh/RQg4aH2GLTnYt+z5hYRGU035rNHGp0RZBdFto/1BBM4+hJkkSHeNChE+FhvPSvMU1rL6aLyjrhlbxzAM4GDXURq/haUYKaiRabstmWJ862HJLPuP6FausaT9hbRHdB2v5EP480QBu0jSGlKXxBfT2X+j1m6vQS+Kv6Jy2nNBKrv42Y5Sx7P7zbnf343yK45IdZ0v2XIuSO1I4OvHN1LXCjx2R0d7GPRI0kwtFEEPFlUMfOl2SNBrCssHyN4oIJv8uje256nyopPJthSdWKAnbaDFcVhDCCLDRdMjzfHWPbvEdFt15TVXLBNjck5/90gG8gxTW0GmBlZ+3uJ15xzFM5/SvIA4yR4PCzUn0vWwPxhJ0VoWMJf4HB+UtdMlD50WJlc5Fi1KWvKRmQvYgRX7lnkGpuHP+S9UptZd/sAg2WeLr/6Mqw4XU9V2PVvFhLGtuNrsZZIxlid9eZ5Ix6oHbC+Vn

Browser: Chrome

yujiezhang125 avatar Oct 05 '21 18:10 yujiezhang125

@ebogo1 can you please take a look at this when you get the chance. :pray: :grinning:

srothst1 avatar Oct 11 '21 23:10 srothst1

Hello, any news?

sk1nator avatar Mar 21 '24 13:03 sk1nator

Hi @sk1nator, there hasn't been any activity on this item recently.

If you'd like to add more information about your use case, that may help us prioritize. If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR. Thanks!

ggetz avatar Mar 21 '24 13:03 ggetz