|
From: <HBB...@t-...> - 2007-02-02 20:40:33
|
Ethan Merritt wrote: > gdImageShadedTriangle(gdImagePtr image, gdPoint *vertex, int *color); > That is, a filled triangle with interpolation of three separate colors > specified for the three vertices. Interpolation is quite a tricky business in color space, because there's no clear-cut idea what the curve to draw between two given points in colour space should be. To properly specify an interpolation mechanism, one needs to specify at least the coordinate system in which the interpolated surface in color-space is supposed to be flat. PM3D has such flexibility in principle, so if this new feature for libgd is to do us any good it should have it, too. |