Re:Exact Polygonal Filtering: Using Green's Theorem and Clip...
by bee_rider on Thursday August 15, 2024 @10:12AM
(#41256309)
Is that necessarily the case for vector graphics? I actually don’t know how they define their colors. It seems intuitive enough to define a gradient using a function rather than discrete series, but I have no idea if anyone actually does that.
[ Parent
| on HN ]
Re:Exact Polygonal Filtering: Using Green's Theorem and Clip...
by taylorius on Friday August 16, 2024 @08:38AM
(#41265841)
They absolutely do define gradients via functions - but the point it, the screen only has a finite number of pixels. As I understood it, pixels is what this technique uses as it's dicing primitive. Pixel sized rectangles cut out of the polygon.
Pixar's Renderman used to use a (slightly) related technique. This was along time ago, and I have no idea if they still do things this way - but they would subdivide patches until each primitive was smaller than a pixel.