Jump to content
You must now use your email address to sign in [click for more info] ×

RGB32, blend range


Recommended Posts

Hi,

 

I have a simple sunset image, and try to blend 2 layers using blend ranges.

To my surprise, I get a fully saturated green rendering despite the info panel shows no change in hue in selected positions.

Any ideas?

Does blend ranges in RGB/32 (linear) behave different from gamma corrected color spaces?

Blend range 100% -> top image fully opaque

920682138_Screenshot2022-08-04at20_46_40.thumb.png.c5c88e2b5e605d7e2193635d78f639fb.png

blend range on right node reduced by 1% to 99%: rendering becomes green, despite info panel does not chnage

507980802_Screenshot2022-08-04at20_46_52.thumb.png.4aa2eea20696e40ea58833236b7e714f.png

Another issue:

For upload, I cropped the original 6k x 4k file to 500x200px, rasterised & trimmed both pixel layers and used save as (without history). The file is still >300 MB large, beyond any reasonable size.

 

It seems blend ranges do not work correct in case images contain color values >1.0

 

PS: The file "rgb32 blend range bug" is far smaller and cn be used to reproduce the issue.rgb32 blend ramge bug.afphoto

It shows a gradient from 0 to 4 for RGB (and grey) over x-axis.

Once you start to change any node of the blend range, either source or destination, the rendering gets wrong.

Activate the scope panel in RGB parade mode to spot the issue. You need to activate the exposure adjustment ro reduce the color values into visible range to use scope, as it misses the option to increase max (like histogram).

 

821246897_IMG_8654blendrangecropped.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.

 

Link to comment
Share on other sites

15 minutes ago, NotMyFault said:

For upload, I cropped the original 6k x 4k file to 500x200px, rasterised & trimmed both pixel layers and used save as (without history). The file is still >300 MB large, beyond any reasonable size.

Did you delete the initial Snapshot?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

12 minutes ago, walt.farrell said:

Did you delete the initial Snapshot?

no, that explains the size issue.

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.

 

Link to comment
Share on other sites

11 hours ago, Lisbon said:

But the problem goes away if you add an adjustment layer, as a child, to the top layer.
Curves, Levels, HSL, will work.

not fully, it is replaced by a different problem.

If i activate a nested exposure adjustment (with „0“ setting), the colors will change, not visible as only the >1.0 values are impacted. 

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.

 

Link to comment
Share on other sites

4 minutes ago, Lisbon said:

Another interesting thing has to do with the "Blend gamma" value inside "Blend options".
If you change from 2.2 to 2.1 or 2.3, the green also disappears.

Yes, can confirm. Seems like someone hardcore this 2.2 value into the blende formula.

When i remover it right, all blend operations are done in an specific color format (HSV?), and there are lot of back and forth conversions. Using linear gamma would normally require to change the blend gamma of all layers manually to 1 for all layers. Affinity will create new layers always using the global default value of 2.2, which might be unsuitable in this context

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.

 

Link to comment
Share on other sites

even more interesting: blend gamma is normally ignored in RGB/32. It has no effect on layer blending. Except in this strange case.

 

layers with blend gamma 1 / 3 in RGB/16: visible effect (step 2)

1320727689_Screenshot2022-08-05at15_56_41.thumb.png.8e4c724478d85152710364826a616e53.png

layers with BG 1 / 3 in RGB/32: no effect (step 1)

978783857_Screenshot2022-08-05at15_56_24.thumb.png.6e1c2b0ae32088bc76d06e84e29b5a36.png

rgb32 bR step 1.afphoto rgb32 bR step 2.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.

 

Link to comment
Share on other sites

bump - any comments from mods?

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.

 

Link to comment
Share on other sites

  • Staff
On 8/9/2022 at 4:45 PM, NotMyFault said:

bump - any comments from mods?

Do you get the same result with Metal enabled and disabled? Only asking because I can only replicate the green area with OpenCL enabled on Windows.

Link to comment
Share on other sites

Seems to related to Metal / HW acceleration on Mac.

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.

 

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.