darbyjohnston / DJV

Professional media review software for VFX, animation, and film production
https://darbyjohnston.github.io/DJV/
BSD 3-Clause "New" or "Revised" License
695 stars 59 forks source link

Unsupported transform type !<BuiltinTransform> in OCIO profile #460

Closed festivities closed 2 years ago

festivities commented 2 years ago

Hi, I'm getting an error whenever I try to load Blender's OCIO configuration file.

ERROR: Error: Loading the OCIO profile 'C:\Program Files\DJV2\etc\Color\blender\config.ocio' failed. Unsupported transform type !<BuiltinTransform> in OCIO profile.

festivities commented 2 years ago

It seems that the OCIO config for Blender was modified back in 3.1 and as a result doesn't work with DJV now. Here's a band-aid fix which I don't know if it will affect the colors but here it is:

Replace

        - !<BuiltinTransform> {style: "UTILITY - ACES-AP0_to_CIE-XYZ-D65_BFD", direction: inverse} 

at line 103 with:

        - !<FileTransform> {src: xyz_D65_to_E.spimtx, interpolation: linear}
        - !<FileTransform> {src: xyz_to_aces.spimtx, interpolation: linear}

The files referenced in the latter are still present in the latest versions of Blender so it will work but I don't know if the colors will be affected.

K1NG-rgi commented 2 years ago

Alternatively, you can reinstall blender 3.0.x and use that OCIO config file. That way you won't interfere with your current blender version's colour management, but DJV will use a slightly outdated OCIO config file.