GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level
Hey guys,
I have a stupid question. If I have several layers, and I want all of them to contribute equally to the final image, then how should I arrange their transparancies? Is it correct like this:
If I have two layers, then the topmost layer should be 50%, and the bottom should be 100%
If I have three layers, than the top should be 33%, middle 67%, bottom 100%
If I have four layers, than the top to bottom should be: 25%, 50%, 75%, 100%.
Is that correct? I am asking in relation with this tutorial:
http://diangos.deviantart.com/art/High- ... -298317377If that is correct, then try this one: create 3 layers, fill the first with pure red, second with pure green, and third with pure blue. Change the transparancies into 33%, 67%, and 100%. why the final result is not white? also, the final color changes slightly based on the arrangement of the colors.
I hope GIMP scientists could help me. Thanx
![Grin :D](./images/smilies/icon_biggrin.gif)
Edit:
Btw after I think about it, maybe the transparencies arrangement is indeed wrong. I calculate it as the following (beware a lot of maths!). If you have two layers, the top layer has color a and transparency x, the bottom layer has transparency 1 (transparency 1 means 100% in GIMP notation) and color b, then the final color is:
a.x + (1-x).b
is that correct? and if you want both layer contributes equally, then x must be equal to 1-x, which means x = 0.5 (means 50% in GIMP convention).
But suppose we have 3 layers. the color of each layer, from top to bottom, is a,b,c; and their transparencies are x,y,1 (the bottom layer has 100% transparency). The middle and bottom layer combined, will have color:
b.y + (1-y).c
then combined with the top layer, the final color is:
a.x + (1-x).[b.y + (1-y).c] = a.x + b.y.(1-x) + c.(1-x).(1-y)
so if you want all 3 layers contribute equally, then we must have:
x = y.(1-x)
y.(1-x) = (1-x).(1-y)
x = (1-x).(1-y)
Solving those three equations, I get x = 1/3, y = 1/2. So it is NOT x = 1/3 (33%) and y = 2/3 (67%) like I claimed before. Instead, if I use x = 1/3 and y = 2/3, the final color will be (1/3).a + (4/9).b+(2/9).c. It means that all three layers don't contribute equally, but the middle contributes most. Is this correct guys?