[vtkusers] Different alpha values for scalars

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Mon Mar 29 05:46:05 EDT 2010


Oh wait, I can imagine now, but I think this is not what I want to have.

This is it:

    * Linear color range, no discrete colors!
    * But discrete alpha values for three to four specific scalar ranges!



Am 29.03.2010 11:30, schrieb Sebastian Gatzka:
> Well, I can't imagine the method names, either.
> And thruthfully I'm not really sure how this should work.
> I'm still very unsure about the lookuptable stuff ...
>
> Am 19.03.2010 14:01, schrieb Sebastien Jourdain:
>> In fact if you build your own lookuptable, and you put your own color 
>> in it, you are able to put color with alpha. I do not remember 
>> exactly the method names. But then the alpha transition might be 
>> smoother than the one you want.
>> For your example you can fill your lut with 4 color and set properly 
>> the lut scalar range to behave as closely as you are expecting.
>>
>> - blue+aplha=0.3
>> - green+aplha=0.7
>> - yellow+aplha=0.7
>> - red+alpha=1
>>
>> Hope this could help...
>>
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/f25d3ee1/attachment.htm>


More information about the vtkusers mailing list