Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
640 stars 151 forks source link

Fusion 9.02 Rendernode implementation #71

Closed unexpectedphlip closed 6 years ago

unexpectedphlip commented 6 years ago

Hi Guys,

i'm trying to implement cryptomatte on our rendernode installations. But i'm not able to get it working, as the installation instruction does not fit the circumstances of a rendernode installation.

I guess the issue itself is related to the LUA_PATH variable or package.path which seems to be ignored by Fusion. As the Rendernode shows an error which says cryptomatte_utilities.lua not found.

This even appears when i tried to: set the LUA_PATH Windows environmental variable Set package.path fusion variable

Copied all the files as described in the readme, but replaced the folder paths: "C:\Program Files\Blackmagic Design\Fusion 9\" with "C:\Program Files\Blackmagic Design\Fusion Render Node 9\" I had to create the subfolders for "config" and "lua" as they didn't exist.

I tried the workaround where you have to copy the cryptomatte_utilites.lua to "C:......\AppData\Roaming\Blackmagic Design\Fusion\Modules\Lua".

Your script could safe us a lot of work if we would be able to use it on our renderfarm :)

Best regards, Philipp

AndrewHazelden commented 6 years ago

Hi @unexpectedphlip.

You might consider this Cryptomatte installation solution listed on the Fusion user community site steakunderwater:

https://www.steakunderwater.com/wesuckless/viewtopic.php?p=14513#p14513

unexpectedphlip commented 6 years ago

Hi Andrew,

Thanks for your fast response. i've installed reactor on one of our workstations then i've set the REACTOR_INSTALL_PATHMAP and set it to a path on a networkdrive. Then i've moved the folder C:\programData\Blackmagic Design\Fusion\Reactor\ to the desired location.

Installed cryptomatte, but there were no files created on our networkpath, i'm not able to find the cryptomatte.fuse or cryptomatte_utilities.lua in any location.

C:\Program Files\Blackmagic Design\Fusion 9\Fuses C:\ProgramData\Blackmagic Design\Fusion\Fuses C:\Users\Stefan.Bucher\AppData\Roaming\Blackmagic Design\Fusion\Fuses Z:\UTILITY\TOOLS\Reactor\Deploy\Fuses

But it seems to be existing somewhere on the workstation as i'm able to create a cryptomatte object?

Regards, Philipp

AndrewHazelden commented 6 years ago

But it seems to be existing somewhere on the workstation as i'm able to create a cryptomatte object?

If you are interested in seeing details about all of the installed Fuses on a Fusion workstation you can use a Reactor package called “Fuse Scanner”. It is found in the “Scripts/Reactor” category.

If you want to see the environment paths and other settings that are active in Fusion on your system you can use the "Fusion Diagnostics Tool":

https://www.steakunderwater.com/wesuckless/viewtopic.php?p=10892#p10892

Alternatively the "Fusion Diagnostics Tool" can be found in Reactor using the Reactor package called "UI Manager Lua Examples" which is in the "Scripts/Comp" category.

Fusion's Render Node program, that is accessible in your system tray, has a set of PathMap settings in its preferences that are used to define where Fusion looks for files on disk. These options are written to a .prefs file in your Profile:/ PathMap location.

If you compare your Fusion Studio/Fusion (Free) preferences PathMap settings to what is configured on in the Fusion Render Node you will likely find the answers you are looking for.

If you need help you could attach a screenshot of those two PathMap settings windows here, or email a copy to me using my andrew@andrewhazelden.com email address and I can help you through the process.

jonahfriedman commented 6 years ago

Thanks everyone, I've labeled this as a question, and I think it's been answered, so I'm going to close it. Feel free to keep adding more information if there's something that should be here.