[vtkusers] Create a color map using polyData in VTK

David Doria daviddoria at gmail.com
Fri Feb 3 12:33:29 EST 2012


n Fri, Feb 3, 2012 at 12:30 PM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> Thanks David and Bill. Even I change the color of the actor to none, I got
> only one color I set in the lookup table. I can't test my application right
> now. Can you please tell me why we need triangulation in the given example?
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Color_a_mesh_by_height
>
>  I am just a beginner in this, so please bear with me.
>

You do not need the triangulation. That example is demonstrating both how
to create a surface from a set of points as well as how to apply the color
mapping.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120203/3b5a9bf9/attachment.htm>


More information about the vtkusers mailing list