add burnin and families SP

This commit is contained in:
Milan Kolar 2020-11-26 18:19:44 +01:00
parent f0b50b9491
commit 0370600f86
5 changed files with 167 additions and 226 deletions

View file

@ -57,17 +57,18 @@
"y_offset": 5,
"bg_padding": 5
},
"fields": {},
"profiles": [
{
"families": [],
"hosts": [],
"burnins": {
"burnin": {
"TOP_LEFT": "{yy}-{mm}-{dd}",
"TOP_RIGHT": "{anatomy[version]}",
"TOP_CENTERED": "",
"BOTTOM_RIGHT": "{frame_start}-{current_frame}-{frame_end}",
"TOP_RIGHT": "{anatomy[version]}",
"BOTTOM_LEFT": "{username}",
"BOTTOM_CENTERED": "{asset}",
"BOTTOM_LEFT": "{username}"
"BOTTOM_RIGHT": "{frame_start}-{current_frame}-{frame_end}"
}
}
}

View file

@ -97,18 +97,6 @@
"icon": "",
"defaults": [],
"help": ""
},
"other_families": {
"create_background": {
"name": "background",
"label": "Background",
"family": "background",
"icon": "image",
"defaults": [
"Main"
],
"help": "Layered background from PSD."
}
}
}
}

View file

@ -195,58 +195,120 @@
"checkbox_key": "enabled",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "dict",
"collapsable": true,
"key": "options",
"label": "Burnin formating options",
"children": [
{
"type": "number",
"key": "font_size",
"label": "Font size"
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "number",
"key": "opacity",
"label": "Font opacity"
"type": "dict",
"collapsable": true,
"key": "options",
"label": "Burnin formating options",
"children": [
{
"type": "number",
"key": "font_size",
"label": "Font size"
},
{
"type": "number",
"key": "opacity",
"label": "Font opacity"
},
{
"type": "number",
"key": "bg_opacity",
"label": "Background opacity"
},
{
"type": "number",
"key": "x_offset",
"label": "X Offset"
},
{
"type": "number",
"key": "y_offset",
"label": "Y Offset"
},
{
"type": "number",
"key": "bg_padding",
"label": "Padding aroung text"
},
{
"type": "splitter"
}]
},
{
"type": "number",
"key": "bg_opacity",
"label": "Background opacity"
},
{
"type": "number",
"key": "x_offset",
"label": "X Offset"
},
{
"type": "number",
"key": "y_offset",
"label": "Y Offset"
},
{
"type": "number",
"key": "bg_padding",
"label": "Padding aroung text"
}]
},
{
"type": "raw-json",
"key": "fields",
"label": "Burnin Fields"
},
{
"type": "raw-json",
"key": "profiles",
"label": "Burnin profiles"
}]
"type": "list",
"key": "profiles",
"label": "Profiles",
"object_type":
{
"type": "dict",
"children": [
{
"key": "families",
"label": "Families",
"type": "list",
"object_type": "text"
},
{
"key": "hosts",
"label": "Hosts",
"type": "list",
"object_type": "text"
},
{
"type": "splitter"
},
{
"key": "burnins",
"label": "Burnins",
"type": "dict-modifiable",
"highlight_content": true,
"collapsable": false,
"object_type":
{
"type": "dict",
"children": [
{
"key": "TOP_LEFT",
"label": "Top Left",
"type": "text"
},
{
"key": "TOP_CENTERED",
"label": "Top Centered",
"type": "text"
},
{
"key": "TOP_RIGHT",
"label": "top Right",
"type": "text"
},
{
"key": "BOTTOM_LEFT",
"label": "Bottom Left",
"type": "text"
},
{
"key": "BOTTOM_CENTERED",
"label": "Bottom Centered",
"type": "text"
},
{
"key": "BOTTOM_RIGHT",
"label": "BottomRight",
"type": "text"
}]
}
}]
}
}
]
},
{
"type": "dict",
@ -308,35 +370,38 @@
"type": "list",
"key": "maya",
"label": "Maya",
"object_type":{
"type":"text"
"object_type":
{
"type": "text"
}
},
{
"type": "list",
"key": "nuke",
"label": "Nuke",
"object_type":{
"type":"text"
"object_type":
{
"type": "text"
}
},
{
"type": "list",
"key": "aftereffects",
"label": "After Effects",
"object_type":{
"type":"text"
"object_type":
{
"type": "text"
}
},
{
"type": "list",
"key": "celaction",
"label": "Celaction",
"object_type":{
"type":"text"
"object_type":
{
"type": "text"
}
}
]
}]
}]
}]
}]

View file

@ -41,119 +41,49 @@
}]
},
{
"type": "dict",
"type": "dict-modifiable",
"collapsable": true,
"key": "create",
"label": "Creator plugins",
"is_file": true,
"children": [
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Workfile",
"name": "workfile"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Model",
"name": "model"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Look",
"name": "look"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Rig",
"name": "rig"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Pointcache",
"name": "pointcache"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Plate",
"name": "plate"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Camera",
"name": "camera"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Maya Scene",
"name": "mayaAscii"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Editorial",
"name": "editorial"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Image",
"name": "image"
}]
},
{
"type": "schema_template",
"name": "template_creatorfamily",
"template_data": [
{
"label": "Matchmove",
"name": "matchmove"
}]
},
{
"type": "dict-modifiable",
"key": "other_families",
"label": "Other Families",
"object_type": {
"type": "raw-json"
}
}]
"object_type":
{
"type": "dict",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "text",
"key": "label",
"label": "Label"
},
{
"type": "text",
"key": "family",
"label": "Family"
},
{
"type": "text",
"key": "icon",
"label": "Icon"
},
{
"type": "list",
"key": "defaults",
"label": "Defaults",
"object_type":
{
"type": "text"
}
},
{
"type": "text",
"key": "help",
"label": "Help"
}]
}
}]
}

View file

@ -1,43 +0,0 @@
[
{
"type": "dict",
"collapsable": true,
"key": "create_{name}",
"label": "{label}",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "text",
"key": "label",
"label": "Label"
},
{
"type": "text",
"key": "family",
"label": "Family"
},
{
"type": "text",
"key": "icon",
"label": "Icon"
},
{
"type": "list",
"key": "defaults",
"label": "Defaults",
"object_type": {
"type": "text"
}
},
{
"type": "text",
"key": "help",
"label": "Help"
}
]
}
]