Announcement

Collapse
No announcement yet.

Comping ACEScg renders in Photoshop

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

  • Comping ACEScg renders in Photoshop

    Hi,

    In this thread I will talk about comping ACEScg renders in Photoshop. This is a follow up on my ACES workflow in Vray for Modo
    Photoshop doesn't support OCIO and most of the tools don't work in 32 bit. So this is more like a hack for working with ACEScg in Photoshop, typically you need something like Nuke, Fusion, Resolve or After Effects.. as they have proper color management and proper toolset for dealing with float EXRs.

    Thanks to Simon Bjork for his help with this thread.


    Notes about how Photoshop deals with Linear EXRs:

    -Photoshop reads Float 16bit/32bit EXRs linearly, then it uses its own sRGB view transform to display the image. This sRGB view transform you cannot change or control unfortunately. We will get around this issue by creating our proper view transform.

    -Photoshop 16bit mode uses integer, not float, so if you load half-float EXR you will be in 32 bit mode, and if you downgrade to 16bit it will be in integer mode so they will not match.


    Dealing with ACEScg EXRs:

    -Download OpenColorIO plugin for Photoshop CC here. Copy the file to your Photoshop plugin folder

    Code:
    C:\Program Files\Adobe\Adobe Photoshop 2020\Plug-ins
    -You can access the plugin inside Photoshop under Filter menu

    Click image for larger version  Name:	Screenshot_21.jpg Views:	1 Size:	84.6 KB ID:	1069928

    -Now lets open up an ACEScg EXR and see how this works, navigate to the OpenColorIO plugin in the filter menu. You will see this UI
    Click image for larger version  Name:	Screenshot_22.jpg Views:	1 Size:	44.8 KB ID:	1069929

    -Navigate to your ACES folder, in my case I'm using ACES 1.2
    Input Space should be ACEScg, because my linear render uses ACEScg primaries
    And for Output Space, pick your Output Transform that you used in the Vray Frame Buffer. In my case it is Output - sRGB which is basically (ACES)sRGB View Transform. I talked about this in details here

    Click image for larger version  Name:	Screenshot_23.jpg Views:	1 Size:	66.5 KB ID:	1069930

    -We are gonna export a LUT for our Output Transform. Click on Export and set LUT type to .csp
    Pick a path for your LUT and click Save.


    Click image for larger version  Name:	Screenshot_24.jpg Views:	1 Size:	97.8 KB ID:	1069931

    -After saving the LUT close the OpenColorIO UI, don't click on OK because we don't need the colorspace conversion.
    -Now lets load our LUT using a Color Lookup. Navigate to the path you saved your .csp LUT

    Click image for larger version  Name:	Screenshot_26.jpg Views:	1 Size:	231.8 KB ID:	1069932

    -Now we need to counter the sRGB view transform that Photoshop uses by default. We can export another LUT using these settings,





    -Add another ColorLookup, and load Inverse_sRGB.csp



    The render now should exactly match what you have in the VFB

    -it is very important to note that the 2 LUTs are basically your View Transform in Photoshop. This means you need to keep them always at the top of the stack, so any adjustments you do in 32 bit has to be under these 2 layers. This is important for Linear workflow, if you will comp light AOVs

    -I will group the 2 LUTs now and name them View Transform.




    -When you are done with your 32 bit adjustments you have 2 options. You can collapse the stack into one layer and go to 8 bit mode for final retouching. Another option if you still need to keep your image in Linear ACEScg colorspace, in this case just delete the view transform group then export an EXR (to use in Nuke or Resolve or whatever)

    Alex Fry's method:

    -He explained a different workflow in this post and it doesn't require the OpenColorIO plugin.
    -Download this ICC profile
    -Restart PS and lets open an ACEScg EXR, I will use the same one from the last example.
    -Edit menu > Assign Profile and choose the ICC we just installed



    -Now download this LUT by Alex Fry, And load it in a Color Lookup layer





    Now it should match the Frame Buffer 1 to 1 , but problem with Alex Fry's method is that it is limited to ACES sRGB View Transform. I don't know how he generated the LUT, but it is an easier/better workflow in my view compared to OpenColorIO plugin.

    Keep in mind that this workflow is a hack, only use if you don't have access to Nuke or Fusion or Resolve. Photoshop is very limited in dealing with linear EXRs and it doesn't have any color management.
    Let me know if you have questions.

    Best,
    Muhammed
    Last edited by Muhammed_Hamed; 04-06-2020, 04:08 PM.
    Muhammed Hamed
    V-Ray GPU product specialist


    chaos.com

  • #2
    Thank you for doing this. I'm looking forward to going through it.

    Comment


    • #3
      thankyou for this!
      --=============--
      -DW
      -buck.co
      --=============--

      Comment


      • #4
        Hi Muhammed

        We are trying to follow your workflow and cant seem to get it to look the same in the vray FB and photoshop.

        We are using maya 2018 and vray 5

        My setup in maya looks like this

        Click image for larger version  Name:	mayasetup.JPG Views:	0 Size:	220.6 KB ID:	1085329

        the next image i have two photoshop documents open, 1 a jpg saved from the VFB that looks identical as the image in VFB and another following your process but it gets very dark.

        Click image for larger version  Name:	COMPARISON.JPG Views:	0 Size:	731.1 KB ID:	1085330

        Wierdly if i add a gamma of 1.39 over the top of the two colour look ups i get closer to the jpg, but this seems a little arbituary. I was wondering if you could help

        I can upload the psd, jpg for comparism to what is viewed on the VFB and the two .csp files if thats of any use

        thanks

        matt

        Comment


        • #5
          here are the files if you are interesting in taking a look

          https://www.dropbox.com/s/477vhfr0p9tbm7g/test.rar?dl=0

          thanks

          matt


          Comment


          • #6
            Hello matthew999
            I loaded your EXR into the Frame buffer, it looks different to how it looks in your frame buffer
            this is not expected to happen, and it means you are saving your EXR out of Maya incorrectly
            How are you saving it?

            I also checked your LUTs and Photoshop setup, it is correct

            See here,

            Click image for larger version

