[cairo] Re: Using ADD operator to prevent seams
Solerman Kaplon
solerman at wonder.com.br
Fri Mar 18 10:49:08 PST 2005
Owen Taylor escreveu:
> Here's a fully automatic, though perhaps computationally infeasible
> algorithm. :-)
>
> The basic idea is to split the image into non-overlapping components,
> draw each individually and then ADD them together.
Much like BSP algoritms for 3D that are used for solving overlapping
geometry with alpha and occlusion culling. For 3D, very expensive
computation with plenty of corner cases, undoable in realtime. Expect
some overhead for 2D, but need some benchmarking to see how much, since
you don't have perspective, maybe not much.
Solerman
More information about the cairo
mailing list