Re: [Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-09 Thread David Gowers
Hello Martin, On Mon, Nov 10, 2008 at 8:18 AM, Martin Nordholts [EMAIL PROTECTED] wrote: Hi David David Gowers wrote: Ah, so if I want to make the result preserve the alpha of the underlying layer, I'll need to do that via layer mask? Exactly, masking should generally be performed *after*

Re: [Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-09 Thread David Gowers
Hi, On Mon, Nov 10, 2008 at 9:18 AM, David Gowers [EMAIL PROTECTED] wrote: I'll see what happens when I make that change :) (apparently just one line, app/core/gimpprojection.c:391, is needed to be changed to implement this now :D) This was slightly more complex than I said. Somewhat hackish

Re: [Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-09 Thread David Gowers
Hello, On Mon, Nov 10, 2008 at 12:50 PM, David Gowers [EMAIL PROTECTED] wrote: Lastly! I don't know whether this merges shadow-tiles in linear-light RGB or not. It appears that it does, but I haven't run proper tests yet :) No, it doesn't. David

Re: [Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-09 Thread Martin Nordholts
David Gowers wrote: So eventually we need to be able to construct on-demand babl_formats which utilize arbitrary profiles, and have babl depend on lcms to get a acceptably quick transform between those and the standard spaces? And recognize the use of standard colorspace profiles (eg sRGB,

[Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-08 Thread Martin Nordholts
Hi The layer modes have now been ported to GEGL. As layer mode compositing with GEGL uses a different model than legacy layer mode compositing it deserves some elaboration. If you want to try out the new layer mode compositing you can do View - Use GEGL in GIMP trunk. The new model is based on

Re: [Gimp-developer] Layer modes ported to GEGL, explanation of new compositing model

2008-11-08 Thread David Gowers
Hello Martin, On Sun, Nov 9, 2008 at 4:36 AM, Martin Nordholts [EMAIL PROTECTED] wrote: 2. With a 100% opaque Addition mode layer put on top a completely transparent layer, the resulting composite becomes 100% opaque containing the unblended Addition mode layer pixels when using GEGL, but