This is currently an oddity from a trade off for transparency rendering…
You need to put transparency at least to 0.4 to actually take effect
using Makie
using Colors
using GeometryTypes
n = 33
u = range(0,stop=2*π,length=n);
v = range(0,stop=π,length=n);
x = zeros(n,n); y = zeros(n,n); z = zeros(n,n)
for i in 1:n
for j in 1:n
x[i,j] = cos.(u[i]) * sin(v[j]);
y[i,j] = sin.(u[i]) * sin(v[j]);
z[i,j] = cos(v[j]);
end
end
scene = surface(
x,y,z,
show_axis = false,
color = fill(RGBA(1.,1.,1.,0.4), n, n),
limits = HyperRectangle(Vec3f0(-1.01), Vec3f0(1.01))
)
wireframe!(
scene, x, y, z,
show_axis = false,
linewidth = 1.2, color = RGBA(0.0,0.0,0.2,0.4))
scatter!(
scene,
Point3f0[
(1.,0.,0.), 1/sqrt(2) .* (1.,1.,0), 1/sqrt(3) .* (1.,1.,1.), (-1.,0.,0.), (0.,0.,1.)
],
color = :blue, markersize = 0.05, show_axis = false
)