Psyop / Cryptomatte

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

Blackmagic Resolve 18 (fusion tab) not supported? #160

Open dvrehen opened 1 year ago

dvrehen commented 1 year ago

The plugin seems to run fine except using the color picker always selects the background ("Background (value RGBA=0000)") as a matte instead of the actual layer with the picked RGBA value.

Runnning the test file, shows 2 tests failing (with the Cryptomatte Sample Images installed using Reactor):

dofile("C:\\ProgramData\\Blackmagic Design\\DaVinci Resolve\\Fusion\\Reactor\\Deploy\\Modules\\Lua\\test_cryptomatte_utilities.lua")
collectings test(s) ...
detected 18 test(s) ...
running tests ...
[  6%] cryptomatte_test__format_log ...                      [OK]
[ 11%] cryptomatte_test__get_absolute_path ...               [FAILED]
...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:96: stack traceback:
    ...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:96: in function 'assert_equal'
    ...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:198: in function <...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:173>
    [C]: in function 'pcall'
    ...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:67: in function 'run_tests'
    ...eactor\Deploy\Modules\Lua\test_cryptomatte_utilities.lua:492: in main chunk
    [C]: in function 'dofile'
    [string "???"]:1: in main chunk
assertion failed: C:/Users/.../AppData/Local/Temp/test.exr != C:\Temp\test.exr
[ 17%] cryptomatte_test__get_absolute_position ...           [OK]
[ 22%] cryptomatte_test__get_channel_hierarchy ...           [OK]
[ 28%] cryptomatte_test__get_log_level ...                   [OK]
[ 33%] cryptomatte_test__hex_to_float ...                    [OK]
[ 39%] cryptomatte_test__is_position_in_rect ...             [OK]
[ 44%] cryptomatte_test__solve_channel_name ...              [OK]
[ 50%] cryptomatte_test__string_ends_with ...                [OK]
[ 56%] cryptomatte_test__string_split ...                    [OK]
[ 61%] cryptomatte_test__string_starts_with ...              [OK]
[ 67%] cryptomatte_test_decode_manifest ...                  [OK]
[ 72%] cryptomatte_test_get_cryptomatte_metadata ...         [OK]
[ 78%] cryptomatte_test_get_matte_names ...                  [OK]
[ 83%] cryptomatte_test_log_error ...                        [OK]
[ 89%] cryptomatte_test_log_info ...                         [OK]
[ 94%] cryptomatte_test_log_warning ...                      [OK]
[100%] cryptomatte_test_read_manifest_file ...               [FAILED]
...ion\Reactor\Deploy\Modules\Lua\cryptomatte_utilities.lua:737: attempt to concatenate a nil value
Aldar-z commented 1 year ago

Hi! Did you solve that problem?

hahmad87 commented 5 months ago

Hi, I've got the same issue in Fusion 18. On some objects the crypto_asset works fine by selecting the object through the picker whereas on others I get "Background (value RGBA=0000)" and it just selects the background. Any solutions to this? Cheers