How to use outline with Cesium.HeightReference.CLAMP_TO_GROUND on?

Hi, I’m working on some drawing stuffs.

Basically, I was trying to apply an outline style to a clamped ellipse entity, and ended up with the following warning:

“Entity geometry outlines are unsupported on terrain. Outlines will be disabled. To enable outlines, disable geometry terrain clamping by explicitly setting height to 0.”

Is there any way to use both effects in this situation? For polygons, I might try combining polygons with polylines, but what about ellipses?

Thanks for your help and suggestions!

Hi @Gabriel_Fergus ,

Thanks for your post and welcome the Cesium community.

From your description of what you are trying to achieve, it sounds like a partial ellipsoid could possibly help you Sandcastle | CesiumJS Perhaps you could comebine a solid ellipsoid and partial ellipsoid to create the outline style effect.

I have not done this technique before so I would be curious to hear how it goes if you are willing to share. Please let us know if you have further questions and we are happy to try and help.

Thanks,
Luke