OpenGL filled polygon color “bleeding”?

Depending on what you mean by "star shape", remember that GL_POLYGON can only render convex polygons correctly.

Depending on what you mean by "star shape", remember that GL_POLYGON can only render convex polygons correctly: GL_POLYGON: Draws a single, convex polygon. Vertices 1 through N define this polygon.

– Jeff Storey Apr 13 '11 at 21:26 3 The outline just draws the line segments in order, so it doesn't care what is "inside" or "outside" the polygon. The fill algorithm does need to know, and that determination is much easier if the polygon is convex, so most fill algorithms require it. You can always break up your concave polygon into multiple convex polygons if you need to.

– dfan Apr 13 '11 at 21:29 I see. So I would need to draw the fill outline with one shape, and fill with the other set? This way only the outside of the star would be outlined (and not all of the inner triangles), correct?

– Jeff Storey Apr 13 '11 at 21:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions