Sharandra
![]() |
Uhm..how exactly does it work?
I thought if I set it to A=B and leave if and else at black and white, then it would be white if A and B match and black if not, but instead of black it goes all kind of colors? |
|
Posted: September 15, 2012 11:13 pm | ||
Skybase
![]() |
See, I think I know te answer to it... but I'm worried I'd be wrong. I think I'll leave it up to somebody else for the answer....
In the mean time, is the ffxml file accurate to whatever you were describing? If you check the RGB values in HDR mode, you'll see the problem. IF statements.ffxml |
|
Posted: September 16, 2012 12:08 am | ||
Sharandra
![]() |
Well in your example it seems that the first white was 0,9999 rather than 1.
Is that what you think causes the trouble? Edit: that can´t be the problem in my case because I copied the color for B and I just checked, they are the same. Well here is my example. If anyone knows what the problem is and could explain it would be cool ![]() Edit 2: It actually has to be >= for what I had in mind, but same problem with that. Multiblend.ffxml |
|
Posted: September 16, 2012 12:22 am | ||
Sharandra
![]() |
Well, I got it to work
![]() I would still like to know what the problem with the colors and the A=B is tho?? Multiblend with slider.ffxml |
|
Posted: September 16, 2012 1:24 am | ||
Indigo Ray
![]() |
The "IF" component works separately with the red, green, and blue "channels". The "then" and "else" colors are then multiplied into each channel (R, G, and B).
Example: If you select A>B, and your source A has more red at a point than source B, the red output here = [the red value of THEN]. If A has less or equal red at another point, the red output here = [the red value of ELSE]. Same for green, and lastly blue. |
|
Posted: September 16, 2012 3:07 pm | ||
Sharandra
![]() |
Ah I see, thx for the explanation
![]() |
|
Posted: September 16, 2012 3:19 pm | ||
Vladimir Golovin
Administrator |
Help article "How Math Components Work":
http://www.filterforge.com/more/help/...sWork.html |
|
Posted: September 17, 2012 3:01 am | ||
Sharandra
![]() |
Thank you, I´ll go have a look
![]() |
|
Posted: September 17, 2012 5:19 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,534 Posts
+31 new in 30 days!
15,348 Topics
+72 new in year!
24 unregistered users.