Announcement

Collapse
No announcement yet.

What about we ditch AcesCG and use AgX ?

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

  • What about we ditch AcesCG and use AgX ?

    here's why : AgX in Blender 4.0. It's coming, are you ready? - YouTube​​

  • #2
    I couldn't agree more!
    AGX is only a tonemapper, so it should be somewhat easy to implement into Vray

    Comment


    • #3
      Originally posted by frederik_stergaard View Post
      I couldn't agree more!
      AGX is only a tonemapper, so it should be somewhat easy to implement into Vray
      It's a single 1d LUT with a dedicated OCIO config.
      It seems to work fine as it is, it only expects a linear BT.709 colorspace as input, and offers three view transform options.
      It has other little things but i am unsure as to what you'd like us to develop.
      Click image for larger version

Name:	image.png
Views:	827
Size:	11.0 KB
ID:	1193194
      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


      • #4
        Thanks for that link. That was an excellently informative piece with clear conclusions.
        The explanation of everything is probably the best and most understandable I've come across to date.
        https://www.behance.net/bartgelin

        Comment


        • #5
          Originally posted by ^Lele^ View Post
          It's a single 1d LUT with a dedicated OCIO config.
          It seems to work fine as it is, it only expects a linear BT.709 colorspace as input, and offers three view transform options.
          It has other little things but i am unsure as to what you'd like us to develop.
          Click image for larger version

