Announcement

Collapse
No announcement yet.

Metadata Aces ColorManagement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Metadata Aces ColorManagement

    Hey guys!

    we face some weird results when saving .png files with Aces Profile in image.

    Our workflow is :

    Working in ACEScg in Vray>Settings>ColorManagement

    Click image for larger version

Name:	ColorManagement.jpg
Views:	505
Size:	10.5 KB
ID:	1178408

    In our Vray VFB we display correction as:

    Click image for larger version

Name:	VfbSettings.jpg
Views:	352
Size:	39.9 KB
ID:	1178409

    When saving in .png file we ovveride gamma 1.

    When uploading those images on web players or even with windows picture viewer we don't have the same result between VFB and these applications.

    If I save an exr file and apply the ACES profile in NUKE I have a correct result.

    To try to understand the difference between vray and Nuke We saved 2 png files with ACES Collapsed and checked the metadata the result:

    Click image for larger version

Name:	MetadataNukevsVray.jpg
Views:	357
Size:	73.3 KB
ID:	1178410

    To try a bit further I tried to render a random image but with sRGB Primaries under the colormanagement tab and the metadata looks more like in Nuke and no matter on wich support I preview the file the result is consistent.

    Click image for larger version

Name:	MetadataVraysRGB.jpg
Views:	348
Size:	18.9 KB
ID:	1178411

    It looks like when saving with VFB with a view transform saved in image, the color space is wrong.


    Thank you!

    ​​​
    Attached Files

  • #2
    Hey guys!

    we face some weird results when saving .png files with Aces Profile in image.

    Our workflow is :

    Working in ACEScg in Vray>Settings>ColorManagement

    Click image for larger version

Name:	ColorManagement.jpg
Views:	742
Size:	10.5 KB
ID:	1178413

    In our Vray VFB we display correction as:

    Click image for larger version

Name:	VfbSettings.jpg
Views:	671
Size:	39.9 KB
ID:	1178414

    When saving in .png file we ovveride gamma 1.

    When uploading those images on web players or even with windows picture viewer we don't have the same result between VFB and these applications.

    If I save an exr file and apply the ACES profile in NUKE I have a correct result.

    To try to understand the difference between vray and Nuke We saved 2 png files with ACES Collapsed and checked the metadata the result:

    Click image for larger version

Name:	MetadataNukevsVray.jpg
Views:	669
Size:	73.3 KB
ID:	1178415

    To try a bit further I tried to render a random image but with sRGB Primaries under the colormanagement tab and the metadata looks more like in Nuke and no matter on wich support I preview the file the result is consistent.

    Click image for larger version

