I’ve met a problem when trying to change the volume opacity, see these pics:
When a volume is placed in a same renderer with a polyData actor and is applied an RGBTransferFunction and a PiecewiseFunction.
If I change the opacity of the actor by calling actor.getProperty().setOpacity(number), part of the overlapping part of the volume becomes invisible, seems like that part did not join the opacity test, looks similar to the situation that the blend is disabled and depth test is enabled.
Is there anyway I can do to change this behavior? The expected result should be that the part of the volume is visible.