[vtkusers] Artifacts when displaying non convex polygons

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Fri Jul 13 13:26:53 EDT 2001


Yes, and No. I mean polygons can be non convex and all the geometric 
operations will work fine, but rendering them is not supported (and hasn't 
ever worked as far as I've found).

JB

At 09:30 13/07/2001, Jose Paulo Moitinho de Almeida wrote:
>On Thursday 12 July 2001 23:23, John Biddiscombe wrote:
> > No no. There has never been concave polygon support AFAIK. You need to use
> > a vtktrianglefilter if in doubt. (For rendering, polygons can be as
> > degenerate or faulty in any way when simply defining them)
> >
> > JB
> >
>
>If this is correct is it just by chance that I get a correct intersection
>with a plane?
>
>It may be, but the code in vtkPolygon.c worries a lot about handling
>non-convex polygons.
>
>Isn't it just the GL renderer as traced by Randy Heiland?
>
>But if it isn't and there is no concave polygon support I would suggest a
>clarification of the comment/manual.
>
>Regards





More information about the vtkusers mailing list