[vtkusers] Different alpha values for scalars

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Wed Mar 10 07:20:06 EST 2010



Hello world.

Do you know if it's possible to assign different alpha values to a 
scalar field representation (for example on a cutting plane)?

I want to have scalar to be more transparent if they are below some 
defined threshold.
For example something like this

    * scalar < 0.1 : alpha = 0.3
    * 0.1 < scalar < 0.5 : alpha = 0.7
    * scalar > 0.5 : alpha = 1.0

Do you know how I can manage this?

Sebastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100310/b07c3ced/attachment.htm>


More information about the vtkusers mailing list