Messages 1 - 45 of 57
First | Prev. | 1 2 | Next | Last |
voldemort |
It would be nice if I could set the blend mode for each layer in multi blend as is to get the effect your after you might still have to use individual blend modes maybe one layer you want screen while the third layer luminosity etc...
lets all whine for a wine port |
|||||
Posted: November 18, 2006 1:44 pm | ||||||
Vladimir Golovin
Administrator |
Yes, but the component would be huge -- we decided to keep its size manageable.
|
|||||
Posted: November 23, 2006 8:59 am | ||||||
uberzev
![]() |
I desperately need this, even if it only has four layers. (You can call it 'SuperBlend' and leave MultiBlend as it is.)
I'll try to explain the difficulty I'm having with the current system... Here's Photoshop's layers palate and the result of four layers all set to "lighten". (The first layer is partially transparent.) ![]() The resulting 80 lightness is what I expected. Now here's a simulation of FF's blend abilities. You must in effect "double up" if you want to blend more than two layers with a blending mode. In doing so you lose transparency information which completely changes the result in some instances. ![]() The current filter I've been working on "stones" requires a blend of four layers very similar to this example. Without the enhanced capabilities the filter will lack the depth I hope to achieve. *Download this photoshop file if you want to experiment for yourself. http://uberzev.googlepages.com/example.psd |
|||||
Posted: January 2, 2007 6:00 am | ||||||
uberzev
![]() |
Bump!
|
|||||
Posted: January 7, 2007 10:04 am | ||||||
uberzev
![]() |
Vlad?
|
|||||
Posted: February 5, 2007 7:25 pm | ||||||
Vladimir Golovin
Administrator |
Yes, yes. We experimented with a Multiblend Component with modes, but the results were, well, 'suboptimal'. It was just plain ugly.
|
|||||
Posted: February 7, 2007 7:12 pm | ||||||
Vladimir Golovin
Administrator |
P.S. Looks like the damn forum is broken again.
|
|||||
Posted: February 7, 2007 7:12 pm | ||||||
uberzev
![]() |
|
|||||
Posted: February 7, 2007 7:40 pm | ||||||
Vladimir Golovin
Administrator |
No, just plain ugly. Not the results -- I meant the component itself. And also confusing.
|
|||||
Posted: February 7, 2007 9:07 pm | ||||||
uberzev
![]() |
I'm only asking for this because there is no workaround available. |
|||||
Posted: February 7, 2007 9:28 pm | ||||||
Vladimir Golovin
Administrator |
Cascading Blend components? Technically, FF uses the same Blend formulas as Photoshop does, so all you have to do is to cascade the blends in the right order. The order is crucial. |
|||||
Posted: February 7, 2007 9:34 pm | ||||||
uberzev
![]() |
Scroll up on this page for an example. If that's not clear I can try to make another demonstration. I realize this is an issue unlikely to effect most users. However it's severly dampening the potential of my Stones filter... |
|||||
Posted: February 7, 2007 9:39 pm | ||||||
Vladimir Golovin
Administrator |
Regarding your Photoshop example -- either you're measuring the resulting lightness incorrectly, or your last layer is not completely transparent. The result can't be 80% because the result of your example (both in Photoshop and FF) should be exactly the lightness of your brightest color, #3, which is, according to the color picker, 68%.
Lighten is a dumb conditional mode. It simply compares the RGB channels and chooses the brightest of the two channels for the result. Please check your measurements or tell me the exact color and transparency of your last layer. |
|||||
Posted: February 7, 2007 10:21 pm | ||||||
Vladimir Golovin
Administrator |
Or, which is better, attach the PSD file here -- we'll save tons of time.
|
|||||
Posted: February 7, 2007 10:22 pm | ||||||
uberzev
![]() |
Here... http://uberzev.googlepages.com/example.psd Merge layers 1&2 and then 3&4 and you'll note that the result is different than it was with four discreet layers. |
|||||
Posted: February 7, 2007 10:36 pm | ||||||
Vladimir Golovin
Administrator |
||||||
Posted: February 7, 2007 10:51 pm | ||||||
Vladimir Golovin
Administrator |
This is an incorrect order. See how it's done in my filter above. The correct order of merging is: Merge 3&4. Then merge the result with 2. Then merge the result of the last merge with 1. This merging in Photoshop results in exactly 80%. |
|||||
Posted: February 7, 2007 10:52 pm | ||||||
uberzev
![]() |
Ok, that example sucked. Try this FF snippet and maybe it will make more sense to you.
example.ffxml |
|||||
Posted: February 7, 2007 11:11 pm | ||||||
uberzev
![]() |
Here's how it would look with a true multiblend....
![]() Here's how it looks using the "cascade" method... ![]() |
|||||
Posted: February 7, 2007 11:19 pm | ||||||
Vladimir Golovin
Administrator |
I can't see the second pic. Anyway, the cascade method (or the True Multiblend, this is the same thing in different disguises) works exactly the same way as does the layer blending in Photoshop.
|
|||||
Posted: February 7, 2007 11:23 pm | ||||||
uberzev
![]() |
Please check your email Vlad.
|
|||||
Posted: February 7, 2007 11:24 pm | ||||||
Vladimir Golovin
Administrator |
The example you provided doesn't use the cascade method -- actually, I couldn't figure out a thing. See my filter above for an example of what I call a cascade method. Use simple examples -- they provide less room for error, both in construction and in measurement.
|
|||||
Posted: February 7, 2007 11:34 pm | ||||||
uberzev
![]() |
The thing is what you've done is only added the alpha information at the last step. What I'm trying to get at is I will have to deal with opacity at every step and once you've blended once you've already lost some of it. \
I apologize that I'm doing a terrible job explaining this. ![]() |
|||||
Posted: February 7, 2007 11:43 pm | ||||||
uberzev
![]() |
What I'm doing is "embedding" saturation data into a set a greyscale images. The problem is that it only lasts for "one step". By doubling up the blends the very subtle data is lost.
|
|||||
Posted: February 8, 2007 12:08 am | ||||||
Vladimir Golovin
Administrator |
I noticed that you use Levels with very, very close black and white points -- this pushes the algorithm too close to the FPU precision boundaries, so you may get all kinds of weird stuff with this setup.
Again, blending has nothing to do with the errors you're getting. |
|||||
Posted: February 8, 2007 1:14 am | ||||||
uberzev
![]() |
This example shows four identical circles with very faint shadows on four seperate layers all set to darken. The only difference between them is slightly different lightness values and offsets. ![]() Now to process the image: Flatten Image > New Layer > Fill layer with Red > Set Mode to Luminosity > Flatten Image > Equalize... ![]() There is simply no way to consitently get this effect if you have to use more than one blending step to merge the four layers. http://uberzev.googlepages.com/Example2.psd |
|||||
Posted: February 8, 2007 1:41 am | ||||||
Crapadilla
![]() |
![]() --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||
Posted: February 8, 2007 5:48 am | ||||||
Vladimir Golovin
Administrator |
Zev, I think I finally figured out what you're trying to do (my today's working day is already 30 hours and still counting, so intellectually I'm not very capable at the moment -- sorry for being so dumb before
![]() |
|||||
Posted: February 8, 2007 7:19 am | ||||||
uberzev
![]() |
This problem is not "bug", as the result is expected given the situation. IMO the best way to understand and test this is to actually code a true multiblend for FF and see if the workarounds accurately duplicate its functionality. |
|||||
Posted: February 8, 2007 5:08 pm | ||||||
Vladimir Golovin
Administrator |
This result is not expected.
No need. You can 'code' the true multiblend right in FF by cascading the Blend components in a correct order. Photoshop does the same -- it has a blending function that blends TWO layers. It uses this function to blend ANY number of layers. It doesn't compile the blending routine for the entire layer stack into actual hardware CPU instructions every time a user moves a layer -- that would be ridiculous. I'd suggest to split this problem into two problems: precision and blending. Let's set precision aside for a while and test the blending first. Can you provide me with layered blending examples that don't get close to precision boundaries which cannot be reproduced in FF? |
|||||
Posted: February 9, 2007 10:32 am | ||||||
uberzev
![]() |
example3.ffxml |
|||||
Posted: February 9, 2007 10:53 am | ||||||
Vladimir Golovin
Administrator |
Yes, this example is better. I can see the flaw even without applying Levels.
BTW, have you tried the same thing in Photoshop with a 16-bit image? (It's a shame that their 32-bit mode doesn't support layers). |
|||||
Posted: February 9, 2007 11:03 am | ||||||
uberzev
![]() |
|
|||||
Posted: February 9, 2007 11:07 am | ||||||
Vladimir Golovin
Administrator |
Zev, the flaw is in your method, not in FF.
Try the same thing on a 16-bit image in PS. |
|||||
Posted: February 9, 2007 11:08 am | ||||||
uberzev
![]() |
Anyway like I said before if you make a proper multiblend in FF you'll get the right results. |
|||||
Posted: February 9, 2007 11:12 am | ||||||
Vladimir Golovin
Administrator |
||||||
Posted: February 9, 2007 11:17 am | ||||||
uberzev
![]() |
Vlad, while that might be a 'single blend' its not a, 'all at once' blend which is what this effect requires. You've broken it into two seperate merge steps there.
I'm trying to explain that the shadow data only lasts for one step. By 'cascading' or 'doubling up' or using any other alternate method to a 'all at once' blend there will be a loss of data. |
|||||
Posted: February 9, 2007 11:23 am | ||||||
Vladimir Golovin
Administrator |
Man, I give up.
There is an obvious flaw in the method. The PSD file I sent you demonstrates that clearly. I have nothing to say about this anymore. I can't argue with people who can't see facts. Sorry for being blunt. |
|||||
Posted: February 9, 2007 11:27 am | ||||||
uberzev
![]() |
Vlad, the method does have a flaw. You can duplicate the problem in Photoshop (by blending in 'two seperate steps' ala FF) which proves this fact.
This is why a new method is required, one that uses a true multiblend component. I've already demonstrated that this new method works correctly in Photoshop. Now I just need access to that capability in FF. *I can see facts, I know this is frustrating. Trust me I might sound thick headed but I know what I'm talking about. |
|||||
Posted: February 9, 2007 11:30 am | ||||||
uberzev
![]() |
Anyone else want to try and wrap there head around this? Sometimes another perspective can shed light on an issue.
|
|||||
Posted: February 9, 2007 11:40 am | ||||||
Vladimir Golovin
Administrator |
||||||
Posted: February 9, 2007 11:40 am | ||||||
uberzev
![]() |
The reason I need this to work automatically is because I'm using a bunch of randomly colored shapes. There is no way for me to know the correct order and even if I did one adjustment of the variations slider would throw everything off. I hate to sound like a broken record but coding the true MB in FF would be a usefull way to see if that functionality was truly redundant like you claim it is. |
|||||
Posted: February 9, 2007 11:44 am | ||||||
Vladimir Golovin
Administrator |
The picture above proves the fact that FF blending is CORRECT.
However, it also proves the fact that having everything rendered in double-precision floating point is bad for this particular effect. When you do 'one-time' blends in Photoshop, it kills subtle changes in color due to its 8-bit precision. When you do the same in FF, all these subtle changes are preserved, and when you use Levels, they ruin the effect you're trying to acheive: ![]() |
|||||
Posted: February 9, 2007 11:44 am | ||||||
Vladimir Golovin
Administrator |
||||||
Posted: February 9, 2007 11:45 am | ||||||
Vladimir Golovin
Administrator |
No it wont. Reducing the precision from floating-point to 8-bit per channel would be. |
|||||
Posted: February 9, 2007 11:47 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
28 unregistered users.