Why polygon's background is black when the polygon is not clamp to ground?

hi all,

Why polygon’s background is black when the polygon is not clamp to ground?

  • when the polygon is not clamp to ground:

Vào 17:03:00 UTC+7 Thứ Bảy, ngày 26 tháng 10 năm 2019, Hieu Nguyen đã viết:

This may be a bug or a subtle API difference because the clamped and not clamped to ground polygons use different primitives under the hood.

Can you post a Sandcastle example (https://sandcastle.cesium.com/index.html?) of how you’re creating this polygon? You can click “share” in the top and paste the link you get here.

this is my example on Sandcastle. if you do not set height for polygon, black background will disappear

Vào 06:42:37 UTC+7 Thứ Hai, ngày 28 tháng 10 năm 2019, Omar Shehata đã viết:

Can you help me pls, Omar ?

Vào 09:29:17 UTC+7 Thứ Hai, ngày 28 tháng 10 năm 2019, Hieu Nguyen đã viết:

Thanks for reporting this. This is definitely a bug. I proposed a potential fix here: https://github.com/AnalyticalGraphicsInc/cesium/pull/8349