[vtkusers] Re: Build One Lookup Table For Two Different Scalar Groups

Janny Dong janny.dong at gmail.com
Tue Sep 25 07:37:46 EDT 2007


The effect I want to get is that some polygons' colors change according to
their scalar values, while others only have one color. How can I do that?

Janny

On 9/24/07, Janny Dong <janny.dong at gmail.com> wrote:
>
> Hello,
>
> I have some 2D polygons and corresponding scalars.One group of scalars is
> between 50 and 51, the other is 100. I'd like to build a color lookup table
> for those two groups of scalar data. For scalars between 50 and 51, I want
> the colors to be linearly interpolated between red and blue. I want 100 to
> be mapped as black. I don't want any interpolation between those two groups.
> I know how to build lookup tables separately for these two different cases.
> Is it possible to make such a lookup table?
>
> I have not got any answer to my past few questions. Please help me with
> this one.
>
> Thanks,
> Janny
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070925/ebe540a2/attachment.htm>


More information about the vtkusers mailing list