From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 08/02/2000 13:59:19
This isn't really a performer problem, but the way in which OpenGL
behaves. OpenGL can only draw convex polygons, and since Performer uses
OpenGL, it inherits the same limitation.
What you need to do is tesselate the concave polygon into triangles
yourself, or split it into several convex polygons. There are many ways of
doing this, so I won't go into it here. Take a look at the developer
section on www.opengl.org, you'll find help there. This is also covered in
many graphics books, such as "Computer Graphics: Principles and
Practice" by Foley, van Dam, Feiner and Hughes.
-- Marcin
On Tue, 1 Aug 2000, Christopher Lindinger wrote:
> I have a set of concave Polygons and want to draw them (build pfGeoSet) The problem is that Performer does not draw them correct. Is there any workaround or a simple way to transform these polygons in convex ones?
>
> Thanks
> Christopher Lindinger
>
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 13:59:23 PDT