[vtkusers] Using vtkLookupTable with discrete colors and vtkTexture Problem

Donny Zimmerman zmanvortex at gmail.com
Sat May 14 15:28:12 EDT 2016


Thanks David. That fixed it. I was using this same lookup table to map scalars on vtkPolyData and it worked without setting the range so I didn't think it was a problem with the table settings.

Thanks!


Sent from my iPhone

> On May 14, 2016, at 1:46 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> 
>> On Sat, May 14, 2016 at 12:25 PM, Donny Zimmerman <zmanvortex at gmail.com> wrote:
>> 
>> I have searched the documentation for vtkTexture and can't figure out what I am doing wrong.
> 
> Did you remember to set the range of the lookup table?
> For a discrete mapping,
> 
> lookuptable->SetRange(0, cols->Count - 1);
>  
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160514/5338ff26/attachment.html>


More information about the vtkusers mailing list