nanogui: Re: GrFillPoly doesn't work on concave polygon]


Previous by date: 1 Mar 2002 15:47:24 -0000 GrFillPoly doesn't work on concave polygon, Patrice Mancini
Next by date: 1 Mar 2002 15:47:24 -0000 Java and Nanogui choice, Justin Lee
Previous in thread:
Next in thread:

Subject: [Fwd: Re: [nanogui] GrFillPoly doesn't work on concave polygon]
From: Jordan Crouse ####@####.####
Date: 1 Mar 2002 15:47:24 -0000
Message-Id: <1014997153.11841.28.camel@cosmic>



This is true.

The previous release had an algorithm that was causing many issues, so
in the interest of stability we pulled it out before 0.89-pre-8.  If
anyone is interested these sort of algorithms, then the polygon fill
code definitely needs some tender loving care.

Jordan


On Fri, 2002-03-01 at 08:37, Patrice Mancini wrote:
>  
> If I try to fill a concave polygone, nothing is drawn...
>  
>  
>  
> GR_POINT pt1[5] = {{10,20},{150,30},{120,120},{60,60},{15,100}};
> GR_POINT pt2[5] = {{10,20},{150,30},{120,120},{60,160},{15,100}};
>  
>  
> GrPoly(w1,gc1,5,pt1); // OK
> GrFillPoly(w1,gc1,5,pt1); // Fail to draw
>  
> GrPoly(w1,gc1,5,pt2);  // OK
> GrFillPoly(w1,gc1,5,pt2); // OK 
>  
> I have this problem with the last release (0.89-pre-8) seems OK with previous release.
>  
> Patrice


Previous by date: 1 Mar 2002 15:47:24 -0000 GrFillPoly doesn't work on concave polygon, Patrice Mancini
Next by date: 1 Mar 2002 15:47:24 -0000 Java and Nanogui choice, Justin Lee
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.