Jump to content

Multiple bugs / inconsistencies related to nested filter layers on alpha channel


Recommended Posts

Hi,

 

there are numerous bugs / inconsistencies related to nested filter layers on alpha channel.

My expectations:

  • E1 nested filter layers in clipping position get restricted to the parent shape for vector shapes.
  • E2 nested filter layers in clipping position get restricted to the content of a group layer, but the results can reach beyond.
  • E3 nested filter layers in masking position get restricted to original content of the parent shape, which might get relocated outside that area.
  • E4 Nested filters will get restricted to their inherent mask. If the mask is fully black, the filter should not impact any pixel.

The test file shows a RGB color gradient on x-axis, a alpha gradient on Y-axis, a fully opaque rectangle, and a ripple live filter nested to vector shapes or groups, in clipping or masking position, with inherent mask filled or cleared.

The image below has 8 test tiles (A1-A4, B1-B4), rows by letter A, B, columns by number 1 to 4.

  • A1 looks OK
  • A2 looks OK
  • A3 look wrong. violates E4. 
  • A4 looks wrong. Blending of group with partial alpha leads to wrong result in the area outside the parent shape. It should deliver the same rendering as the layers without any grouping.
  • B1 looks OK, but there are (probably unavoidable) artefacts at the edge on alpha channel coming from green stroke
  • B2 looks wrong. violates E4 bad anti-aliasing on bottom edge
  • B3 looks OK.
  • B4 looks wrong. violates E4 (probably only on alpha channel)

Edit: groups use default blend mode "passthrough". If changing to "normal", results B2, A4, B4 look ok.

B3 is the main problem.

1232522509_Screenshot2022-04-03at21_15_53.thumb.png.bd765048b4ef07d29a8892f722b4cb9c.png

Same but Alpha channel only selected

1169067658_Screenshot2022-04-03at21_16_30.thumb.png.60d122480d77bb0e31873c1e87625088.png

Screenshot 2022-04-03 at 20.53.46.png

nested alpha live filer again V2.afphoto

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

@NotMyFaultFantastic job enumerating the conditions! It's hard to pick out exactly what is wrong with an image, just that something does not look right/the way you want. Problems with a single feature are annoying, but this type of issue is much more concerning as it is the core function of compositing the layers. They really should be doing nightly build tests with a suite of these types of very specific edge/corner cases.

To add to your list, adding a Merge Visible layer on top does not duplicate the gradient close to the sum of the combined layers. I believe I have seen this elsewhere but your file provides a great test case for Affinity.

nested alpha live filer again V2_MV.afphoto

Link to comment
Share on other sites

20 minutes ago, BeauRX said:

To add to your list, adding a Merge Visible layer on top does not duplicate the gradient close to the sum of the combined layers. I believe I have seen this elsewhere but your file provides a great test case for Affinity.

Thank you for your reply.

The merge visible is actually ok in this case, no bug. The irritation is caused by partial transparency. You need to put a fill layer in white below the merged layer to see correct result, or deactivate all layers below.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.