Nuke Grade > OCIOCDLTransform

887 views
Skip to first unread message

Ashley Retallack

unread,
May 2, 2014, 5:31:44 AM5/2/14
to ocio-...@googlegroups.com
Hi guys,

Is it possible to translate a nuke grade node to cdl transform values?

Cheers

Ash

--
Ashley Retallack | Pipeline Engineer 

BlueBolt Ltd | 15-16 Margaret Street | London W1W 8RW | T: +44 (0)20 7637 5575 | F: +44 (0)20 7637 3296 | www.blue-bolt.com |

Deke Kincaid

unread,
May 2, 2014, 1:18:45 PM5/2/14
to ocio-...@googlegroups.com
CDL is limited to a set of operations in a specific order.  Slope(multiply/gain), Offset and Power(gamma) and Saturation.

Here is the formula for it from wikipedia, though it is missing saturation so it is the old CDL format.
out = (i \times s+o)^p\,

You can bake a lut but CDL depends on what you are doing in the grade node it may or may not translate.  I would have to check the order of operations the grade node does them in.  Why not just use the OCIOCDLTransform node to do the actual color correction if you want to output a CDL?  It has all the controls you can modify by hand.


--
You received this message because you are subscribed to the Google Groups "OpenColorIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diogo Girondi

unread,
May 2, 2014, 2:48:02 PM5/2/14
to ocio-...@googlegroups.com
I may be wrong but I guess the operation order of the Grade node in Nuke follows the knob order from the panel.
  1. Black point/White point
  2. Lift
  3. Gain
  4. Multiply
  5. Offset
  6. Gamma

Case it's feasible for you the 3Way color corrector from Jack's J_Ops for Nuke outputs CDL files.


Cheers,
Diogo

Ashley Retallack

unread,
May 6, 2014, 4:20:24 AM5/6/14
to ocio-...@googlegroups.com
the issue is more of an education thing. Some of the senior compers here find it easier to create a neutral grade using the black an white point on a grade node than to use the CDL transform.

I have tried outputting a 3dl from their grade node, however, this gets clamped by the ocioFileTransform (as opposed to the vectorField Node in nuke) So I need a good way of applying a working neutral grade and reversing it at the end so we out put a dpx in the correct manor.


Reply all
Reply to author
Forward
0 new messages