A little bit update... I just tried out vtkTriangleFilter. It almost worked except warning messages:<br><br><span style="font-weight: bold;">Warning: In \VTK-503\vtk-5.0.3\Filtering\vtkPolygon.cxx, line 613<br>vtkPolygon (01929088): Degenerate polygon encountered during triangulation
<br><br></span>I used vtkCleanPolyData before the filter, but I still got the message. I&#39;m not sure how to deal with the bad triangles yet... The map I got is attached. It looks better except the holes within the polygons.
<br><br>Could someone share some experience?<br><br>Thanks!<br>Janny<br><br><br><div><span class="gmail_quote">On 9/30/07, <b class="gmail_sendername">Janny Dong</b> &lt;<a href="mailto:janny.dong@gmail.com">janny.dong@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I have the latitude and longitude data for the lake areas
and I put them in to a vtk file. There are three polygons. I set
scalars and a lookup table in the data file to color them with one
color-blue, for example. My test results are in the attached pictures.&nbsp;
If I draw lines, the map looks perfect. However, if they are displayed
as polygons, I want polygons. Then the map doesn&#39;t look right, neither
does the color. Why do I get black areas? How can I draw the polygons
properly? <br><br>Any thought will be appreciated.<br><br>Best,<br><span class="sg"><span>Janny</span>
</span><br clear="all"></blockquote></div><br>