W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2011

RE: Filter Templates

From: Alex Danilo <alex@abbra.com>
Date: Fri, 25 Feb 2011 10:53:01 +1100
Message-Id: <DOB5HL.08A8N4Z6EW6@abbra.com>
To: Anthony Grasso <Anthony.Grasso@cisra.canon.com.au>
Cc: Dean Jackson <dino@apple.com>, Alistair MacDonald <al@bocoup.com>, Rik Cabanier <cabanier@gmail.com>, Rik Cabanier <cabanier@adobe.com>, Cameron McCormack <cam@mcc.id.au>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>, "public-fx@w3.org" <public-fx@w3.org>, Alex Danilo <alex@abbra.com>
Hi Anthony and all,

--Original Message--:
>Just adding to what Alex said (see below)...
>
>
>> -----Original Message-----
>> <snip/>
>>
>> Perhaps that should serve as something to look at. This was researched
>> extensively at the time, and a property works far better than the SVG
>> filter mechanism when combining a lot of objects for blending.
>>
>
>This is because the background is included twice when using filters to perform compositing. This leads to incorrect results - the output tends to be darker than expected.

Ignoring side-effects, one of the main advantages of a property
over a filter is no need for any sort of intermediate bitmap.

The object being blended can be rasterized and alpha blended
with the correct blend mode directly to the canvas. So the
performance is significantly higher, especially if you are
trying to composite lots of graphics on top of live HD video
where memory bandwidth actually matters.

Alex
Received on Friday, 25 February 2011 01:43:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:38 UTC