I’m having issues with blur effects and vector layers. Look at the following images:
I’m using this star shape with some lines above for testing. Basic vector shapes.
Now look at this image where I’ve added a blur effect. The lines are blurred when they’re directly over the star shape but not blurred outside the shape. Also the outline of the star is not blurred. (there is a small blur, but much less than within the star).
It’s much more obvious in this image where I’ve encasuled the star, line and blur and then added a blue backgroud with the same colour as the star. This is unaffected by the blur and the star/line is unaffected by the colour-layer.
Now I’ve exported the unblurred star and reimported it as an image layer and applied the blur to this. Now the effect behaves as it should, whole shape is blurred, even when above alpha. (This is again on a blue background but the setup is the same as previous one and the effect the same if I render with alpha instead of blue BG.)
So, what is going on? Is the blur effects broken?
Tested using both 0.62 and 0.62.01.
You’ve got answers to everything!
Strange bug indeed…
Wouldn’t it be useful if the blend method of blur is set to straight as default?
Yes! good idea. Not a big deal really
Hmmm, seems that it is not as easy as call the constructor overriding the default values. The toolbox’s default values overrides finally any blend method during layer creation. It needs a deeper looking and smarter coding.
I can override the toolbox default blend method if the layer in creation is a blur layer. But I think that perform that always (regardless what default blend method the user choose from the toolbox’s defaults) is a bit weird and unuseful.
What about to add a new entry in the default blend method drop down list called: “Default by Layer”? It means that the user would accept the default blend method the layer decides to apply by itself based on the kind of layer. For Geometry layers it will be Composite and for other layers, like blur layer it can be Straight or other based on layer’s behavior. In case that the user selects other toolbox’s default blend method during layer creation it will be apply to the new layer.
Sounds fine to me, but wouldn’t it be a bit confusing? Will you see the actual blend type or just “Default by layer” as value?
No, only the Toolbox’s default blend method drop down menu will show the “Default by layer” entry. When the layer is created (by a tool or with the menu action) it will display the only valid default method (Composite in most of the layers or Straight in others)
I think that there are some layers that really will look much reasonable well if they use the straight method:
I’ve added this feature to the master branch. Now if the user selects the “By Layer Default” default blend method in the toolbox’s defaults widget, then each new created layer (by New Layer or tool action result) will use the default blend method defined by the layer itself.
By default all layers (that have blend method in its parameters) have Composite as default blend method. The layers that have specific blend method are:
Radial Blur: Straight
Noise Distort: Straight
Any other layer with different blend method than composite?
Thanks Genete, an improvement to workflow!
(Can’t think of any other layers that would need different blend mode right now)