global: adding imageio with ocioconfig and rules

This commit is contained in:
Jakub Jezek 2022-12-01 22:07:15 +01:00
parent 7e2400db06
commit cfc6bcacf2
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 88 additions and 0 deletions

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

@ -5,6 +5,74 @@
"label": "Global",
"is_file": true,
"children": [
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"children": [
{
"key": "ocio_config",
"type": "dict",
"label": "OCIO config",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled"
},
{
"type": "path",
"key": "filepath",
"label": "Config path",
"multiplatform": true,
"multipath": false
}
]
},
{
"key": "file_rules",
"type": "dict",
"label": "File Rules",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "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"
}
]
}
}
]
}
]
},
{
"type": "schema",
"name": "schema_global_publish"