I am trying to create images like this one using Mayavi's points3d
:
I usually use mode="sphere"
, disable the lighting and adjust the size like that:
points3d(x, y, z, z,
mode='sphere',
scale_mode='none',
scale_factor=0.1)
sp.actor.property.lighting = False
But for 200K points this takes several seconds to render and some more seconds to write it to disk, which is too slow if you want to do it for hundreds of images.
If I use mode="point"
the image is created within a single second but the points are too small:
I could not find a way to enlarge the points using e.g. the approach desribed here.
Does someone have an idea if this is possible and how to do it? Or another way to speed up the process using spheres?