[Paraview] Displaying a flat polygon with multiple vertices

Burlen Loring bloring at lbl.gov
Wed Jul 13 17:01:55 EDT 2011


Hi David,

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.

Burlen

On 07/13/2011 01:40 PM, David Doria wrote:
> 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?
>
> Thanks,
>
> David
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110713/e52feb43/attachment.htm>


More information about the ParaView mailing list