• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to set output colour spaces when bringing in a material?

New Here ,
May 09, 2023 May 09, 2023

Copy link to clipboard

Copied

We have files with certain suffixes we would like to set the default colour spaces for. For example with "FeathersB_RGH.png", the "_RGH" suffix should set it to "raw" rather than "auto".

 

PeterBZ_0-1683631902030.png

 

We've tried adding file_rules to the .ocio file (as explained here). Here's an example, but we've tried a few variations and none have worked:

file_rules:
  - !<Rule> {name: Roughness, extension: "png", pattern: "*_RGH*", colorspace: RAW}
  - !<Rule> {name: ColorSpaceNamePathSearch}
  - !<Rule> {name: Default, colorspace: default}

 

Our artist even tried specifying it in the Designer project but it still got ignored in the Painter settings. We're using .sbsar files as part of the workflow.

 

Am I able to set this up automatically with code or the ocio file?

TOPICS
Color Management , Scripting

Views

129

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources