Rec 2020 turns Reds Black? Any fix?

Haven't tried to fully render it as a video yet, but in the Iray preview, all of the red surfaces have turned black when using Rec 2020.  I'd *like* to render out a full Rec 2020 colorspace so I can grade for HDR if that's possible with DAZ, but this issue is throwing me off a bit.  Any ideas?

«1

Comments

  • Is your monitor callibrated?

  • MasterstrokeMasterstroke Posts: 1,758

    JasonWNalley said:

    Haven't tried to fully render it as a video yet, but in the Iray preview, all of the red surfaces have turned black when using Rec 2020.  I'd *like* to render out a full Rec 2020 colorspace so I can grade for HDR if that's possible with DAZ, but this issue is throwing me off a bit.  Any ideas?

    It all looks a little less red with the latest beta. Still not that nice. Sometimes it helps to set down saturation to around 70%. 

  • IceCrMnIceCrMn Posts: 2,104
    edited April 2022

    Ok, after a bit of experimentation, I think I have this one figured out.

    rec2020,also called BT2020, uses a a different color gamut.
    So the colors in your scene will need to be adjusted for it.

    Red RGB is 1,0,0
    Red rec2020 is 1,0.1,0.1

    Green RGB is 0,1,0
    Green rec2020 is 0.1,1,0.1

    Blue RGB is 0,0,1
    Blue rec2020 is 0.1,0.1,1

    Changing these makes rec2020 render red instead of black for me.

    notes:
    These are approximate colors.

    This gets you close for aces and acescg also.

    xyz uses even lower primary values.
    Red xyz is approximately  0.27,0.11,0.10

    Going to need a lot more experiments before I get it right.
    Hopefully someone can write a script/plugin that converts color spaces.Doing all this by hand sounds like agiant pain in the backside.

     

    edit:I'm also pretty sure this means that all textures and maps will need to be converted to the color space you want to use also.

    Post edited by IceCrMn on
  • IceCrMnIceCrMn Posts: 2,104

    ooops, deleted my test render while editing last post....

    SpectralRendrec2020.jpg
    2554 x 1036 - 259K
  • MasterstrokeMasterstroke Posts: 1,758

    Richard Haseltine said:

    Is your monitor callibrated?

    What does the monitor have to do with it? Serious question. Do I need an advanced typ of a monitor in order to use aces spectral rendering?
    Right now, I am using a Dell Canvas connected via display port to my PC. 

  • Masterstroke said:

    Richard Haseltine said:

    Is your monitor callibrated?

    What does the monitor have to do with it? Serious question. Do I need an advanced typ of a monitor in order to use aces spectral rendering?
    Right now, I am using a Dell Canvas connected via display port to my PC. 

    If the monitor is far from callibrated then colours and toens may lok very wrong. Almost any monitor should be roughly callibratable - even using one of the on-screen tools may give enough, though if someone is wanting to use a particular colour space I'd think they'd want to use a hardware callibration tool such as the Spyder.

  • Richard Haseltine said:

    Is your monitor callibrated?

    Yes, definitely calibrated. I am using an ASUS ProArt 3290C that I calibrate monthly with a Spider Elite.  

  • IceCrMn said:

    Ok, after a bit of experimentation, I think I have this one figured out.

    rec2020,also called BT2020, uses a a different color gamut.
    So the colors in your scene will need to be adjusted for it.

    Red RGB is 1,0,0
    Red rec2020 is 1,0.1,0.1

    Green RGB is 0,1,0
    Green rec2020 is 0.1,1,0.1

    Blue RGB is 0,0,1
    Blue rec2020 is 0.1,0.1,1

    Changing these makes rec2020 render red instead of black for me.

    notes:
    These are approximate colors.

    This gets you close for aces and acescg also.

    xyz uses even lower primary values.
    Red xyz is approximately  0.27,0.11,0.10

    Going to need a lot more experiments before I get it right.
    Hopefully someone can write a script/plugin that converts color spaces.Doing all this by hand sounds like agiant pain in the backside.

     

    edit:I'm also pretty sure this means that all textures and maps will need to be converted to the color space you want to use also.

    Thanks, I will give this a whirl and see what I come up with, I did notice shades of other colors also looking a bit *off* but it was most evident with Red as that just goes completely black.   

  • MasterstrokeMasterstroke Posts: 1,758
    edited April 2022

    Richard Haseltine said:

    Masterstroke said:

    Richard Haseltine said:

    Is your monitor callibrated?

    What does the monitor have to do with it? Serious question. Do I need an advanced typ of a monitor in order to use aces spectral rendering?
    Right now, I am using a Dell Canvas connected via display port to my PC. 

    If the monitor is far from callibrated then colours and toens may lok very wrong. Almost any monitor should be roughly callibratable - even using one of the on-screen tools may give enough, though if someone is wanting to use a particular colour space I'd think they'd want to use a hardware callibration tool such as the Spyder.

    Well, ... look at my renders
    I used this collar pallete for the renders: 
    collar calibration - Suche (bing.com)
    tone mapping is at default settings

    OFF.jpg
    2560 x 1370 - 852K
    rec709.jpg
    2560 x 1313 - 1M
    rec2020.jpg
    2560 x 1369 - 976K
    aces.jpg
    2560 x 1373 - 1008K
    acescg.jpg
    2558 x 1369 - 991K
    Post edited by Masterstroke on
  • PadonePadone Posts: 3,442
    edited April 2022

    As I understand it in the spectral color conversion color space you have to set the gamut of your monitor.

    The ProArt Display PA329C should look fine enough because it covers 84% of REC 2020. But the pure red is probably out of the 84% coverage so it's out of gamut. You need a full REC 2020 monitor.

    As for the Dell Canvas it's Adobe RGB so it's expected that goes out of gamut with REC 2020. While it renders fine enough with REC 709 because REC 709 and SRGB are very similar and included in Adobe RGB.

    Makes no sense in my opinion to edit by hand the color palette to shrink REC 2020 to SRGB. Just select SRGB or REC 709 as output if you have a SRGB monitor. Then of course the monitor has to be calibrated as Richard says, but first the gamut must fit.

    5colorspace.png
    661 x 715 - 281K
    Post edited by Padone on
  • Padone said:

    As I understand it in the spectral color conversion color space you have to set the gamut of your monitor.

    The ProArt Display PA329C should look fine enough because it covers 84% of REC 2020. But the pure red is probably out of the 84% coverage so it's out of gamut. You need a full REC 2020 monitor.

    As for the Dell Canvas it's Adobe RGB so it's expected that goes out of gamut with REC 2020. While it renders fine enough with REC 709 because REC 709 and SRGB are very similar and included in Adobe RGB.

    Makes no sense in my opinion to edit by hand the color palette to shrink REC 2020 to SRGB. Just select SRGB or REC 709 as output if you have a SRGB monitor. Then of course the monitor has to be calibrated as Richard says, but first the gamut must fit.

    Aha, when I bought it, it was the best I could get for the money I had... Maybe I'll be looking at a new monitor this year... I figured 84% would be enough to "get me by" but maybe not, especially if reds look black (and I mean black as pitch, not just dark).  

  • MasterstrokeMasterstroke Posts: 1,758

    Even Wacom's top of the line model doesn't support more than Adobe RGB.

  • prixatprixat Posts: 1,585
    edited April 2022

    Can you post one of these blackened images? I would like to see how it looks on my screen. 

    (The only way to get non-sRGB renders out of Studio is with Canvasses.)

     

    edited

    Post edited by prixat on
  • MasterstrokeMasterstroke Posts: 1,758
    edited April 2022

    prixat said:

    Can you post one of these blackened images? I would like to see how it looks on my screen. 

    (The only way to get non-sRGB renders out of Studio is with Canvasses.)

    The DAZ *.exr files have a higher dynamic range, but not more collar space. They are still sRGB.  

    Post edited by Masterstroke on
  • Masterstroke said:

    prixat said:

    Can you post one of these blackened images? I would like to see how it looks on my screen. 

    (The only way to get non-sRGB renders out of Studio is with Canvasses.)

    The DAZ *.exr files have a higher dynamic range, but not more collar space. They are still sRGB.  

    Not true, as far as I know, if it was they wouldn't work as HDRs. They should be, as I understand it, rendered without tone mapping and then tone-mapped in the editor for human consumption.

  • PadonePadone Posts: 3,442
    edited April 2022

    I agree with Richard. As I understand it exr is in linear color space, that means all the possible physics values so an "unlimited" gamut. Think of it as the raw rendering buffer before color mapping. Then color mapping is the transfer function from the linear space to the output space, mostly srgb for normal monitors.

    Post edited by Padone on
  • MasterstrokeMasterstroke Posts: 1,758
    edited April 2022

    Richard Haseltine said:

    Masterstroke said:

    prixat said:

    Can you post one of these blackened images? I would like to see how it looks on my screen. 

    (The only way to get non-sRGB renders out of Studio is with Canvasses.)

    The DAZ *.exr files have a higher dynamic range, but not more collar space. They are still sRGB.  

    Not true, as far as I know, if it was they wouldn't work as HDRs. They should be, as I understand it, rendered without tone mapping and then tone-mapped in the editor for human consumption.

    I opened the *.exr in Photoshop and I could edit as usual the exposure. Usually I dial it down to -13. I understand, that I am not able to see the whole collar spectrum at once, because of limited Adobe RGB, but I should be able to shift the spectrum then. That did not work. The black parts of the gamut pallet remain black, no matter what if I try the HDR toning or Hue/Saturation tool.

    Clipboard01.jpg
    887 x 1081 - 278K
    Clipboard02.jpg
    853 x 1047 - 264K
    Clipboard00.jpg
    1447 x 1117 - 341K
    Post edited by Masterstroke on
  • PadonePadone Posts: 3,442

    @JasonWNalley You may also check your monitor driver and connection to be sure it handles the rec 2020 space. I know hdmi 2.0 supports the rec 2020 space, don't know about other connectors.

  • prixatprixat Posts: 1,585
    edited April 2022

    Just tried rendering a red object on a couple of screens, and even on a rec2020 HDR screen it still renders red as black. ...so it's not the monitor calibration or capability!

    nVidia have been tweaking the ODT for a couple of versions now and I would guess there's more tweaking to do. wink

    Post edited by prixat on
  • Masterstroke said:

    Richard Haseltine said:

    Masterstroke said:

    prixat said:

    Can you post one of these blackened images? I would like to see how it looks on my screen. 

    (The only way to get non-sRGB renders out of Studio is with Canvasses.)

    The DAZ *.exr files have a higher dynamic range, but not more collar space. They are still sRGB.  

    Not true, as far as I know, if it was they wouldn't work as HDRs. They should be, as I understand it, rendered without tone mapping and then tone-mapped in the editor for human consumption.

    I opened the *.exr in Photoshop and I could edit as usual the exposure. Usually I dial it down to -13. I understand, that I am not able to see the whole collar spectrum at once, because of limited Adobe RGB, but I should be able to shift the spectrum then. That did not work. The black parts of the gamut pallet remain black, no matter what if I try the HDR toning or Hue/Saturation tool.

    I'm not sure I follow - black is black and can only be chnaged if you enable the Colourise option in whichever tool it is and adjust the black point to a shade of grey, so that it has a non-zero value. That has nothing to do with colourspace.

  • prixat said:

    Just tried rendering a red object on a couple of screens, and even on a rec2020 HDR screen it still renders red as black. ...so it's not the monitor calibration or capability!

    So its value is black, you are not just eyeballing it?

    nVidia have been tweaking the ODT for a couple of versions now and I would guess there's more tweaking to do. wink

  • prixatprixat Posts: 1,585

    Richard Haseltine said:

    So its value is black, you are not just eyeballing it?

    Not sure what you mean. 

  • PadonePadone Posts: 3,442
    edited April 2022

    @Masterstroke The exr files work fine here in gimp. You may try disabling the tone mapping in iray but it doesn't seem to make any difference here, has it is expected since exr comes before tone mapping. I'm on daz studio 4.15 though to avoid the new iray issues so can't tell for 4.20.

    Anyway it makes no sense to use rec 2020 if you get an adobe rgb monitor. But again exr should be independent of it, unless bugs.

     

    edit. Test exr attached and tone mapping by gimp. Had to use zip because the forum doesn't allow to upload exr.

    edit. You can upload your exr for me to try in gimp. Make it low res please as 1280x720 so it's small in size.

    zip
    zip
    hdr-test.zip
    3M
    Post edited by Padone on
  • PadonePadone Posts: 3,442
    edited April 2022

    @prixat Unfortunately I don't have a rec 2020 monitor for testing so I can only guess here. It is also possible that there are bugs in daz studio. For sure it makes no sense to use the rec 2020 output on a srgb monitor.

    Post edited by Padone on
  • prixatprixat Posts: 1,585

    I would say it's within Iray.

    With Spectral Rendering an Input Device Transform (IDT) converts all textures and shaders to the extended colourspace you have chosen.
    The renderer churns away in the extended colourspace.
    An Output Device Transform (ODT) converts it back to something we can see, a normal sRGB preview or PNG or JPG etc.

    Getting the IDT and ODT right is quite important. laugh

    I think my GPU is slow enough that I see a glimpse of the overexposed, ridiculously bright render of the red object just before the refresh snaps in and turns it black. Which suggests it's an ODT problem.

  • prixatprixat Posts: 1,585
    edited April 2022

    Just to elaborate on IceCrMn's fix.

    It's easier to see in HSV, it's the Saturation that seems to have a maximum value, above which it just flips to black.

    for ACEScg max. Saturation values:
    R-222 G-203 B-214

    for rec2020:
    R-223 G-226 B-214

    Screenshot 2022-04-13 083254.png
    1368 x 900 - 623K
    Screenshot 2022-04-13 084443.png
    1559 x 804 - 730K
    Post edited by prixat on
  • PadonePadone Posts: 3,442
    edited April 2022

    @prixat Just to be clear, spectral rendering is another thing entirely and has nothing to do with rec 2020.

    Post edited by Padone on
  • JasonWNalleyJasonWNalley Posts: 120
    edited April 2022

    Alright, so this conversation has been crazy confusing with everyone sharing what they think it is...  So let me try asking this question differently.

    My goal is to render video and grade it in HDR.  My thought was to render it in the colorspace I would be grading in, which is BT2020, this seems to not work because the colors don't render as they should (reds rendering black is most noticeable) (this applies to stills and video).  

    I was hoping to render in Iray straight out of DAZ using Iray or Octane, but I can also use Blender +Cycles or C4D+RedShift if that's a better option...  I'm open to suggestions.

    So I guess what I am really asking is:

    Is it even possible to render HDR video in the BT2020 colorspace using DAZ + Iray?
         -If so, how?
         -If not, what is the easiest method for achieving this?
     

    Post edited by JasonWNalley on
  • PadonePadone Posts: 3,442
    edited April 2022

    @JasonWNalley The solution is simple just render in exr that's linear space, then post process to anything you want.

    Post edited by Padone on
  • Padone said:

    @JasonWNalley The solution is simple just render in exr that's linear space, then post process to anything you want.

    Ok, just a couple of questions to make sure I understand this.

     1) In this video he's talking about bringing something into resolve, and first converting it to Linear, then doing editing, then putting it back into the proper color space you desire.  Yes? Do I have that right?
    2) provided I understood correctly and question 1 is a yes, then my next question is, how do  you render in exr in DAZ?  Do you just turn off spectral rendering and render it out? Or is there more to it?  I saw some people talking about using canvases above, but I only ever rendered with canvases 1 time, and that was a long time ago.  Does the resulting image from say a "Beauty" canvas come out in linear color space?

Sign In or Register to comment.