Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

create "looks" ocio config - ACES transform problem (Resolve 14 ACEScc LUT --> Maya)

149 views
Skip to first unread message

Joachim Dieplinger

unread,
Mar 9, 2018, 11:15:02 AM3/9/18
to OpenColorIO Users
Hello,

we are currently trying to introduce ACES to our VFX pipeline at our small studio.
I'm fairly new to ACES but already a fan of it. I claim to understand the basic theory of it, and combined with OCIO the management of color spaces for various applications seems pretty smooth so far.
But I'm struggeling when it comes to creating a look within the OCIO config based on 3D LUTs exported from Resolve.

I want to create a display view in my config, that contains the pre-grade LUT from Resolve as well as the main ODT. 
The main goal is, that this display view can be selected within Maya or Nuke then as the view transform, and should give a preview of the final grade for CG-Work and Compositing.
But there is a problem in Maya and Nuke when I select the custom OCIO-view that contains the Look. 

Let me describe the problem in detail.
So here is the description of our workflow and the steps taken so far:

DaVinci Resolve 14 (Working Color Space: ACEScc)
  1. footage imported from camera and transformed to ACES via corresponding IDT. 
  2. ODT is set to sRGB appropriately for our monitors.
  3. primary balance grade is made for the shot (only basic color correction, no masks or secondary effects).
  4. then we export the shot without the grade and ODT turned off as 16 bit float EXRs in ACES2065-1 color space. This is the main intermediate file for interchange and further CG- and Compositing Work.
  5. the grade is exported separately as a 3D LUT .cube-file
    Note:
    With DaVinci Resolve 14 they fixed the problem that the ODT transform was included in the exported LUT. Now only the grade operation, without the ODT gets exported correctly!
    That means, since we were working in ACEScc that LUT can only be applied correctly to footage in an ACEScc working space, as far as I understand?


OCIO, MAYA 2017, Nuke 11 (Working Color Space: ACEScg using OCIO and ACES 1.0.3 config)
  1. I imported the shot-EXR and put it on a backplate in Maya. The input color space for it is set to ACES2065-1. The working rendering color space is set to ACEScg. All good so far.
  2. Then I created a custom ocio config, where i added a new display view and a look that should be used. Here is a snippet of the relevant parts:


    search_path
    : luts/previewLuts_01:luts

    displays
    :
      ACES
    :
        
    - !<View> {name: sRGB, colorspace: Output - sRGB}
        
    - !<View> {name: Rec.709, colorspace: Output - Rec.709}
        
    - !<View> {name: Rec.709 D60 sim., colorspace: Output - Rec.709 (D60 sim.)}
        
    - !<View> {name: sRGB D60 sim., colorspace: Output - sRGB (D60 sim.)}
        
    - !<View> {name: Raw, colorspace: Utility - Raw}
        
    - !<View> {name: Log, colorspace: Input - ADX - ADX10}
        
    - !<View> {name: VFX-PreGrade_LUT, colorspace: ACES - ACEScc, 
                   looks
    : dailies_LUT}

    looks:
    - !<Look>
      name
    : dailies_LUT
      process_space
    : ACES - ACEScc
      transform
    : !<FileTransform> {src: preview_LUT_ACEScc_v01.cube, interpolation: linear}


  3. Now, in Maya I can select the VFX-PreGrade_LUT as view transform then, but the output is not working correctly. It looks like a log picture - like ACEScc space, which seems logical since I declared it as the colorspace for the view, because the look needs that space. But in the end i need a sRGB colorspace to view it correctly again. So how can I achieve that within one view transform that I can select in Maya or Nuke? I don't know which exact transforms to use and in what order to achieve the desired result?

So here is my problem/question summoned up:
Is it possible to create a transform chain for one display view, to combine a Look Transform (based on a LUT within ACEScc) and a Output Device Transform (to sRGB) within the ocio config?

So the order should look something like this:
  1. Linear to ACEScc
  2. Apply Pre-Grade 3D-LUT from Resolve 
  3. ACEScc to linear
  4. linear to sRGB
?


I hope, the description of my problem is understandable and maybe someone ran into the same issue before.
Any help would be really appreciated. Thanks!

Respectfully,
Joachim












Screenshot_DaVinci.png
Screenshot_Maya_config.png

Patrick Hodoul

unread,
Mar 9, 2018, 11:28:56 AM3/9/18
to OpenColorIO Users
Hi Joachim,

Few months ago, I fixed a problem related to the looks in Maya/OCIO.
Depending of your Maya version it could explain all or part of the difference.

Please contact the Maya tech. support to have information about the 'fixed' Maya version.

Regards,
Patrick

Joachim Dieplinger

unread,
Mar 9, 2018, 12:00:18 PM3/9/18
to OpenColorIO Users
Hi Patrick,

thanks for your response!

So you can confirm that my approach should basically work and should be displayed correctly?

Which is 
- put a LUT that expects ACEScc input into the looks definition of the ocio config, with process space set to ACEScc


looks:
- !<Look>
  name
: dailies_LUT
  process_space
: ACES - ACEScc
  transform
: !<FileTransform> {src: preview_LUT_ACEScc_v01.cube, interpolation: linear}


- create a custom view with color space set to ACEScc and a reference to the look definition

  - !<View> {name: VFX-PreGrade_LUT, colorspace: ACES - ACEScc, 
               looks
: dailies_LUT}

Thanks for your help!
Best,
Joachim

doug

unread,
Mar 9, 2018, 2:37:22 PM3/9/18
to ocio-...@googlegroups.com
Hi Joachim -

I think the main cause of your problem is in the !<View>. The colorspace attribute should not be ACEScc there, it should be the ACES Output colorspace, like your other views. You already set the process_space to ACEScc in your !<Look>, the !<View> needs to go to the output space.

best,

Doug Walker
Autodesk


Joachim Dieplinger

unread,
Mar 12, 2018, 4:43:59 AM3/12/18
to OpenColorIO Users
Hey Doug,

thank you very much for your response! It's finally working! 
Now that you've mentioned it, the mistake is actually pretty obvious to me :D
Thanks for that eye-opener!

Working in Maya 2017 update 4 - just switched the colorspace for the !<View> to "Output - sRGB"

Best,
Joachim
Reply all
Reply to author
Forward
0 new messages