Hello, I’m rendering CZML ellipsoids and found that when I use a partial ellipsoid, it only renders the surface shell of the ellipsoid and appears hollow:
Is it possible to fill out the ellipsoid, like the ellipsoid viewer entities? I tried playing around with the fill
property to no avail. Example of what I’m looking for:
Here’s my CZML: sandcastle link
const czml = [
{
id: "document",
name: "CZML Geometries: Spheres and Ellipsoids",
version: "1.0",
},
{
id: "blueEllipsoid",
name: "blue ellipsoid",
position: {
cartographicDegrees: [-114.0, 40.0, 300000.0],
},
ellipsoid: {
radii: {
cartesian: [200000.0, 200000.0, 300000.0],
},
fill: true,
material: {
solidColor: {
color: {
rgba: [0, 0, 255, 255],
},
},
},
},
},
{
id: "quarterSphere",
name: "Quarter Sphere",
position: {
cartographicDegrees: [
31.2357,
30.0444,
23
]
},
ellipsoid: {
innerradii: {
cartesian: [0, 0, 0]
},
radii: {
cartesian: [1500000, 1500000, 1500000]
},
minimumCone: 0,
maximumCone: 1.57079632675,
minimumClock: 0,
maximumClock: 3.1415926535,
fill: true,
material: {
solidColor: {
color: {
rgba: [255, 0, 0, 128],
},
},
},
outline: true,
outlineColor: {
rgbaf: [0, 0, 0, 1],
},
},
},
];
const viewer = new Cesium.Viewer("cesiumContainer");
const dataSourcePromise = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSourcePromise);
viewer.zoomTo(dataSourcePromise);