Merge pull request #4158 from pypeclub/feature/OP-4404_color-v3-Settings-global-config-with-mapping-and-file-rules

Global: adding imageio to settings
This commit is contained in:
Jakub Ježek 2022-12-12 12:20:51 +01:00 committed by GitHub
commit cd10b7d63b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 761 additions and 201 deletions

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"create": {
"RenderCreator": {
"defaults": [

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"workfile_builder": {
"create_first_version": false,
"custom_templates": []

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"publish": {
"CollectRenderPath": {
"output_extension": "png",

View file

@ -1,5 +1,17 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
},
"project": {
"colourPolicy": "ACES 1.1",
"frameDepth": "16-bit fp",

View file

@ -1,5 +1,17 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
},
"ocio": {
"enabled": false,
"configFilePath": {

View file

@ -1,4 +1,24 @@
{
"imageio": {
"ocio_config": {
"enabled": true,
"filepath": {
"windows": "{OPENPYPE_ROOT}/vendor/bin/ocioconfig/OpenColorIOConfigs/aces_1.2/config.ocio",
"darwin": "{OPENPYPE_ROOT}/vendor/bin/ocioconfig/OpenColorIOConfigs/aces_1.2/config.ocio",
"linux": "{OPENPYPE_ROOT}/vendor/bin/ocioconfig/OpenColorIOConfigs/aces_1.2/config.ocio"
}
},
"file_rules": {
"enabled": false,
"rules": {
"example": {
"pattern": ".*(beauty).*",
"colorspace": "ACES - ACEScg",
"ext": "exr"
}
}
}
},
"publish": {
"CollectAnatomyInstanceData": {
"follow_workfile_version": false

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"load": {
"ImageSequenceLoader": {
"family": [

View file

@ -1,5 +1,17 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
},
"workfile": {
"ocioConfigName": "nuke-default",
"ocioconfigpath": {

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"shelves": [],
"create": {
"CreateArnoldAss": {

View file

@ -1,5 +1,17 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
},
"colorManagementPreference_v2": {
"enabled": true,
"configFilePath": {

View file

@ -10,6 +10,18 @@
},
"imageio": {
"enabled": false,
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
},
"viewer": {
"viewerProcess": "sRGB"
},

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"create": {
"CreateImage": {
"defaults": [

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"create": {
"CreateShotClip": {
"hierarchy": "{folder}/{sequence}",

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"simple_creators": [
{
"family": "workfile",

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"stop_timer_on_application_exit": false,
"publish": {
"CollectRenderScene": {

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"level_sequences_for_layouts": false,
"delete_unmatched_assets": false,
"project_setup": {

View file

@ -1,4 +1,18 @@
{
"imageio": {
"ocio_config": {
"enabled": false,
"filepath": {
"windows": "",
"darwin": "",
"linux": ""
}
},
"file_rules": {
"enabled": false,
"rules": {}
}
},
"timeout_profiles": [
{
"hosts": [

View file

@ -5,6 +5,23 @@
"label": "AfterEffects",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -5,6 +5,23 @@
"label": "Blender",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "schema_template",
"name": "template_workfile_options",

View file

@ -5,6 +5,23 @@
"label": "CelAction",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -11,6 +11,14 @@
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
},
{
"key": "project",
"type": "dict",

View file

@ -11,6 +11,14 @@
"label": "Color Management (ImageIO)",
"collapsible": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
},
{
"key": "ocio",
"type": "dict",
@ -23,6 +31,10 @@
"key": "enabled",
"label": "Set OCIO variable for Fusion"
},
{
"type": "label",
"label": "<b style='color:red'>'configFilePath'</b> will be deprecated. <br>Please move values to : <i>project_settings/{app}/imageio/ocio_config/filepath</i>."
},
{
"type": "path",
"key": "configFilePath",

View file

@ -5,6 +5,23 @@
"label": "Global",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "schema",
"name": "schema_global_publish"

View file

@ -5,6 +5,23 @@
"label": "Harmony",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -5,116 +5,128 @@
"label": "Hiero",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"collapsible": true,
"children": [
{
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsible": false,
"children": [
{
"type": "form",
"children": [
{
"type": "enum",
"key": "ocioConfigName",
"label": "OpenColorIO Config",
"enum_items": [
{
"nuke-default": "nuke-default"
},
{
"aces_1.0.3": "aces_1.0.3"
},
{
"aces_1.1": "aces_1.1"
},
{
"custom": "custom"
}
]
},
{
"type": "path",
"key": "ocioconfigpath",
"label": "Custom OCIO path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "workingSpace",
"label": "Working Space"
},
{
"type": "text",
"key": "sixteenBitLut",
"label": "16 Bit Files"
},
{
"type": "text",
"key": "eightBitLut",
"label": "8 Bit Files"
},
{
"type": "text",
"key": "floatLut",
"label": "Floating Point Files"
},
{
"type": "text",
"key": "logLut",
"label": "Log Files"
},
{
"type": "text",
"key": "viewerLut",
"label": "Viewer"
},
{
"type": "text",
"key": "thumbnailLut",
"label": "Thumbnails"
}
]
}
]
},
{
"key": "regexInputs",
"type": "dict",
"label": "Colorspace on Inputs by regex detection",
"collapsible": true,
"children": [
{
"type": "list",
"key": "inputs",
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "regex",
"label": "Regex"
},
{
"type": "text",
"key": "colorspace",
"label": "Colorspace"
}
]
}
}
]
}
]
},
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"collapsible": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
},
{
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsible": false,
"children": [
{
"type": "label",
"label": "<b style='color:red'>'ocioconfigpath'</b> will be deprecated. <br>Please move values to : <i>project_settings/{app}/imageio/ocio_config/filepath</i>."
},
{
"type": "form",
"children": [
{
"type": "enum",
"key": "ocioConfigName",
"label": "OpenColorIO Config",
"enum_items": [
{
"nuke-default": "nuke-default"
},
{
"aces_1.0.3": "aces_1.0.3"
},
{
"aces_1.1": "aces_1.1"
},
{
"custom": "custom"
}
]
},
{
"type": "path",
"key": "ocioconfigpath",
"label": "Custom OCIO path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "workingSpace",
"label": "Working Space"
},
{
"type": "text",
"key": "sixteenBitLut",
"label": "16 Bit Files"
},
{
"type": "text",
"key": "eightBitLut",
"label": "8 Bit Files"
},
{
"type": "text",
"key": "floatLut",
"label": "Floating Point Files"
},
{
"type": "text",
"key": "logLut",
"label": "Log Files"
},
{
"type": "text",
"key": "viewerLut",
"label": "Viewer"
},
{
"type": "text",
"key": "thumbnailLut",
"label": "Thumbnails"
}
]
}
]
},
{
"key": "regexInputs",
"type": "dict",
"label": "Colorspace on Inputs by regex detection",
"collapsible": true,
"children": [
{
"type": "list",
"key": "inputs",
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "regex",
"label": "Regex"
},
{
"type": "text",
"key": "colorspace",
"label": "Colorspace"
}
]
}
}
]
}
]
},
{
"type": "dict",
"collapsible": true,
@ -129,102 +141,102 @@
"is_group": true,
"children": [
{
"type": "collapsible-wrap",
"label": "Shot Hierarchy And Rename Settings",
"collapsible": false,
"children": [
{
"type": "text",
"key": "hierarchy",
"label": "Shot parent hierarchy"
},
{
"type": "boolean",
"key": "clipRename",
"label": "Rename clips"
},
{
"type": "text",
"key": "clipName",
"label": "Clip name template"
},
{
"type": "number",
"key": "countFrom",
"label": "Count sequence from"
},
{
"type": "number",
"key": "countSteps",
"label": "Stepping number"
}
]
"type": "collapsible-wrap",
"label": "Shot Hierarchy And Rename Settings",
"collapsible": false,
"children": [
{
"type": "text",
"key": "hierarchy",
"label": "Shot parent hierarchy"
},
{
"type": "boolean",
"key": "clipRename",
"label": "Rename clips"
},
{
"type": "text",
"key": "clipName",
"label": "Clip name template"
},
{
"type": "number",
"key": "countFrom",
"label": "Count sequence from"
},
{
"type": "number",
"key": "countSteps",
"label": "Stepping number"
}
]
},
{
"type": "collapsible-wrap",
"label": "Shot Template Keywords",
"collapsible": false,
"children": [
{
"type": "text",
"key": "folder",
"label": "{folder}"
},
{
"type": "text",
"key": "episode",
"label": "{episode}"
},
{
"type": "text",
"key": "sequence",
"label": "{sequence}"
},
{
"type": "text",
"key": "track",
"label": "{track}"
},
{
"type": "text",
"key": "shot",
"label": "{shot}"
}
]
"type": "collapsible-wrap",
"label": "Shot Template Keywords",
"collapsible": false,
"children": [
{
"type": "text",
"key": "folder",
"label": "{folder}"
},
{
"type": "text",
"key": "episode",
"label": "{episode}"
},
{
"type": "text",
"key": "sequence",
"label": "{sequence}"
},
{
"type": "text",
"key": "track",
"label": "{track}"
},
{
"type": "text",
"key": "shot",
"label": "{shot}"
}
]
},
{
"type": "collapsible-wrap",
"label": "Vertical Synchronization Of Attributes",
"collapsible": false,
"children": [
{
"type": "boolean",
"key": "vSyncOn",
"label": "Enable Vertical Sync"
}
]
"type": "collapsible-wrap",
"label": "Vertical Synchronization Of Attributes",
"collapsible": false,
"children": [
{
"type": "boolean",
"key": "vSyncOn",
"label": "Enable Vertical Sync"
}
]
},
{
"type": "collapsible-wrap",
"label": "Shot Attributes",
"collapsible": false,
"children": [
{
"type": "number",
"key": "workfileFrameStart",
"label": "Workfiles Start Frame"
},
{
"type": "number",
"key": "handleStart",
"label": "Handle start (head)"
},
{
"type": "number",
"key": "handleEnd",
"label": "Handle end (tail)"
}
]
"type": "collapsible-wrap",
"label": "Shot Attributes",
"collapsible": false,
"children": [
{
"type": "number",
"key": "workfileFrameStart",
"label": "Workfiles Start Frame"
},
{
"type": "number",
"key": "handleStart",
"label": "Handle start (head)"
},
{
"type": "number",
"key": "handleEnd",
"label": "Handle end (tail)"
}
]
}
]
}
@ -322,4 +334,4 @@
"name": "schema_scriptsmenu"
}
]
}
}

View file

@ -5,6 +5,23 @@
"label": "Houdini",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "schema",
"name": "schema_houdini_scriptshelf"

View file

@ -12,6 +12,14 @@
"collapsible": true,
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
},
{
"key": "colorManagementPreference_v2",
"type": "dict",
@ -24,6 +32,10 @@
"key": "enabled",
"label": "Use Color Management Preference v2"
},
{
"type": "label",
"label": "<b style='color:red'>'configFilePath'</b> will be deprecated. <br>Please move values to : <i>project_settings/{app}/imageio/ocio_config/filepath</i>."
},
{
"type": "path",
"key": "configFilePath",
@ -54,6 +66,10 @@
"label": "Color Management Preference (legacy)",
"collapsible": true,
"children": [
{
"type": "label",
"label": "<b style='color:red'>'configFilePath'</b> will be deprecated. <br>Please move values to : <i>project_settings/{app}/imageio/ocio_config/filepath</i>."
},
{
"type": "path",
"key": "configFilePath",

View file

@ -5,6 +5,23 @@
"label": "Photoshop",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -5,6 +5,23 @@
"label": "DaVinci Resolve",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -5,6 +5,23 @@
"label": "Tray Publisher",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "list",
"collapsible": true,

View file

@ -5,6 +5,23 @@
"label": "TVPaint",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "boolean",
"key": "stop_timer_on_application_exit",

View file

@ -5,6 +5,23 @@
"label": "Unreal Engine",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "boolean",
"key": "level_sequences_for_layouts",

View file

@ -5,6 +5,23 @@
"label": "Web Publisher",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
}
]
},
{
"type": "list",
"collapsible": true,

View file

@ -0,0 +1,21 @@
{
"key": "ocio_config",
"type": "dict",
"label": "OCIO config",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "path",
"key": "filepath",
"label": "Config path",
"multiplatform": true,
"multipath": false
}
]
}

View file

@ -0,0 +1,41 @@
{
"key": "file_rules",
"type": "dict",
"label": "File Rules",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "rules",
"label": "Rules",
"type": "dict-modifiable",
"highlight_content": true,
"collapsible": false,
"object_type": {
"type": "dict",
"children": [
{
"key": "pattern",
"label": "Regex pattern",
"type": "text"
},
{
"key": "colorspace",
"label": "Colorspace name",
"type": "text"
},
{
"key": "ext",
"label": "File extension",
"type": "text"
}
]
}
}
]
}

View file

@ -11,6 +11,14 @@
"key": "enabled",
"label": "Enabled"
},
{
"type": "schema",
"name": "schema_imageio_config"
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
},
{
"key": "viewer",
"type": "dict",
@ -43,6 +51,10 @@
"label": "Workfile",
"collapsible": false,
"children": [
{
"type": "label",
"label": "<b style='color:red'>'customOCIOConfigPath'</b> will be deprecated. <br>Please move values to : <i>project_settings/{app}/imageio/ocio_config/filepath</i>."
},
{
"type": "form",
"children": [