I think that when Synfig finds a layer that uses any old blending method it
would simply call the current code. Since compositing in Synfig is made
layer by layer it won't affect the new blending behavior. Once the layer is
blended using the old method is turns into a new backdrop for the above
layer(s) and then the new blending methods can be used.

For the UI the old blending methods are never offered as possible parameter
selection (drop down box) and when the layer is using an old method is it
displayed like that on the GUI but user cannot choose to select any old
one. Alternatively when a old blend method is used and there is a new blend
method that fits with it, Synfig Studio could automatically (or manually)
change the old blend to the corresponding new blend method.

 I think this is specially important to allow Cairo, HTML5 and OpenGL
integration. And also for SVG export ability which is very important too.

Thanks for the reply David ;)
Cheers

2012/11/13 David Rylander <[email protected]>

>  Agreed. It seems easier and less error proned. And also more consistent
> with other applications.
> How would backward compability work?
>
> -David
>
> 2012-11-13 07:58, Carlos López González skrev:
>
> I think that this material is important to read:
> http://www.w3.org/TR/compositing/
>
> I wonder if it wouldn't be good to rethink the current Synfig blending
> methods and modify them to stick strictly to the W3C standards. It would
> allow to use external libraries without the issues I'm having with Cairo
> operators.
>
> Of course the old blend methods should still working inside Synfig but we
> shouldn't continue using the non standard blending methods.
>
> Also it might be interesting to separate the blending parameters in two.
> First in what is called in the document "The Porter Duff compositing
> operators" (that defines how the alpha are combined) and the "Blending"
> that is the pure color combinations. I need to read the document completely
> to profile this properly.
>
> quote:
> Porter Duff compositing takes into account the overall shape of the
> graphic element and its opacity, as well as the opacity and shape of the
> backdrop, and determines where the backdrop is visible, where the graphic
> element is visible and where one is visible through the other. The blending
> step determines how the colors from the graphic element and the backdrop
> interact.
>
> Any thoughts?
>
> --
> Carlos
> http://synfig.org
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or 
> applications!http://p.sf.net/sfu/zoho_dev2dev_nov
>
>
>
> _______________________________________________
> Synfig-devl mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/synfig-devl
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Synfig-devl mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>
>


-- 
Carlos
http://synfig.org
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to