mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Move imageio settings from project anatomy to project settings
- Note: There is no backwards compatibility implemented
This commit is contained in:
parent
4890e46167
commit
ae5ec70d05
18 changed files with 763 additions and 792 deletions
|
|
@ -42,17 +42,16 @@ class FlamePrelaunch(PreLaunchHook):
|
||||||
volume_name = _env.get("FLAME_WIRETAP_VOLUME")
|
volume_name = _env.get("FLAME_WIRETAP_VOLUME")
|
||||||
|
|
||||||
# get image io
|
# get image io
|
||||||
project_anatomy = self.data["anatomy"]
|
project_settings = self.data["project_settings"]
|
||||||
|
|
||||||
# make sure anatomy settings are having flame key
|
# make sure anatomy settings are having flame key
|
||||||
if not project_anatomy["imageio"].get("flame"):
|
if not project_settings["flame"].get("imageio"):
|
||||||
raise ApplicationLaunchFailed((
|
raise ApplicationLaunchFailed(
|
||||||
"Anatomy project settings are missing `flame` key. "
|
"Project settings are missing `flame/imageio` key. "
|
||||||
"Please make sure you remove project overides on "
|
"Please make sure to update project settings."
|
||||||
"Anatomy Image io")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
imageio_flame = project_anatomy["imageio"]["flame"]
|
imageio_flame = project_settings["flame"]["imageio"]
|
||||||
|
|
||||||
# get user name and host name
|
# get user name and host name
|
||||||
user_name = get_openpype_username()
|
user_name = get_openpype_username()
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,9 @@ class FusionPreLaunchOCIO(PreLaunchHook):
|
||||||
# make sure anatomy settings are having flame key
|
# make sure anatomy settings are having flame key
|
||||||
imageio_fusion = project_settings.get("fusion", {}).get("imageio")
|
imageio_fusion = project_settings.get("fusion", {}).get("imageio")
|
||||||
if not imageio_fusion:
|
if not imageio_fusion:
|
||||||
raise ApplicationLaunchFailed((
|
raise ApplicationLaunchFailed(
|
||||||
"Anatomy project settings are missing `fusion` key. "
|
"Project settings are missing `fusion/imageio` key. "
|
||||||
"Please make sure you remove project overrides on "
|
"Please make sure you update your project settings. "
|
||||||
"Anatomy ImageIO")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ocio = imageio_fusion.get("ocio")
|
ocio = imageio_fusion.get("ocio")
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import hiero
|
||||||
from Qt import QtWidgets
|
from Qt import QtWidgets
|
||||||
|
|
||||||
from openpype.client import get_project
|
from openpype.client import get_project
|
||||||
from openpype.settings import get_anatomy_settings
|
from openpype.settings import get_project_settings
|
||||||
from openpype.pipeline import legacy_io, Anatomy
|
from openpype.pipeline import legacy_io, Anatomy
|
||||||
from openpype.pipeline.load import filter_containers
|
from openpype.pipeline.load import filter_containers
|
||||||
from openpype.lib import Logger
|
from openpype.lib import Logger
|
||||||
|
|
@ -878,8 +878,7 @@ def apply_colorspace_project():
|
||||||
project.close()
|
project.close()
|
||||||
|
|
||||||
# get presets for hiero
|
# get presets for hiero
|
||||||
imageio = get_anatomy_settings(
|
imageio = get_project_settings(project_name)["hiero"]["imageio"]
|
||||||
project_name)["imageio"].get("hiero", None)
|
|
||||||
presets = imageio.get("workfile")
|
presets = imageio.get("workfile")
|
||||||
|
|
||||||
# save the workfile as subversion "comment:_colorspaceChange"
|
# save the workfile as subversion "comment:_colorspaceChange"
|
||||||
|
|
@ -932,8 +931,7 @@ def apply_colorspace_clips():
|
||||||
clips = project.clips()
|
clips = project.clips()
|
||||||
|
|
||||||
# get presets for hiero
|
# get presets for hiero
|
||||||
imageio = get_anatomy_settings(
|
imageio = get_project_settings(project_name)["hiero"]["imageio"]
|
||||||
project_name)["imageio"].get("hiero", None)
|
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
|
|
||||||
presets = imageio.get("regexInputs", {}).get("inputs", {})
|
presets = imageio.get("regexInputs", {}).get("inputs", {})
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ from openpype.client import (
|
||||||
get_last_versions,
|
get_last_versions,
|
||||||
get_representation_by_name
|
get_representation_by_name
|
||||||
)
|
)
|
||||||
from openpype.api import get_anatomy_settings
|
from openpype.api import get_project_settings
|
||||||
from openpype.pipeline import (
|
from openpype.pipeline import (
|
||||||
legacy_io,
|
legacy_io,
|
||||||
discover_loader_plugins,
|
discover_loader_plugins,
|
||||||
|
|
@ -3159,7 +3159,7 @@ def set_colorspace():
|
||||||
"""Set Colorspace from project configuration
|
"""Set Colorspace from project configuration
|
||||||
"""
|
"""
|
||||||
project_name = os.getenv("AVALON_PROJECT")
|
project_name = os.getenv("AVALON_PROJECT")
|
||||||
imageio = get_anatomy_settings(project_name)["imageio"]["maya"]
|
imageio = get_project_settings(project_name)["maya"]["imageio"]
|
||||||
|
|
||||||
# Maya 2022+ introduces new OCIO v2 color management settings that
|
# Maya 2022+ introduces new OCIO v2 color management settings that
|
||||||
# can override the old color managenement preferences. OpenPype has
|
# can override the old color managenement preferences. OpenPype has
|
||||||
|
|
|
||||||
|
|
@ -563,7 +563,7 @@ def get_node_path(path, padding=4):
|
||||||
|
|
||||||
|
|
||||||
def get_nuke_imageio_settings():
|
def get_nuke_imageio_settings():
|
||||||
return get_anatomy_settings(Context.project_name)["imageio"]["nuke"]
|
return get_project_settings(Context.project_name)["nuke"]["imageio"]
|
||||||
|
|
||||||
|
|
||||||
def get_created_node_imageio_setting_legacy(nodeclass, creator, subset):
|
def get_created_node_imageio_setting_legacy(nodeclass, creator, subset):
|
||||||
|
|
|
||||||
|
|
@ -425,7 +425,7 @@ class LoadClip(plugin.NukeLoader):
|
||||||
colorspace = repre_data.get("colorspace")
|
colorspace = repre_data.get("colorspace")
|
||||||
colorspace = colorspace or version_data.get("colorspace")
|
colorspace = colorspace or version_data.get("colorspace")
|
||||||
|
|
||||||
# colorspace from `project_anatomy/imageio/nuke/regexInputs`
|
# colorspace from `project_settings/nuke/imageio/regexInputs`
|
||||||
iio_colorspace = get_imageio_input_colorspace(path)
|
iio_colorspace = get_imageio_input_colorspace(path)
|
||||||
|
|
||||||
# Set colorspace defined in version data
|
# Set colorspace defined in version data
|
||||||
|
|
|
||||||
|
|
@ -1,258 +0,0 @@
|
||||||
{
|
|
||||||
"hiero": {
|
|
||||||
"workfile": {
|
|
||||||
"ocioConfigName": "nuke-default",
|
|
||||||
"ocioconfigpath": {
|
|
||||||
"windows": [],
|
|
||||||
"darwin": [],
|
|
||||||
"linux": []
|
|
||||||
},
|
|
||||||
"workingSpace": "linear",
|
|
||||||
"sixteenBitLut": "sRGB",
|
|
||||||
"eightBitLut": "sRGB",
|
|
||||||
"floatLut": "linear",
|
|
||||||
"logLut": "Cineon",
|
|
||||||
"viewerLut": "sRGB",
|
|
||||||
"thumbnailLut": "sRGB"
|
|
||||||
},
|
|
||||||
"regexInputs": {
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"regex": "[^-a-zA-Z0-9](plateRef).*(?=mp4)",
|
|
||||||
"colorspace": "sRGB"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nuke": {
|
|
||||||
"viewer": {
|
|
||||||
"viewerProcess": "sRGB"
|
|
||||||
},
|
|
||||||
"baking": {
|
|
||||||
"viewerProcess": "rec709"
|
|
||||||
},
|
|
||||||
"workfile": {
|
|
||||||
"colorManagement": "Nuke",
|
|
||||||
"OCIO_config": "nuke-default",
|
|
||||||
"customOCIOConfigPath": {
|
|
||||||
"windows": [],
|
|
||||||
"darwin": [],
|
|
||||||
"linux": []
|
|
||||||
},
|
|
||||||
"workingSpaceLUT": "linear",
|
|
||||||
"monitorLut": "sRGB",
|
|
||||||
"int8Lut": "sRGB",
|
|
||||||
"int16Lut": "sRGB",
|
|
||||||
"logLut": "Cineon",
|
|
||||||
"floatLut": "linear"
|
|
||||||
},
|
|
||||||
"nodes": {
|
|
||||||
"requiredNodes": [
|
|
||||||
{
|
|
||||||
"plugins": [
|
|
||||||
"CreateWriteRender"
|
|
||||||
],
|
|
||||||
"nukeNodeClass": "Write",
|
|
||||||
"knobs": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "file_type",
|
|
||||||
"value": "exr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "datatype",
|
|
||||||
"value": "16 bit half"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "compression",
|
|
||||||
"value": "Zip (1 scanline)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bool",
|
|
||||||
"name": "autocrop",
|
|
||||||
"value": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "color_gui",
|
|
||||||
"name": "tile_color",
|
|
||||||
"value": [
|
|
||||||
186,
|
|
||||||
35,
|
|
||||||
35,
|
|
||||||
255
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "channels",
|
|
||||||
"value": "rgb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "colorspace",
|
|
||||||
"value": "linear"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bool",
|
|
||||||
"name": "create_directories",
|
|
||||||
"value": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plugins": [
|
|
||||||
"CreateWritePrerender"
|
|
||||||
],
|
|
||||||
"nukeNodeClass": "Write",
|
|
||||||
"knobs": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "file_type",
|
|
||||||
"value": "exr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "datatype",
|
|
||||||
"value": "16 bit half"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "compression",
|
|
||||||
"value": "Zip (1 scanline)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bool",
|
|
||||||
"name": "autocrop",
|
|
||||||
"value": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "color_gui",
|
|
||||||
"name": "tile_color",
|
|
||||||
"value": [
|
|
||||||
171,
|
|
||||||
171,
|
|
||||||
10,
|
|
||||||
255
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "channels",
|
|
||||||
"value": "rgb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "colorspace",
|
|
||||||
"value": "linear"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bool",
|
|
||||||
"name": "create_directories",
|
|
||||||
"value": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plugins": [
|
|
||||||
"CreateWriteStill"
|
|
||||||
],
|
|
||||||
"nukeNodeClass": "Write",
|
|
||||||
"knobs": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "file_type",
|
|
||||||
"value": "tiff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "datatype",
|
|
||||||
"value": "16 bit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "compression",
|
|
||||||
"value": "Deflate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "color_gui",
|
|
||||||
"name": "tile_color",
|
|
||||||
"value": [
|
|
||||||
56,
|
|
||||||
162,
|
|
||||||
7,
|
|
||||||
255
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "channels",
|
|
||||||
"value": "rgb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"name": "colorspace",
|
|
||||||
"value": "sRGB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bool",
|
|
||||||
"name": "create_directories",
|
|
||||||
"value": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"overrideNodes": []
|
|
||||||
},
|
|
||||||
"regexInputs": {
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"regex": "(beauty).*(?=.exr)",
|
|
||||||
"colorspace": "linear"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"maya": {
|
|
||||||
"colorManagementPreference_v2": {
|
|
||||||
"enabled": true,
|
|
||||||
"configFilePath": {
|
|
||||||
"windows": [],
|
|
||||||
"darwin": [],
|
|
||||||
"linux": []
|
|
||||||
},
|
|
||||||
"renderSpace": "ACEScg",
|
|
||||||
"displayName": "sRGB",
|
|
||||||
"viewName": "ACES 1.0 SDR-video"
|
|
||||||
},
|
|
||||||
"colorManagementPreference": {
|
|
||||||
"configFilePath": {
|
|
||||||
"windows": [],
|
|
||||||
"darwin": [],
|
|
||||||
"linux": []
|
|
||||||
},
|
|
||||||
"renderSpace": "scene-linear Rec 709/sRGB",
|
|
||||||
"viewTransform": "sRGB gamma"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flame": {
|
|
||||||
"project": {
|
|
||||||
"colourPolicy": "ACES 1.1",
|
|
||||||
"frameDepth": "16-bit fp",
|
|
||||||
"fieldDominance": "PROGRESSIVE"
|
|
||||||
},
|
|
||||||
"profilesMapping": {
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"flameName": "ACEScg",
|
|
||||||
"ocioName": "ACES - ACEScg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"flameName": "Rec.709 video",
|
|
||||||
"ocioName": "Output - Rec.709"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +1,23 @@
|
||||||
{
|
{
|
||||||
|
"imageio": {
|
||||||
|
"project": {
|
||||||
|
"colourPolicy": "ACES 1.1",
|
||||||
|
"frameDepth": "16-bit fp",
|
||||||
|
"fieldDominance": "PROGRESSIVE"
|
||||||
|
},
|
||||||
|
"profilesMapping": {
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"flameName": "ACEScg",
|
||||||
|
"ocioName": "ACES - ACEScg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"flameName": "Rec.709 video",
|
||||||
|
"ocioName": "Output - Rec.709"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"create": {
|
"create": {
|
||||||
"CreateShotClip": {
|
"CreateShotClip": {
|
||||||
"hierarchy": "{folder}/{sequence}",
|
"hierarchy": "{folder}/{sequence}",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,29 @@
|
||||||
{
|
{
|
||||||
|
"imageio": {
|
||||||
|
"workfile": {
|
||||||
|
"ocioConfigName": "nuke-default",
|
||||||
|
"ocioconfigpath": {
|
||||||
|
"windows": [],
|
||||||
|
"darwin": [],
|
||||||
|
"linux": []
|
||||||
|
},
|
||||||
|
"workingSpace": "linear",
|
||||||
|
"sixteenBitLut": "sRGB",
|
||||||
|
"eightBitLut": "sRGB",
|
||||||
|
"floatLut": "linear",
|
||||||
|
"logLut": "Cineon",
|
||||||
|
"viewerLut": "sRGB",
|
||||||
|
"thumbnailLut": "sRGB"
|
||||||
|
},
|
||||||
|
"regexInputs": {
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"regex": "[^-a-zA-Z0-9](plateRef).*(?=mp4)",
|
||||||
|
"colorspace": "sRGB"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"create": {
|
"create": {
|
||||||
"CreateShotClip": {
|
"CreateShotClip": {
|
||||||
"hierarchy": "{folder}/{sequence}",
|
"hierarchy": "{folder}/{sequence}",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,26 @@
|
||||||
{
|
{
|
||||||
|
"imageio": {
|
||||||
|
"colorManagementPreference_v2": {
|
||||||
|
"enabled": true,
|
||||||
|
"configFilePath": {
|
||||||
|
"windows": [],
|
||||||
|
"darwin": [],
|
||||||
|
"linux": []
|
||||||
|
},
|
||||||
|
"renderSpace": "ACEScg",
|
||||||
|
"displayName": "sRGB",
|
||||||
|
"viewName": "ACES 1.0 SDR-video"
|
||||||
|
},
|
||||||
|
"colorManagementPreference": {
|
||||||
|
"configFilePath": {
|
||||||
|
"windows": [],
|
||||||
|
"darwin": [],
|
||||||
|
"linux": []
|
||||||
|
},
|
||||||
|
"renderSpace": "scene-linear Rec 709/sRGB",
|
||||||
|
"viewTransform": "sRGB gamma"
|
||||||
|
}
|
||||||
|
},
|
||||||
"mel_workspace": "workspace -fr \"shaders\" \"renderData/shaders\";\nworkspace -fr \"images\" \"renders\";\nworkspace -fr \"particles\" \"particles\";\nworkspace -fr \"mayaAscii\" \"\";\nworkspace -fr \"mayaBinary\" \"\";\nworkspace -fr \"scene\" \"\";\nworkspace -fr \"alembicCache\" \"cache/alembic\";\nworkspace -fr \"renderData\" \"renderData\";\nworkspace -fr \"sourceImages\" \"sourceimages\";\nworkspace -fr \"fileCache\" \"cache/nCache\";\n",
|
"mel_workspace": "workspace -fr \"shaders\" \"renderData/shaders\";\nworkspace -fr \"images\" \"renders\";\nworkspace -fr \"particles\" \"particles\";\nworkspace -fr \"mayaAscii\" \"\";\nworkspace -fr \"mayaBinary\" \"\";\nworkspace -fr \"scene\" \"\";\nworkspace -fr \"alembicCache\" \"cache/alembic\";\nworkspace -fr \"renderData\" \"renderData\";\nworkspace -fr \"sourceImages\" \"sourceimages\";\nworkspace -fr \"fileCache\" \"cache/nCache\";\n",
|
||||||
"ext_mapping": {
|
"ext_mapping": {
|
||||||
"model": "ma",
|
"model": "ma",
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,196 @@
|
||||||
"build_workfile": "ctrl+alt+b"
|
"build_workfile": "ctrl+alt+b"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"imageio": {
|
||||||
|
"viewer": {
|
||||||
|
"viewerProcess": "sRGB"
|
||||||
|
},
|
||||||
|
"baking": {
|
||||||
|
"viewerProcess": "rec709"
|
||||||
|
},
|
||||||
|
"workfile": {
|
||||||
|
"colorManagement": "Nuke",
|
||||||
|
"OCIO_config": "nuke-default",
|
||||||
|
"customOCIOConfigPath": {
|
||||||
|
"windows": [],
|
||||||
|
"darwin": [],
|
||||||
|
"linux": []
|
||||||
|
},
|
||||||
|
"workingSpaceLUT": "linear",
|
||||||
|
"monitorLut": "sRGB",
|
||||||
|
"int8Lut": "sRGB",
|
||||||
|
"int16Lut": "sRGB",
|
||||||
|
"logLut": "Cineon",
|
||||||
|
"floatLut": "linear"
|
||||||
|
},
|
||||||
|
"nodes": {
|
||||||
|
"requiredNodes": [
|
||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"CreateWriteRender"
|
||||||
|
],
|
||||||
|
"nukeNodeClass": "Write",
|
||||||
|
"knobs": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "file_type",
|
||||||
|
"value": "exr"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "datatype",
|
||||||
|
"value": "16 bit half"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "compression",
|
||||||
|
"value": "Zip (1 scanline)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bool",
|
||||||
|
"name": "autocrop",
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "color_gui",
|
||||||
|
"name": "tile_color",
|
||||||
|
"value": [
|
||||||
|
186,
|
||||||
|
35,
|
||||||
|
35,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "channels",
|
||||||
|
"value": "rgb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "colorspace",
|
||||||
|
"value": "linear"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bool",
|
||||||
|
"name": "create_directories",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"CreateWritePrerender"
|
||||||
|
],
|
||||||
|
"nukeNodeClass": "Write",
|
||||||
|
"knobs": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "file_type",
|
||||||
|
"value": "exr"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "datatype",
|
||||||
|
"value": "16 bit half"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "compression",
|
||||||
|
"value": "Zip (1 scanline)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bool",
|
||||||
|
"name": "autocrop",
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "color_gui",
|
||||||
|
"name": "tile_color",
|
||||||
|
"value": [
|
||||||
|
171,
|
||||||
|
171,
|
||||||
|
10,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "channels",
|
||||||
|
"value": "rgb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "colorspace",
|
||||||
|
"value": "linear"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bool",
|
||||||
|
"name": "create_directories",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"CreateWriteStill"
|
||||||
|
],
|
||||||
|
"nukeNodeClass": "Write",
|
||||||
|
"knobs": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "file_type",
|
||||||
|
"value": "tiff"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "datatype",
|
||||||
|
"value": "16 bit"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "compression",
|
||||||
|
"value": "Deflate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "color_gui",
|
||||||
|
"name": "tile_color",
|
||||||
|
"value": [
|
||||||
|
56,
|
||||||
|
162,
|
||||||
|
7,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "channels",
|
||||||
|
"value": "rgb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"name": "colorspace",
|
||||||
|
"value": "sRGB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bool",
|
||||||
|
"name": "create_directories",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"overrideNodes": []
|
||||||
|
},
|
||||||
|
"regexInputs": {
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"regex": "(beauty).*(?=.exr)",
|
||||||
|
"colorspace": "linear"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"nuke-dirmap": {
|
"nuke-dirmap": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
|
|
|
||||||
|
|
@ -43,10 +43,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "schema",
|
|
||||||
"name": "schema_anatomy_imageio"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,69 @@
|
||||||
"label": "Flame",
|
"label": "Flame",
|
||||||
"is_file": true,
|
"is_file": true,
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"key": "imageio",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Color Management (ImageIO)",
|
||||||
|
"is_group": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"key": "project",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Project",
|
||||||
|
"collapsible": false,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "form",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "colourPolicy",
|
||||||
|
"label": "Colour Policy (name or path)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "frameDepth",
|
||||||
|
"label": "Image Depth"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "fieldDominance",
|
||||||
|
"label": "Field Dominance"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "profilesMapping",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Profile names mapping",
|
||||||
|
"collapsible": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "list",
|
||||||
|
"key": "inputs",
|
||||||
|
"object_type": {
|
||||||
|
"type": "dict",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "flameName",
|
||||||
|
"label": "Flame name"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "ocioName",
|
||||||
|
"label": "OCIO name"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "dict",
|
"type": "dict",
|
||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,116 @@
|
||||||
"label": "Hiero",
|
"label": "Hiero",
|
||||||
"is_file": true,
|
"is_file": true,
|
||||||
"children": [
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "dict",
|
"type": "dict",
|
||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,76 @@
|
||||||
"label": "Maya",
|
"label": "Maya",
|
||||||
"is_file": true,
|
"is_file": true,
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"key": "imageio",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Color Management (ImageIO)",
|
||||||
|
"collapsible": true,
|
||||||
|
"is_group": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"key": "colorManagementPreference_v2",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Color Management Preference v2 (Maya 2022+)",
|
||||||
|
"collapsible": true,
|
||||||
|
"checkbox_key": "enabled",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "boolean",
|
||||||
|
"key": "enabled",
|
||||||
|
"label": "Use Color Management Preference v2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"key": "configFilePath",
|
||||||
|
"label": "OCIO Config File Path",
|
||||||
|
"multiplatform": true,
|
||||||
|
"multipath": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "renderSpace",
|
||||||
|
"label": "Rendering Space"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "displayName",
|
||||||
|
"label": "Display"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "viewName",
|
||||||
|
"label": "View"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "colorManagementPreference",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Color Management Preference (legacy)",
|
||||||
|
"collapsible": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"key": "configFilePath",
|
||||||
|
"label": "OCIO Config File Path",
|
||||||
|
"multiplatform": true,
|
||||||
|
"multipath": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "renderSpace",
|
||||||
|
"label": "Rendering Space"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"key": "viewTransform",
|
||||||
|
"label": "Viewer Transform"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"multiline" : true,
|
"multiline" : true,
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,254 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "imageio",
|
||||||
|
"type": "dict",
|
||||||
|
"label": "Color Management (ImageIO)",
|
||||||
|
"collapsible": true,
|
||||||
|
"is_group": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"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": "dict",
|
"type": "dict",
|
||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
|
|
|
||||||
|
|
@ -1,493 +0,0 @@
|
||||||
{
|
|
||||||
"type": "dict",
|
|
||||||
"key": "imageio",
|
|
||||||
"label": "Color Management and Output Formats",
|
|
||||||
"is_file": true,
|
|
||||||
"is_group": true,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"key": "hiero",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Hiero",
|
|
||||||
"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": "nuke",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Nuke",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "maya",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Maya",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"key": "colorManagementPreference_v2",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Color Management Preference v2 (Maya 2022+)",
|
|
||||||
"collapsible": true,
|
|
||||||
"checkbox_key": "enabled",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "boolean",
|
|
||||||
"key": "enabled",
|
|
||||||
"label": "Use Color Management Preference v2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "path",
|
|
||||||
"key": "configFilePath",
|
|
||||||
"label": "OCIO Config File Path",
|
|
||||||
"multiplatform": true,
|
|
||||||
"multipath": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "renderSpace",
|
|
||||||
"label": "Rendering Space"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "displayName",
|
|
||||||
"label": "Display"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "viewName",
|
|
||||||
"label": "View"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "colorManagementPreference",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Color Management Preference (legacy)",
|
|
||||||
"collapsible": true,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "path",
|
|
||||||
"key": "configFilePath",
|
|
||||||
"label": "OCIO Config File Path",
|
|
||||||
"multiplatform": true,
|
|
||||||
"multipath": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "renderSpace",
|
|
||||||
"label": "Rendering Space"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "viewTransform",
|
|
||||||
"label": "Viewer Transform"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "flame",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Flame & Flare",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"key": "project",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Project",
|
|
||||||
"collapsible": false,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "form",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "colourPolicy",
|
|
||||||
"label": "Colour Policy (name or path)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "frameDepth",
|
|
||||||
"label": "Image Depth"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "fieldDominance",
|
|
||||||
"label": "Field Dominance"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "profilesMapping",
|
|
||||||
"type": "dict",
|
|
||||||
"label": "Profile names mapping",
|
|
||||||
"collapsible": true,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "list",
|
|
||||||
"key": "inputs",
|
|
||||||
"object_type": {
|
|
||||||
"type": "dict",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "flameName",
|
|
||||||
"label": "Flame name"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "text",
|
|
||||||
"key": "ocioName",
|
|
||||||
"label": "OCIO name"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -316,22 +316,6 @@ def _system_settings_backwards_compatible_conversion(studio_overrides):
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def _project_anatomy_backwards_compatible_conversion(project_anatomy):
|
|
||||||
# Backwards compatibility of node settings in Nuke 3.9.x - 3.10.0
|
|
||||||
# - source PR - https://github.com/pypeclub/OpenPype/pull/3143
|
|
||||||
value = project_anatomy
|
|
||||||
for key in ("imageio", "nuke", "nodes", "requiredNodes"):
|
|
||||||
if key not in value:
|
|
||||||
return
|
|
||||||
value = value[key]
|
|
||||||
|
|
||||||
for item in value:
|
|
||||||
for node in item.get("knobs") or []:
|
|
||||||
if "type" in node:
|
|
||||||
break
|
|
||||||
node["type"] = "__legacy__"
|
|
||||||
|
|
||||||
|
|
||||||
@require_handler
|
@require_handler
|
||||||
def get_studio_system_settings_overrides(return_version=False):
|
def get_studio_system_settings_overrides(return_version=False):
|
||||||
output = _SETTINGS_HANDLER.get_studio_system_settings_overrides(
|
output = _SETTINGS_HANDLER.get_studio_system_settings_overrides(
|
||||||
|
|
@ -368,7 +352,6 @@ def get_project_settings_overrides(project_name, return_version=False):
|
||||||
@require_handler
|
@require_handler
|
||||||
def get_project_anatomy_overrides(project_name):
|
def get_project_anatomy_overrides(project_name):
|
||||||
output = _SETTINGS_HANDLER.get_project_anatomy_overrides(project_name)
|
output = _SETTINGS_HANDLER.get_project_anatomy_overrides(project_name)
|
||||||
_project_anatomy_backwards_compatible_conversion(output)
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue