I'm using th following way to produce solid spheres for random microstructures. I'm trying to find a way to produce solid ellipsoids with the same way. Does anyone have any idea?
I have already a code for ellipsoids producing the centers and the 3 radius (rλ1,rλ2,rλ3) in each direction, but if I plot Ellipsoid ... then I will take hollow spheres. That's the reason I am trying using this way.
Centers ,X, have produced by an algorithm and they have an array structure.
centers = X;
unitball[c_, x_] := EuclideanDistance[c, x] <= r;
regs = Show[
RegionPlot3D[
unitball[#, {x, y, z}], {x, 0, 1}, {y, 0, 1}, {z, 0, 1},
Mesh -> False, Boxed -> False, Axes -> False,
PlotPoints -> 100] & /@ centers]