Name:	MetadataVraysRGB.jpg
Views:	674
Size:	18.9 KB
ID:	1178416

    It looks like when saving with VFB with a view transform saved in image, the color space is wrong.


    Thank you!

    Jordan
    ​​​

    Comment


    • #3
      Your workflow should be correct. Most likely the applications you're previewing with are applying another sRGB curve. I'm getting identical .png vs VFB results when saving the .png with baked view transform and gamma 1. For a preview, I used Chaos Player (PS works fine too) and set the Color Space to sRGB (so that it does not apply a curve). Also, I don't think looking up the metadata for .pngs is of any use - not sure if .pngs can even store such data.
      Last edited by hermit.crab; 20-04-2023, 01:07 AM.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Yes if I preview in ChaosPlayer I don't have any issue but its pretty much the only software where I get a proper result.

        For a little bit of context, our Artist need to upload their review image on our web server. If I upload the .png from nuke I don't have colors issue, if I upload the .png from the VFB colors don't match vfb.

        To try It on your own you can drag any png file from VFB in a google Tab.

        I can provide both .png files if you need

        Comment


        • #5
          I have a few questions to try and unravel this:
          What's the Max and V-Ray versions you're working with?
          What did you check the metadata with?

          The screenshots don't look like nuke, we'd like to use the same tools as you did for the sake of consistency of results.

          There are things that don't quite look right to me: f.e. you can't expect an ACES-primaries saved image (you seem to do so in the VFB) to display properly outside of ACES-compatible applications (i.e. the VFb or Nuke will display it right, surely not a web page or windows paint, as they aren't OCIO managed.).

          Alas, without more info i can't be sure of anything.
          If you have a prepared max scene that renders something the way you expect it, please send it over (along with the OCIO config you are using for it.).
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment


          • #6
            Hey!

            - We are currently working with Max2023 and V-Ray 6.00.08
            - We checked the metadata using ImageMagick in linux with this command " identify -verbose/.yourimage.png

            The screenshots are the result of this command.

            We don't expect a pixel perfect result saving png files with ACES collapsed and upload it in web application but we should have a much closer look of what we have in the VFB (if we upload the png file from nuke on web browser we have a much more convincing result compared with the png saved from VFB).

            I've worked with the workflow as mentionned above.

            I'll attach a basic scene with a Macbeth chart

            2 png files :

            1 VrayMacBeth.png - is saved from VFB with Save in image checked.
            2 NukeMacBeth.png - this one is created with an EXR file saved from the VFB and ACES converted in Nuke then saved in .png

            of course we use the same OCIOProfile in both software.

            As you can see if you drop these image in a web browser or even in ChaosPlayer they don't look the same at all (From my understanding they should be).

            I've attached the OCIO Profile used.

            Just to illustrate it in the forum:

            Both png files viewed in chaos player
            Click image for larger version

Name:	ComparaisonChaosPLayer.png
Views:	390
Size:	1.72 MB
ID:	1178599
            Both png files viewed in web browser

            Click image for larger version

Name:	ComparaisonWebBrowser.png
Views:	343
Size:	3.44 MB
ID:	1178600
            Tell me if you need anything else!

            Thank you​​

            I've uploaded a wetransfer for the file

            Comment


            • #7
              I find many non-pro applications expect a png to be saved with a gamma tag of 2.2 or they covert it to such for display.

              Comment


              • #8
                It looks like you're saving an sRGB encoded (i.e. gamma 2.2) png from nuke, and a linear one from the VFB.
                Nuke will show them to be identical on load, and behave identically too for the same load settings (raw or sRGB).
                A browser may instead expect it as sRGB, load it linear, and show it brighter as a result.

                Bake the gamma in the PNG (in post, as ACES doesn't have the option for 8/16 bit integer files) and you'll be fine.
                Lele
                Trouble Stirrer in RnD @ Chaos
                ----------------------
                emanuele.lecchi@chaos.com

                Disclaimer:
                The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                Comment


                • #9
                  So, it is impossible to bake the gamma in the PNG directly in the VFB?

                  Comment


                  • #10
                    Originally posted by jordan_dubosc View Post
                    So, it is impossible to bake the gamma in the PNG directly in the VFB?
                    The ACEScg display transform includes the display correction the 2.2 gamma serves under sRGB (so much so you see the render correctly in the VFB on an sRGB display, while the display correction says "OCIO", not Gamma, nor sRGB. The view transform is responsible for it.).
                    As mentioned in my initial post, the issue is with non OCIO-managed applications, like a browser.
                    You could possibly force an additional 2.2 gamma in the VFB by using a curve approximating it as CC, or ofc as a LUT.
                    Last edited by ^Lele^; 25-04-2023, 08:27 AM.
                    Lele
                    Trouble Stirrer in RnD @ Chaos
                    ----------------------
                    emanuele.lecchi@chaos.com

                    Disclaimer:
                    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                    Comment


                    • #11
                      Oh okay got it, so if we want to use only the VFB we have to use either a curve or a LUT or we'll have to do a post render automation to convert and save it.

                      Pretty clear now thank you for your insight.

                      Jordan

                      Comment


                      • #12
                        3dsMax2024 solves this issue with pngs.
                        in 2023 I would just save to jpeg or some other format that does not carry gamma info. tiff if you need it loseless?
                        Marcin Piotrowski
                        youtube

                        Comment


                        • #13
                          It looks like the image format doesn't matter and I can't upgrade to max2024 unfortunetly.

                          We will propably use OpenColorIO for our web color management for now I just did a script in the ChaosPlayer API to Open/save image as PNG with ACES collapsed it did the trick, and users don't have extra manipulation to submit images for review

                          Comment

                          Working...
                          X