Name:	image.png
Views:	827
Size:	11.0 KB
ID:	1193194
          Hi Lele

          You guys developed Filmic into Vray. Why not do the same with AGX?
          I know it is as "simple" as loading the OCIO file and make sure all the settings are according to your image, but why not just implement AGX into Vray itself from the beginning, so users have easier access to the tonemapper?
          I would imaging that it would be a layer that you load into the VFB, just like you do with Filmic at the moment.

          Filmic was a game changer when it first came out, but it took Chaos ages to implement it into the software.
          Blender pretty much implemented it from day 1, and everybody loved it.
          Now AGX is on the rise and looks more capable than Filmic.

          Optimally everybody would use ACES, but it is too much a hassle to set up correctly and you have to double check all the bitmaps in the Mat Editor and make sure all the color settings are correct.
          Of course all of this can be avoided by naming all the texture files correctly, but that is a HUGE task that very few studios have time for.

          AGX is like the perfect middle solution, since it's a Tonemapper and not a color system. It delivers the same kind of colors as ACES, just without all the chaotic bitmap management.


          Hope it makes sense.

          Comment


          • #6
            Originally posted by frederik_stergaard View Post

            Hi Lele

            You guys developed Filmic into Vray. Why not do the same with AGX?
            I know it is as "simple" as loading the OCIO file and make sure all the settings are according to your image, but why not just implement AGX into Vray itself from the beginning, so users have easier access to the tonemapper?
            I would imaging that it would be a layer that you load into the VFB, just like you do with Filmic at the moment.

            Filmic was a game changer when it first came out, but it took Chaos ages to implement it into the software.
            Blender pretty much implemented it from day 1, and everybody loved it.
            Now AGX is on the rise and looks more capable than Filmic.

            Optimally everybody would use ACES, but it is too much a hassle to set up correctly and you have to double check all the bitmaps in the Mat Editor and make sure all the color settings are correct.
            Of course all of this can be avoided by naming all the texture files correctly, but that is a HUGE task that very few studios have time for.

            AGX is like the perfect middle solution, since it's a Tonemapper and not a color system. It delivers the same kind of colors as ACES, just without all the chaotic bitmap management.


            Hope it makes sense.
            I think it needs the OCIO config to work, the LUT (i.e. the tonemapping part) without the transforms the config holds wouldn't work.
            It's also not editable, one can only pick and choose, and at most blend, as it's not procedural, but deterministic (i.e. it doesn't have knobs to tweak, unlike, f.e., Filmic.).
            As such, it's highly unlikely it could work besides the rest of the (wholly procedural) tonemappers.

            Given it's exclusive with the use of ACES, the provided ocio config and LUT seem to work just fine, don't you think?
            The devs are reading this, rest assured, it's just that it's not obvious what should be done on our side, besides allowing you to use it in its current form.
            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


            • #7
              Originally posted by ^Lele^ View Post
              I think it needs the OCIO config to work, the LUT (i.e. the tonemapping part) without the transforms the config holds wouldn't work.
              It's also not editable, one can only pick and choose, and at most blend, as it's not procedural, but deterministic (i.e. it doesn't have knobs to tweak, unlike, f.e., Filmic.).
              As such, it's highly unlikely it could work besides the rest of the (wholly procedural) tonemappers.

              Given it's exclusive with the use of ACES, the provided ocio config and LUT seem to work just fine, don't you think?
              The devs are reading this, rest assured, it's just that it's not obvious what should be done on our side, besides allowing you to use it in its current form.
              Interesting!

              I see your point, wouldn't make sense if you can't tweak the result.

              Just to be clear, wouldn't i need to convert the color profile from Linear --> Linear BT.709 using the ACES OCIO, and then convert again from BT.709 --> sRGB in order for AGX to be presented correctly, or can i use the setup like you showed in the screenshot?

              Comment


              • #8
                Originally posted by frederik_stergaard View Post

                Interesting!

                I see your point, wouldn't make sense if you can't tweak the result.

                Just to be clear, wouldn't i need to convert the color profile from Linear --> Linear BT.709 using the ACES OCIO, and then convert again from BT.709 --> sRGB in order for AGX to be presented correctly, or can i use the setup like you showed in the screenshot?
                The two linear options are one and the same that i know of:the primaries are identical, at the very least.
                There may be fairly minor differences with the sRGB color matrix, but they wouldn't likely be noticeable, and surely not math-breaking. (edit: there are slight gamma differences, a 2.2 for sRGB vs. a 2.0 for Bt. 709.)
                The setup i used, with sRGB primaries for the renderer worked pretty much as expected (for a 1D LUT) and as shown in the samples: it worked great in specific parts (those that somehow matched the LUT's expected ranges), and was pretty bad in others (those out of the expected gamut).
                see here:

                sRGB
                Click image for larger version  Name:	image.png Views:	0 Size:	4.20 MB ID:	1193217
                Rec. 709
                Click image for larger version  Name:	image.png Views:	0 Size:	4.10 MB ID:	1193218
                ​AgX
                Click image for larger version  Name:	image.png Views:	0 Size:	4.34 MB ID:	1193219
                ​AgX Punchy
                Click image for larger version  Name:	image.png Views:	0 Size:	4.20 MB ID:	1193220
                Agx Golden:
                Click image for larger version  Name:	image.png Views:	0 Size:	4.22 MB ID:	1193221​​
                Last edited by ^Lele^; 16-10-2023, 07:02 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


                • #9
                  Originally posted by ^Lele^ View Post
                  The two linear options are one and the same that i know of:the primaries are identical, at the very least.
                  There may be fairly minor differences with the sRGB color matrix, but they wouldn't likely be noticeable, and surely not math-breaking. (edit: there are slight gamma differences, a 2.2 for sRGB vs. a 2.0 for Bt. 709.)
                  The setup i used, with sRGB primaries for the renderer worked pretty much as expected (for a 1D LUT) and as shown in the samples: it worked great in specific parts (those that somehow matched the LUT's expected ranges), and was pretty bad in others (those out of the expected gamut).
                  see here:


                  ​​
                  there is bit more to AgX:
                  - srgb input goes through colour matrix (so with a bit of imagination you can consider it "AgX colorspace")
                  - that gets encoded into log space called Kraken (pretty ugly log for my taste, range 0.000175... to 16.291742...)
                  - only then the 1Dlut in the config puts this log onto a display - AgX Base, a very neutral look, lacking quite a bit of contrast if you're coming from aces odts but providing a great, well, Base.​
                  Marcin Piotrowski
                  youtube

                  Comment


                  • #10
                    you can play with AgX and ACEScg with this setup:
                    Render with ACEScg and experiment with AgX on top. - Chaos Forums

                    if you do not want to tinker with adjusting primaries you can find some AgX ocio configs that added ACES colour spaces on github.

                    and for just comparing aces odt with AgX - use this config with added "aces contrast lut":
                    https://forums.chaos.com/forum/v-ray...16#post1192616
                    Marcin Piotrowski
                    youtube

                    Comment


                    • #11
                      Originally posted by piotrus3333 View Post

                      there is bit more to AgX:
                      - srgb input goes through colour matrix (so with a bit of imagination you can consider it "AgX colorspace")
                      - that gets encoded into log space called Kraken (pretty ugly log for my taste, range 0.000175... to 16.291742...)
                      - only then the 1Dlut in the config puts this log onto a display - AgX Base, a very neutral look, lacking quite a bit of contrast if you're coming from aces odts but providing a great, well, Base.​
                      With this setup i get *far* too saturated results, making punchy and golden unusable, and the base AgX itself well too harsh. I also get a metric ton of red cast.
                      Admittedly, display Native looks closer to the source with your setup.
                      We'll wait until this is fleshed out properly, and figure out if it's worth pursuing specifically then.
                      Last edited by ^Lele^; 17-10-2023, 07:43 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


                      • #12
                        Originally posted by piotrus3333 View Post
                        you can play with AgX and ACEScg with this setup:
                        Render with ACEScg and experiment with AgX on top. - Chaos Forums

                        if you do not want to tinker with adjusting primaries you can find some AgX ocio configs that added ACES colour spaces on github.

                        and for just comparing aces odt with AgX - use this config with added "aces contrast lut":
                        https://forums.chaos.com/forum/v-ray...16#post1192616
                        With this setup, is it still necessary to convert all the bitmap primaries to ACEScg for everything to behave "correctly"?

                        Comment


                        • #13
                          there is nothing to pursue here. with ocio support there is no need to implement anything. load your config and it’s done.

                          ”too saturated” and “red cast” sounds like srgb input. my VRay VFB layer setup expects acescg. the composite part does the conversion from acescg to lin srgb
                          (edit: plus AgX matrix)
                          , curves creates Keaken Log and ocio on top converts Kraken to whatever you need.
                          Last edited by piotrus3333; 17-10-2023, 08:04 AM.
                          Marcin Piotrowski
                          youtube

                          Comment


                          • #14
                            Originally posted by piotrus3333 View Post
                            ”too saturated” and “red cast” sounds like srgb input. my VRay VFB layer setup expects acescg.
                            Agh, duh me, you're very right.
                            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


                            • #15
                              Originally posted by frederik_stergaard View Post

                              With this setup, is it still necessary to convert all the bitmap primaries to ACEScg for everything to behave "correctly"?
                              sure, regular “acescg in VRay” textures treatment.
                              Marcin Piotrowski
                              youtube

                              Comment

                              Working...
                              X