[Paraview] PolyData bug??

Moreland, Kenneth kmorel at sandia.gov
Tue Apr 1 10:06:20 EDT 2008


I don't think this is a bug.  OpenGL (and every other rendering system that I am aware of) assumes that its polygons are convex.  You will have to tessellate your polygons into convex pieces in order for them to be rendered correctly.

-Ken

> -----Original Message-----
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of Alejandro Aragon
> Sent: Monday, March 31, 2008 10:31 PM
> To: paraview at paraview.org
> Subject: [Paraview] PolyData bug??
>
> Hello everyone,
>
> I was playing to see if I could write a complicated shape with
> PolyData, and I found out that the visualization is really bad. The
> surface and surface with edges visualizations don't look quite right.
> I attached a wireframe and the surface with edges plots so you can
> take a look. Some time back I got the same problem when I tried to
> draw a polygon using OpenGL. I was able to solve the problem by using
> tesselation, so I believe the same is happening here. I also attached
> the vtp file. I'm on Mac OS, but I don't think that would make any
> difference.
>
> Cheers,
>
> Alejandro Aragón




More information about the ParaView mailing list