Build-in markers for 3D scatter

Hi, In a 3D plot I’m trying to combine a semi-transparent mesh (detector body) with a scatter plot of particle hits in its surface (might not lie exactly on the surface, sometimes above or below, depending on the trajectory simulation step). So far, I can only see the scatter points if they are not obscured by the mesh body. And, I have to use a really big marker size to see them.

I think I’m not using the correct marker for a 3D plot, maybe small spheres would be more compatible. Are there any build-in markers or does one have to create his own? And how to cope with the transparency?


body_color = RGBA(colorant"deepskyblue2", 0.5)
fig = mesh(nodes, faces, color = body_color)
scatter!(x,y,z, markersize = 500)

you need to use meshscatter.

Lazarus is right, moreover, one has to draw the mesh with transparency=true, after using this switch the opacity/visibility works as expected

body_color = RGBA(colorant"deepskyblue2", 0.5)
fig = mesh(nodes, faces, color = body_color, transparency=true)
meshscatter!(x,y,z, markersize = 0.1)

image