Cesium partial Ellipsoid outline draws internal grid lines for sliced ellipsoids – how to draw only outer boundary?

This gives me the correct 3D sector shape, but when outline is enabled, Cesium draws internal wireframe/grid lines inside the ellipsoid slice. These internal lines become very visible as the angular span increases.

What I want:

  • A filled ellipsoid sector (works fine)
  • An outline ONLY on the outer boundary of the sector
  • No internal grid / meridian lines

You can see a sandcastle example:

https://sandcastle.cesium.com/#c=nZPLbtswEEV/hdBKAVRKsuFFXcWo4Sxa9JW4QYsC2jDS2BqE4ggkZTcJ8u8lpap+NgWqBUGO7j0zJIcFKWPZBmELml0yBVu2AINtzb91sTAPim69IGUFKtB5cPEmV7nqPRyURYtguCjL8ClXjClRw5TlwXco15AHkY81ZJyK1HSgL4S2bibUmK801Vew1gAmfJUmI55EbDzx4yhxH08uOgRpdLnEAeVWC2VWpGvDKxAlqvU12qJakpQ3rbCglVOH3s3+PzHbP5V3R2nC3/FPwlb8+j2LWconEXMM7/f2HgJSYmMIyyl76qHagXC6z96VFk6SvoKInc6GqlC521i+REkH6/FkQNSosHZ3K6m4/3Oo3VYsebI73XAnFj//KU5HZ+ik4K9wfoJ/Qf36QO6uF4XcdRRJ0vxqvvyw+DH/zLdoq7lsKuFyjAcTtVai51vdQhd7duPzQUM/EtW3FB61t5cEUZAZ+yBh1tMYe4t1Q9qyVsuQ89hC3UhXl4nv2uIeLC9MZ/TSLN63ZiVuGJaXZ14XK6Qwxv1ZtVJ+xUf3hGZZ7PQnVkldL37ZgJbiwcuqdPaxD3LOs9gtzzstkbwT+oj8Cw

You can achieve this by having 2 ellipsoids. One for the outline with slicePartitions and stackPartitions set to 3, and one without outlines. See this sandcastle.

1 Like

I like @anneg’s answer. Here’s another way that AI came up with: basically, drawing the ellipsoid without outlines, and drawing polylines on top of it.

Thank you so much for your answers. :star_struck: @anneg @mzschwartz5