Working with Filmic in NUKE

Saturday, July 1, 2017

In NUKE, you can hit the S key to go in the Project Settings.

When you switch from one config to another you'll sometimes need to save ans reload NUKE, I usually get errors...


Display the scene linear data through the View Transform:

You can choose between the different Filmic looks like "Filmic Base Contrast", "Filmic Medium High Contrast" and so on... It is up to you.

Render what we see in the View to a display referred file (sRGB):

A View Transform is just here to bend the data in the View but not in the file. Now we have to bake the data in the file to render it properly.
To do that you'll have to create two nodes in NUKE:

OCIO Colorspace:

OCIO FileTransform:

This process is exactly replicating what the Filmic Base Contrast is doing in the View Transform but on the data.

Here is a NUKE script that contains a group with those two nodes so you can copy and paste it in your tree:

Group {
 name bakeOCIO1
 selected true
 xpos -780
 ypos -81
 Input {
inputs 0
name Input1
xpos 840
ypos 409
 OCIOColorSpace {
in_colorspace Linear
out_colorspace "Filmic Log Encoding"
name OCIOColorSpace1
tile_color 0x5361dbff
xpos 840
ypos 479
 OCIOFileTransform {
file Z:/Dropbox/Softwares/OCIO/filmic-blender-dev-extra/looks/Filmic_to_0-70_1-03.spi1d
working_space Linear
name OCIOFileTransform1
tile_color 0xba50b5ff
xpos 840
ypos 549
 Output {
name Output1
xpos 840
ypos 619
 StickyNote {
inputs 0
name StickyNote1
tile_color 0xcc57c7ff
label "base contrast"
note_font_size 30
xpos 634
ypos 540

Be sure to change the path in the OCIO FileTransform node.

To enter in a Group node in NUKE: ctrl + Enter.

Here is a little sum up of the process in one image: