I'm attempting to get a long string of points that circles the globe to show through to the other side of the globe. So I'm attempting to make the globe baseColor transparent. So far, I can change the color the baseColor just fine but it doesn't go transparent as it seems to suggest it would. How can I make the globe baseColor transparent to be able to see points through the globe.
var viewer = new Cesium.Viewer('cesiumContainer',{
imageryProvider: false,
baseLayerPicker: false
});
var scene = viewer.scene;
viewer.scene.globe.baseColor = Cesium.Color.TRANSPARENT;
//viewer.scene.globe.baseColor = Cesium.Color.fromAlpha(Cesium.Color.RED, 0.5);
var points = scene.primitives.add(new Cesium.PointPrimitiveCollection());
var numPoints = 10000;
var tempLat = 0;
var tempLon = 0;
var alt = 0;
for (var i = 0; i < numPoints; i++){
tempLat += .1;
tempLon += .1;
alt += 1000;
if (tempLat > 90){
tempLat = 0;
tempLon = 0;
alt = 0;
}
points.add({
position : Cesium.Cartesian3.fromDegrees(tempLon, tempLat, alt),
show : true,
color: Cesium.Color.YELLOW,
pixelSize: 10
});
}
Using Windows 10, using Chrome and Firefox and Cesium 1.39.