Bug 185448

Summary: pass-through blending mode for layer groups
Product: [Applications] krita Reporter: Elián Hanisch <lambdae2>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: dimula73, halla, igor-leskov1962, ncarrasco2006
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Elián Hanisch 2009-02-24 16:47:06 UTC
Version:           2.0 beta-6 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-23-generic

pass-through is a blending mode where all the layers blending modes inside the layer group will affect all layers below and outside the group.

this would enable the user to use groups just and only for group and organize layers, having the layers outside or inside the group won't affect the overall look of the drawing as long as they're stacked in the same way.
Comment 1 Halla Rempt 2010-01-20 11:59:28 UTC
In photoshop,layers-in-a-layer-group-don't-have-a-
separate projection thing is implemented with the pass-through blending mode

http://www.peachpit.com/articles/article.aspx?p=26275&amp;seqNum=5

Other blending modes explained:

http://dunnbypaul.net/blends/

http://www.photoshopgurus.com/forum/general-photoshop-board/16522-blend-modes-math-equations.html

http://www.nathanm.com/photoshop-blending-math/
Comment 2 Dmitry Kazakov 2010-01-20 12:57:46 UTC
Weird... Seems like an additional walker (or walker mode) for this...
Comment 3 Halla Rempt 2010-01-20 22:10:23 UTC
*** Bug 185299 has been marked as a duplicate of this bug. ***
Comment 4 Dmitry Kazakov 2013-08-08 20:00:50 UTC
*** Bug 322713 has been marked as a duplicate of this bug. ***
Comment 5 Halla Rempt 2015-01-12 15:22:19 UTC
*** Bug 339686 has been marked as a duplicate of this bug. ***
Comment 6 Dmitry Kazakov 2015-05-13 11:38:25 UTC
Git commit c958035b73f5ddf36789340ca5dc4ed39808352b by Dmitry Kazakov.
Committed on 13/05/2015 at 10:37.
Pushed by dkazakov into branch 'krita-chili-kazakov'.

[FEATURE] Implemented Pass-through mode for Group Layers!

Now just press an icon in the layer box and you'll get photoshop-like
behavior of the group, that is the children layers will be merged as if
they were not in the group.

Still TODO:

1) Create a proper icon for the layer properties item
2) Implement loading/saving layers into Photoshop's PSD
3) Test, test and test! :)

Ref T202
CCMAIL:kimageshop@kde.org

M  +33   -1    krita/image/kis_group_layer.cc
M  +6    -0    krita/image/kis_group_layer.h
M  +2    -1    krita/image/kis_layer_projection_plane.cpp
M  +72   -4    krita/image/kis_projection_leaf.cpp
M  +1    -0    krita/image/kis_projection_leaf.h
M  +92   -0    krita/image/tests/kis_projection_leaf_test.cpp
M  +1    -0    krita/image/tests/kis_projection_leaf_test.h
M  +6    -4    krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
M  +9    -0    krita/ui/kra/kis_kra_loader.cpp
M  +1    -0    krita/ui/kra/kis_kra_savexml_visitor.cpp
M  +1    -0    krita/ui/kra/kis_kra_tags.h

http://commits.kde.org/calligra/c958035b73f5ddf36789340ca5dc4ed39808352b
Comment 7 Halla Rempt 2015-05-14 15:04:13 UTC
http://quickgit.kde.org/?p=calligra.git&a=commit&h=27d28c3d7ee404e8e35513c969dcd2eadefb1938 implemented the loading/saving