Name:	Screenshot_29.jpg
Views:	16561
Size:	731.5 KB
ID:	1085370
            Click image for larger version

Name:	Screenshot_28.jpg
Views:	16617
Size:	794.4 KB
ID:	1085371
            Muhammed Hamed
            V-Ray GPU product specialist


            chaos.com

            Comment


            • #7
              Hi Muhammed

              thanks for taking the time to look at my file, here is a screengrab of the exr save settings in render settings, maybe its because im using half float? also in the VFB should i tick the save in image option? both questions circled in red

              Click image for larger version  Name:	exr_settingJPG.JPG Views:	0 Size:	236.5 KB ID:	1085374

              I dropped the render into my history then reloaded the exr into frame buffer and they are identical btw

              thanks

              matt
              Last edited by matthew999; 24-09-2020, 09:19 AM.

              Comment


              • #8
                Hi Muhammed

                It seems to work fine for you, the photoshop screengrab you shared is identical to how the exr looks in your VFB. To set up aces i simply followed the vray guide plus your imput in another thread thats all. EXR settings where left at default. I have tried 32 float, save colour corrections and save in image, non of which give me a consistant result in ps and vfb. It seems that what i am seeing in my VFB is showing the incorrect result. Maybe i should move this to maya forums and ask some devs. i didnt realise i was posting in the modo section.

                cheers

                matt
                Last edited by matthew999; 24-09-2020, 10:09 AM.

                Comment


                • #9
                  matthew999 Hello!
                  Glad you figured out your issue, these things do happen
                  About save in image, this option only works for 8 bit file formats..it doesn't work with EXRs (for obvious reasons, as you wanna keep the workflow linear)
                  And 16 bit float should be fine, I use it for majority of my renders
                  Muhammed Hamed
                  V-Ray GPU product specialist


                  chaos.com

                  Comment


                  • #10
                    Originally posted by Muhammed_Hamed View Post
                    -When you are done with your 32 bit adjustments you have 2 options. You can collapse the stack into one layer and go to 8 bit mode for final retouching.
                    Hey Muhammed,
                    what would you do when you need to convert to 8Bit / 16Bit but want to keep the layers?

                    Florian von Behr
                    CG Supervisor
                    The Scope GmbH
                    Behance

                    Comment


                    • #11
                      Originally posted by TheScope View Post

                      Hey Muhammed,
                      what would you do when you need to convert to 8Bit / 16Bit but want to keep the layers?
                      32 bit mode in PS is float, 16 Bit and 8 Bit use integer..
                      Need to collapse everything before moving to 8 Bit or 16 Bit mode, or else things will break..


                      This workflow is just a hack for those who don't have access to Nuke or Fusion..
                      Muhammed Hamed
                      V-Ray GPU product specialist


                      chaos.com

                      Comment


                      • #12
                        Originally posted by TheScope View Post

                        Hey Muhammed,
                        what would you do when you need to convert to 8Bit / 16Bit but want to keep the layers?
                        smart object. 32bit comp inside of 16bit psd.
                        Marcin Piotrowski
                        youtube

                        Comment


                        • #13
                          Muhammed_Hamed this transform, acescg >>srgb does include ampas tonemapper, right?
                          Marcin Piotrowski
                          youtube

                          Comment


                          • #14
                            Originally posted by piotrus3333 View Post
                            Muhammed_Hamed this transform, acescg >>srgb does include ampas tonemapper, right?
                            Yes, although need to be careful about terminology
                            Click image for larger version

Name:	image_56913.jpg
Views:	13305
Size:	66.3 KB
ID:	1117708
                            The one I named RRT + ODT above, uses the ACES tonemapping
                            Muhammed Hamed
                            V-Ray GPU product specialist


                            chaos.com

                            Comment


                            • #15
                              Originally posted by piotrus3333 View Post

                              smart object. 32bit comp inside of 16bit psd.
                              I don't recommend using this..
                              Muhammed Hamed
                              V-Ray GPU product specialist


                              chaos.com

                              Comment

                              Working...
                              X