Our post-production facility recessives DPX plates with .3dl LUT file from DaVinci Resolve. The LUTs were for two different cameras one of which is ARRI Alexa and another is RED. The task is to apply this LUTs to every dailies rendered by all artists.
First, we need to create a gizmo for each LUT which contain Vector Field Nuke node with the following expression in the “fectorfield file” field.
where “getenv NUKE_LUT” will grab session environmental variable with name “NUKE_LUT” which contain path to the LUTs folder.
Now create a “init.py” file inside you .nuke directory.
The “init.py” file should look something like this
Beside registering gizmo for Nuke Tab menu I also register them as a custom Nuke display LUTs.
Note how the “init.py” script setting a ‘NUKE_LUT’ environmental variable which is hold the path pointing to the current directory plus LUT sub-directory.
After that we should be able to access that variable through the following TCL expression inside of Nuke.
Now we can copy the folder with our LUTs and gizmos within “init.py” to any Windows or IOS machine without worrying about hard-coded path to our LUTs.