Enable opacity mapping for surfaces using a different array than for color mapping

Hi Paraview team and many thanks for this awesome software.
I use vtk files containing several arrays.
I really would love a feature that would allow to map the opacity of surface rendering using a different array than the one used for coloring the surface (with arrays contained in the same vtk file).
Thanks in advance,


Not supported by the surface mapper sadly.

@cory.quammen @utkarsh.ayachit @Kenneth_Moreland @mwestphal Thoughts? How hard would this be, and how useful would it be?
I’m on the fence. Seems like a useful feature, but I have never had a user ask for it…

We support this in the volume rendering. I don’t think it would be too hard to support for surface data.

I definitely agree.

Dear all,
Thanks for your answers. To illustrate a little bit, it can be used e.g. in geophysics. For instance, we retrieve the spatial distribution of physical parameters undeground. This imaging is achieved using inversion, which encompasses error/uncertainty. This error can be represented by opacity blending superimposed to the array of the geophysical parameter of interest.
Below is an example of an electical resistivity image (2D distribution of resistivity) with an opacity mapping using the error/uncertainty (the lower the opacity the higher the uncertainty, and vice-versa).

https://gitlab.kitware.com/paraview/paraview/-/issues/21015. Sandia picked this one up. Scheduled for 5.11.