[vtkusers] Using vtkLookupTable with discrete colors and vtkTexture Problem

David Gobbi david.gobbi at gmail.com
Sat May 14 14:46:35 EDT 2016


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/20db8da5/attachment.html>


More information about the vtkusers mailing list