Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple improvements from code review
1. The OCIO Look property has been removed as this information is part of a View. 2. The Native mode header has been simplified, removing unnecessary aliases and the role mappings. DisplayName has been changed to Label. 3. The definition of core colourspaces has been changed to no longer depend on the OCIO cg config. genColour has a list of core colourspaces, now including HDR colourspaces as requested by @SonyDennisAdams. 4. New roles have been added for sdr_video and hdr_video. These are arbitrarily mapped but the intention is that plug-ins use them to request any sdr/hdr video colourspace. 5. The colourspace header now includes docs for roles, explaining their meaning. 6. The new genOCIOConfig script produces an OpenFX OCIO config, which includes the above changes. Hosts should ship this config so that even with running in Native mode, they can supply it to a plug-in that uses OCIO, via kOfxImageEffectPropOCIOConfig. This config is now used to produce the colourspace header. 7. A config generated by the above script is included as well - I put it in include for now but it could go elsewhere. Signed-off-by: John-Paul Smith <[email protected]>
- Loading branch information