nuke: settings imageio separate schema

This commit is contained in:
Jakub Jezek 2022-10-11 13:04:06 +02:00
parent bbf3a8baae
commit be8b2c5faa
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 256 additions and 252 deletions

View file

@ -47,258 +47,8 @@
]
},
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"checkbox_key": "enabled",
"collapsible": true,
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "viewer",
"type": "dict",
"label": "Viewer",
"collapsible": false,
"children": [
{
"type": "text",
"key": "viewerProcess",
"label": "Viewer Process"
}
]
},
{
"key": "baking",
"type": "dict",
"label": "Extract-review baking profile",
"collapsible": false,
"children": [
{
"type": "text",
"key": "viewerProcess",
"label": "Viewer Process"
}
]
},
{
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsible": false,
"children": [
{
"type": "form",
"children": [
{
"type": "enum",
"key": "colorManagement",
"label": "color management",
"enum_items": [
{
"Nuke": "Nuke"
},
{
"OCIO": "OCIO"
}
]
},
{
"type": "enum",
"key": "OCIO_config",
"label": "OpenColorIO Config",
"enum_items": [
{
"nuke-default": "nuke-default"
},
{
"spi-vfx": "spi-vfx"
},
{
"spi-anim": "spi-anim"
},
{
"aces_0.1.1": "aces_0.1.1"
},
{
"aces_0.7.1": "aces_0.7.1"
},
{
"aces_1.0.1": "aces_1.0.1"
},
{
"aces_1.0.3": "aces_1.0.3"
},
{
"aces_1.1": "aces_1.1"
},
{
"aces_1.2": "aces_1.2"
},
{
"custom": "custom"
}
]
},
{
"type": "path",
"key": "customOCIOConfigPath",
"label": "Custom OCIO config path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "workingSpaceLUT",
"label": "Working Space"
},
{
"type": "text",
"key": "monitorLut",
"label": "monitor"
},
{
"type": "text",
"key": "int8Lut",
"label": "8-bit files"
},
{
"type": "text",
"key": "int16Lut",
"label": "16-bit files"
},
{
"type": "text",
"key": "logLut",
"label": "log files"
},
{
"type": "text",
"key": "floatLut",
"label": "float files"
}
]
}
]
},
{
"key": "nodes",
"type": "dict",
"label": "Nodes",
"collapsible": true,
"children": [
{
"key": "requiredNodes",
"type": "list",
"label": "Plugin required",
"object_type": {
"type": "dict",
"children": [
{
"type": "list",
"key": "plugins",
"label": "Used in plugins",
"object_type": {
"type": "text",
"key": "pluginClass"
}
},
{
"type": "text",
"key": "nukeNodeClass",
"label": "Nuke Node Class"
},
{
"type": "schema_template",
"name": "template_nuke_knob_inputs",
"template_data": [
{
"label": "Knobs",
"key": "knobs"
}
]
}
]
}
},
{
"type": "splitter"
},
{
"type": "list",
"key": "overrideNodes",
"label": "Plugin's node overrides",
"object_type": {
"type": "dict",
"children": [
{
"type": "list",
"key": "plugins",
"label": "Used in plugins",
"object_type": {
"type": "text",
"key": "pluginClass"
}
},
{
"type": "text",
"key": "nukeNodeClass",
"label": "Nuke Node Class"
},
{
"key": "subsets",
"label": "Subsets",
"type": "list",
"object_type": "text"
},
{
"type": "schema_template",
"name": "template_nuke_knob_inputs",
"template_data": [
{
"label": "Knobs overrides",
"key": "knobs"
}
]
}
]
}
}
]
},
{
"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": "schema",
"name": "schema_nuke_imageio"
},
{
"type": "dict",

View file

@ -0,0 +1,254 @@
{
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"checkbox_key": "enabled",
"collapsible": true,
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "viewer",
"type": "dict",
"label": "Viewer",
"collapsible": false,
"children": [
{
"type": "text",
"key": "viewerProcess",
"label": "Viewer Process"
}
]
},
{
"key": "baking",
"type": "dict",
"label": "Extract-review baking profile",
"collapsible": false,
"children": [
{
"type": "text",
"key": "viewerProcess",
"label": "Viewer Process"
}
]
},
{
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsible": false,
"children": [
{
"type": "form",
"children": [
{
"type": "enum",
"key": "colorManagement",
"label": "color management",
"enum_items": [
{
"Nuke": "Nuke"
},
{
"OCIO": "OCIO"
}
]
},
{
"type": "enum",
"key": "OCIO_config",
"label": "OpenColorIO Config",
"enum_items": [
{
"nuke-default": "nuke-default"
},
{
"spi-vfx": "spi-vfx"
},
{
"spi-anim": "spi-anim"
},
{
"aces_0.1.1": "aces_0.1.1"
},
{
"aces_0.7.1": "aces_0.7.1"
},
{
"aces_1.0.1": "aces_1.0.1"
},
{
"aces_1.0.3": "aces_1.0.3"
},
{
"aces_1.1": "aces_1.1"
},
{
"aces_1.2": "aces_1.2"
},
{
"custom": "custom"
}
]
},
{
"type": "path",
"key": "customOCIOConfigPath",
"label": "Custom OCIO config path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "workingSpaceLUT",
"label": "Working Space"
},
{
"type": "text",
"key": "monitorLut",
"label": "monitor"
},
{
"type": "text",
"key": "int8Lut",
"label": "8-bit files"
},
{
"type": "text",
"key": "int16Lut",
"label": "16-bit files"
},
{
"type": "text",
"key": "logLut",
"label": "log files"
},
{
"type": "text",
"key": "floatLut",
"label": "float files"
}
]
}
]
},
{
"key": "nodes",
"type": "dict",
"label": "Nodes",
"collapsible": true,
"children": [
{
"key": "requiredNodes",
"type": "list",
"label": "Plugin required",
"object_type": {
"type": "dict",
"children": [
{
"type": "list",
"key": "plugins",
"label": "Used in plugins",
"object_type": {
"type": "text",
"key": "pluginClass"
}
},
{
"type": "text",
"key": "nukeNodeClass",
"label": "Nuke Node Class"
},
{
"type": "schema_template",
"name": "template_nuke_knob_inputs",
"template_data": [
{
"label": "Knobs",
"key": "knobs"
}
]
}
]
}
},
{
"type": "splitter"
},
{
"type": "list",
"key": "overrideNodes",
"label": "Plugin's node overrides",
"object_type": {
"type": "dict",
"children": [
{
"type": "list",
"key": "plugins",
"label": "Used in plugins",
"object_type": {
"type": "text",
"key": "pluginClass"
}
},
{
"type": "text",
"key": "nukeNodeClass",
"label": "Nuke Node Class"
},
{
"key": "subsets",
"label": "Subsets",
"type": "list",
"object_type": "text"
},
{
"type": "schema_template",
"name": "template_nuke_knob_inputs",
"template_data": [
{
"label": "Knobs overrides",
"key": "knobs"
}
]
}
]
}
}
]
},
{
"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"
}
]
}
}
]
}
]
}