Hi Zbyněk,

Sorry for the delay in replying!

This is possible; it isn't super duper easy right now, though.  What you'll have to do is manually set up a transfer function using ColorTransferFunction.  This has the option to set multiple fields, and multiple alphas; you'll then tie field interpolation tables to different fields, along with alpha.

It's not ... super duper easy right now.  If you look at how the PlanckTransferFunction is set up, you can see how this is used to have temperature specify the color and density the emissivity and alpha.

I wish I had a better answer!

On Mon, Apr 3, 2017 at 9:24 AM, Zbyněk Dostál <zbynek.dostal@ceitec.cz> wrote:
Dear YT users,
I have question about 3D visualization. I have two 3D numpy float arrays with the same dimensions. It is possible to visualize so that the first array will be data and second array will be their transparency?

Thank you.
Best regards Zbynek Dostal.

Ing. Zbynek Dostal, Ph.D.
Experimental Biophotonics
CEITEC | Brno University of Technology
Brno, Czech Republic

yt-users mailing list