When passing RGBA colors (alpha < 1.0) or using the opacity parameter
in primitive actors (e.g., sphere, arrow), the actor renders incorrectly.
sphere_actor = sphere(
np.zeros((1, 3)),
colors=(1, 0, 1, 0.3),
radii=1.0,
)
Expected: semi-transparent sphere
Actual: sphere renders incorrectly, with visible depth artifacts and non-smooth transparency
This happens because transparency-related properties are not forwarded
to the mesh material inside actor_from_primitive.
Screenshot (before fix):
