[Paraview] Displaying a flat polygon with multiple vertices

2011-07-13 Thread David Doria
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

Re: [Paraview] Displaying a flat polygon with multiple vertices

2011-07-13 Thread Burlen Loring
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

Re: [Paraview] Displaying a flat polygon with multiple vertices

2011-07-13 Thread Moreland, Kenneth
@paraview.org Subject: Re: [Paraview] Displaying a flat polygon with multiple vertices 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