<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi David,<br>
    <br>
    I think that the issue is that the polygon you constructed is not
    convex. Figure 19-20 in VTK users guide is misleading because the
    example of VTK_POLYGON shows a non-convex polygon which as you found
    out doesn't work.<br>
    <br>
    Burlen<br>
    <br>
    On 07/13/2011 01:40 PM, David Doria wrote:
    <blockquote
cite="mid:CABDpjTko3FMh5ayNC0kXPCQq7aj8ZoZYCkCydwVGCwMSKHgfUg@mail.gmail.com"
      type="cite">I have created a polygon with many vertices using
      vtkPolygon, then put it in a vtkPolyData, and then saved it as a
      vtp file (attached). When I open it in Paraview, it looks very
      "broken" (seems like backfaces are showing, things are overlapping
      that shouldn't be, etc). If I run the TriangleFilter on it, it
      looks fine. Is there something wrong with how I created the data?
      Or is Paraview just not able to handle displaying something like
      this?
      <div>
        <br clear="all">
        Thanks,<br>
        <br>
        David<br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>