Re: [css-masking] multiple mask layers and mask-composite

Hi all,

As announced, I merged multiple layer masks from the GitHub proposal back to the ED of CSS Masking[1].

Please send your feedback to the public-fx mailing list.

Greetings,
Dirk

[1] http://dev.w3.org/fxtf/css-masking-1/

On Mar 5, 2014, at 9:49 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> 
> On Mar 5, 2014, at 6:02 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
>> On 03/05/2014 03:15 AM, Dirk Schulze wrote:
>>> 
>>>> I vaguely remember the problem being something about choosing between
>>>> - each layer acts individually as a mask over all the layers+content
>>>>   before it
>>>> vs.
>>>> - composite all the mask images, then use that as a mask
>>>> and then the possibility of grouping certain combinations of images
>>>> rather than all or none. Does your proposal address that in a reasonable
>>>> way?
>>> 
>>> I believe so. Not only that, it provides much more control over the content,
>>> many people familiar with globalCompositeOperators from HTML canvas will
>>> appreciate having the same capabilities.
>>> 
>>> The two modes you mention can be archived with source-over (draw layers
>>> on top of each other and mask together) and destination-in (mask each
>>> layer with the the next layer and then mask content with the result).
>> 
>> Can you give an example that would accomplish the two behaviors above?
>> Do I need to be careful with the operator assigned to the last image,
>> for example?
> 
> I added 3 images to the compositing examples[1]. It hope it make things more clear. Please take a look at the examples.
> 
> Greetings,
> Dirk
> 
> [1] http://dirkschulze.github.io/specs/css-masking-1/#the-mask-composite
> 
>> 
>> ~fantasai
>> 
> 
> 

Received on Saturday, 12 April 2014 17:36:15 UTC