|
From: John H. <jd...@gm...> - 2009-08-07 12:51:04
|
On Thu, Aug 6, 2009 at 1:53 PM, Michael Droettboom<md...@st...> wrote: > Even with this, the gradient infrastructure in Agg assumes a one-dimensional > map, and here we need to at least interpolate between the three points of a > triangle. It's not impossible, as it's easy enough to make a custom shader, > it's just that the gradient code won't help us. I checked in with the antigrain mailing list, as was pointed to examples/gouraud.cpp. This looks like what we want, no? wget http://www.antigrain.com/agg-2.5.tar.gz tar xvfz agg-2.5.tar.gz cd agg-2.5 make cd examples/X11/ make gouraud ./gouraud |