London Posted June 6, 2020 Share Posted June 6, 2020 Working in 32-bit HDR mode with CGI-generated files, I want to select whites that are greater than 1 (e.g., have RGB values higher than 255/255/255). Is there any way to do this? Also, using the 32-bit preview, those >1 colors show up as black when managing the colors (filmic/sRGB), which is good at times, but difficult to do anything with, since I can't select them. Is there a way to turn off the over 1.0 white indicator? The attached screenshot shows the same image section with OCIO DisplayTransform on (lights image with unaliased black line) and Unmanaged (the darker image). Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted June 7, 2020 Share Posted June 7, 2020 No. There are no values greater than 1 (255, 255, 255). matisso 1 Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
London Posted June 7, 2020 Author Share Posted June 7, 2020 I don't know what you mean by there are no values greater than 1. With HDRs, there are values greater than 1. Sometimes much greater. Is it just that you can't select them? matisso 1 Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted June 7, 2020 Share Posted June 7, 2020 I don't know what it is that you are doing to get values over 1. You say "CGI generated files", all I can say is that 1 is the pure white and if you want more than that you will only ever get a value of 1. Think of the pixel as some container which holds exactly one liner of water, once you have 1000 ccs in it you cannot put more water into it, you can pour more water into the container but it won't hold more than one litre. Are there more than one file/layer in you document from the CGI generated files? matisso 1 Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
lepr Posted June 7, 2020 Share Posted June 7, 2020 I would say that values over 1.0 being rendered as 0.0 is a bug, not something designed to be helpful to you. Quote Link to comment Share on other sites More sharing options...
London Posted June 7, 2020 Author Share Posted June 7, 2020 1 is the highest value for 8-bit/channel images. For 32-bit/channel HDR values, there is no maximum value, just the way light has no maximum value. In computational photography, you can combine multiple photos to get how bright a white value is—something that's 255/255/255 at -10 stops would still be 255/255/255 in an 8-bit image at +10, but in a HDR image it would have a much, much higher value (I'm not sure what the actual value would be—I don't think it's as linear as +20. For modern rendering engines creating CGI images, you can save renders in 32-bit formats (usually EXR) that preserve light intensity, which is important for toning images to reflect the way our eyes see them. matisso 1 Quote Link to comment Share on other sites More sharing options...
London Posted June 7, 2020 Author Share Posted June 7, 2020 Thanks, anon2. It probably is a bug, although a weird one in a program that has full 32-bit support with a built in OCIO workflow. I'd have expected it to come up in testing all the time. Quote Link to comment Share on other sites More sharing options...
lepr Posted June 7, 2020 Share Posted June 7, 2020 17 minutes ago, London said: Thanks, anon2. It probably is a bug, although a weird one in a program that has full 32-bit support with a built in OCIO workflow. I'd have expected it to come up in testing all the time. Ha, you wouldn't believe some of the bugs that are getting through to the customer as if no testing at all is being done. CLC 1 Quote Link to comment Share on other sites More sharing options...
carl123 Posted June 7, 2020 Share Posted June 7, 2020 I'm sure I read an article about RGB values greater than 1 and they used the Procedural Texture Filter to manipulate them but I can't find it now. Anyway, the following settings should set any RG or B value greater than 1 to 1 Not sure if it is of any use to anyone but it was interesting to play with lepr 1 Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
London Posted June 7, 2020 Author Share Posted June 7, 2020 1 hour ago, carl123 said: I'm sure I read an article about RGB values greater than 1 and they used the Procedural Texture Filter to manipulate them but I can't find it now. Anyway, the following settings should set any RG or B value greater than 1 to 1 Not sure if it is of any use to anyone but it was interesting to play with I haven't played with this, but this sounds great.one of the things I do with >1whites is add a bit of bloom. Usually making a mask for that involve duplicating the layer, setting the exposure very low, and manipulating the levels to get a clean selection. This sounds like a better starting point. Quote Link to comment Share on other sites More sharing options...
R C-R Posted June 8, 2020 Share Posted June 8, 2020 18 hours ago, anon2 said: I would say that values over 1.0 being rendered as 0.0 is a bug, not something designed to be helpful to you. Just curious, but in what way should they be rendered that would be more helpful? Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
lepr Posted June 8, 2020 Share Posted June 8, 2020 1 hour ago, R C-R said: Just curious, but in what way should they be rendered that would be more helpful? There should be toggleable clipping indicators as in Develop Persona. R C-R 1 Quote Link to comment Share on other sites More sharing options...
London Posted June 8, 2020 Author Share Posted June 8, 2020 2 hours ago, anon2 said: There should be toggleable clipping indicators as in Develop Persona. Give that the >1 renders as 0 in exported JPEGs, I'd rather it be white. Most of the time, that's not useful information and it spoils the image. Quote Link to comment Share on other sites More sharing options...
lepr Posted June 8, 2020 Share Posted June 8, 2020 1 hour ago, London said: Give that the >1 renders as 0 in exported JPEGs, I'd rather it be white. Most of the time, that's not useful information and it spoils the image. Yes, rendering >1.0 as 0 instead of 255 in a JPEG has got to be a bug. I can't see that being useful to anyone. I didn't realise the problem is more than just a display problem. There should still be toggleable clipping indicators (with user settable thresholds) in the Photo Persona, though. Quote Link to comment Share on other sites More sharing options...
London Posted June 8, 2020 Author Share Posted June 8, 2020 I haven't seen a place on the forums for bug reports. Is there a way to report this? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 8, 2020 Share Posted June 8, 2020 2 hours ago, London said: I haven't seen a place on the forums for bug reports. Is there a way to report this? https://forum.affinity.serif.com/index.php?/forum/71-bug-reporting/ Quote -- 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 More sharing options...
Staff James Ritson Posted June 24, 2020 Staff Share Posted June 24, 2020 To clarify the information in this thread based off a subsequent discussion in another thread, it's most likely caused by using certain blend modes whose mathematics do not interact well with unbounded floats—typically yielding negative values. An easy way to test this is to produce a 32-bit document with two rectangles that overlap. Set both rectangles to pure red, then increase their intensity—for example, increase one by +1 and the other by +2. You could use any float values here greater than 1, e.g. 2.54 and 5.43. Scroll through the blend modes on the top-most rectangle and you will quickly see which blend modes produce negative values: Screen, Overlay, Soft Light, Hard Light, Vivid Light, Exclusion, Subtract, Negation, Reflect and Glow. We've discussed adding warnings to these blend modes in the dropdown when a user is in 32-bit, and potentially clamping them as well, with the understanding that this would clip the unbounded value range. @London your issue should be somewhat mitigated by using those Filmic transform macros I've provided, since all of the transforms will tone map to 0-1 range. Just place any composite layers with the problematic blend modes above the Filmic transform group and you should be good to go! Blende21 1 Quote Product Expert (Affinity Photo) & Product Expert Team Leader @JamesR_Affinity for tutorial sneak peeks and more Official Affinity Photo tutorials Link to comment Share on other sites More sharing options...
London Posted June 24, 2020 Author Share Posted June 24, 2020 Thanks, James. Your support has been fantastic. Quote Link to comment Share on other sites More sharing options...
London Posted June 30, 2020 Author Share Posted June 30, 2020 Hi @James Ritson, unfortunately, the 32-bit compositing bug isn't limited to Screen and Lighten. I didn't use your macros for an image I was compositing today (for reasons I forget) and ran into the problem using Add. Actually, every single color mode that lightens the image (Screen, Lighten, Color Dodge (not sure of the exact name), and Add) all produced errors. I'll go back and use your macro to fix this image, but wanted to make you aware of the issue. In the two screenshots, the lighter image is the problem-creating layer (which definitely has over-white highlights) set to Add over the other compositing layers. the darker image is it set to Normal mode. The 32-bit view is set to ICC and I used your double OICC transforms (Linear-sRGB + sRRG-Linear) trick in layers above this. I also forgot to turn off the black and white LUT stacked on top of that, but the glitch disappears when I turn this layer off. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.