4 ms·
This might be a case for the kind of preprocessing GP was talking about though, breaking complex winding-based geometry into convex shapes.
by kibibu 7y ago
This might be a case for the kind of preprocessing GP was talking about though, breaking complex winding-based geometry into convex shapes.
- pcwalton 7y agoThat's tessellation, and it is one approach to vector graphics on GPU. Unfortunately, it's difficult to implement (floating point/fixed point error will frequently ruin your day) and makes it hard to implement analytic antialiasing, which is why Pathfinder doesn't use it. But it is a possible approach.
- kibibu 7y agoDoes tessellation not imply triangles? I was imagining convex curved shapes. Could these not be broken on scanlines, avoiding rounding errors?