- Code: Select all
{
Tools = ordered() {
CustomTool1 = Custom {
CtrlWZoom = false,
CustomData = {
Settings = {
[1] = {
Tools = ordered() {
CustomTool1 = Custom {
Inputs = {
LUTIn3 = Input {
SourceOp = "CustomTool1LUTIn3",
Source = "Value"
},
LUTIn1 = Input {
SourceOp = "CustomTool1LUTIn1",
Source = "Value"
},
Image1 = Input {
SourceOp = "TimeSpeed1",
Source = "Output"
},
Image2 = Input {
SourceOp = "ChangeDepth1_1",
Source = "Output"
},
LUTIn4 = Input {
SourceOp = "CustomTool1LUTIn4",
Source = "Value"
},
LUTIn2 = Input {
SourceOp = "CustomTool1LUTIn2",
Source = "Value"
}
},
Name = "CustomTool1",
CtrlWZoom = false,
ViewInfo = OperatorInfo { Pos = { 550, 181.5 } },
CustomData = {
}
},
CustomTool1LUTIn1 = LUTBezier {
Name = "CustomTool1LUTIn1",
NameSet = true,
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Green = 0, Blue = 0, Red = 204 }
},
CustomTool1LUTIn2 = LUTBezier {
Name = "CustomTool1LUTIn2",
NameSet = true,
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Green = 204, Blue = 0, Red = 0 }
},
CustomTool1LUTIn3 = LUTBezier {
Name = "CustomTool1LUTIn3",
NameSet = true,
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Green = 0, Blue = 204, Red = 0 }
},
CustomTool1LUTIn4 = LUTBezier {
Name = "CustomTool1LUTIn4",
NameSet = true,
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Green = 204, Blue = 204, Red = 204 }
}
}
},
[2] = {
Tools = ordered() {
CustomTool1 = Custom {
Inputs = {
LUTIn3 = Input {
SourceOp = "CustomTool1LUTIn3",
Source = "Value"
},
LUTIn4 = Input {
SourceOp = "CustomTool1LUTIn4",
Source = "Value"
},
Image2 = Input {
SourceOp = "ChangeDepth1_1",
Source = "Output"
},
RedExpression = Input { Value = "c1-c2" },
GreenExpression = Input { Value = "c1-c2" },
LUTIn1 = Input {
SourceOp = "CustomTool1LUTIn1",
Source = "Value"
},
Image1 = Input {
SourceOp = "TimeSpeed1",
Source = "Output"
},
BlueExpression = Input { Value = "c1-c2" },
LUTIn2 = Input {
SourceOp = "CustomTool1LUTIn2",
Source = "Value"
}
},
CtrlWZoom = false,
ViewInfo = OperatorInfo { Pos = { 550, 181.5 } },
CustomData = {
}
},
CustomTool1LUTIn1 = LUTBezier {
SplineColor = { Green = 0, Blue = 0, Red = 204 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn2 = LUTBezier {
SplineColor = { Green = 204, Blue = 0, Red = 0 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn3 = LUTBezier {
SplineColor = { Green = 0, Blue = 204, Red = 0 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn4 = LUTBezier {
SplineColor = { Green = 204, Blue = 204, Red = 204 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
}
}
},
[3] = {
Tools = ordered() {
CustomTool1 = Custom {
Inputs = {
LUTIn3 = Input {
SourceOp = "CustomTool1LUTIn3",
Source = "Value"
},
LUTIn4 = Input {
SourceOp = "CustomTool1LUTIn4",
Source = "Value"
},
Image2 = Input {
SourceOp = "ChangeDepth1_1",
Source = "Output"
},
RedExpression = Input { Value = "c1+c2" },
GreenExpression = Input { Value = "c1+c2" },
LUTIn1 = Input {
SourceOp = "CustomTool1LUTIn1",
Source = "Value"
},
Image1 = Input {
SourceOp = "TimeSpeed1",
Source = "Output"
},
BlueExpression = Input { Value = "c1+c2" },
LUTIn2 = Input {
SourceOp = "CustomTool1LUTIn2",
Source = "Value"
}
},
CtrlWZoom = false,
ViewInfo = OperatorInfo { Pos = { 550, 181.5 } },
CustomData = {
}
},
CustomTool1LUTIn1 = LUTBezier {
SplineColor = { Green = 0, Blue = 0, Red = 204 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn2 = LUTBezier {
SplineColor = { Green = 204, Blue = 0, Red = 0 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn3 = LUTBezier {
SplineColor = { Green = 0, Blue = 204, Red = 0 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
},
CustomTool1LUTIn4 = LUTBezier {
SplineColor = { Green = 204, Blue = 204, Red = 204 },
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
NameSet = true
}
}
},
}
},
Inputs = {
NumberIn1 = Input { Value = 300, },
LUTIn1 = Input {
SourceOp = "CustomTool1LUTIn1",
Source = "Value",
},
LUTIn2 = Input {
SourceOp = "CustomTool1LUTIn2",
Source = "Value",
},
LUTIn3 = Input {
SourceOp = "CustomTool1LUTIn3",
Source = "Value",
},
LUTIn4 = Input {
SourceOp = "CustomTool1LUTIn4",
Source = "Value",
},
},
ViewInfo = OperatorInfo { Pos = { 605, 181.5 } },
},
CustomTool1LUTIn1 = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 204, Green = 0, Blue = 0 },
NameSet = true,
},
CustomTool1LUTIn2 = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 0, Green = 204, Blue = 0 },
NameSet = true,
},
CustomTool1LUTIn3 = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 0, Green = 0, Blue = 204 },
NameSet = true,
},
CustomTool1LUTIn4 = LUTBezier {
KeyColorSplines = {
[0] = {
[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
}
},
SplineColor = { Red = 204, Green = 204, Blue = 204 },
NameSet = true,
},
Text1 = TextPlus {
CtrlWZoom = false,
Inputs = {
GlobalIn = Input { Value = 1, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Font = Input { Value = "Open Sans", },
StyledText = Input {
Value = "300g",
Expression = "Text(CustomTool1.NumberIn1 .. \"g\")",
},
Style = Input { Value = "Bold", },
ManualFontKerningPlacement = Input {
Value = StyledText {
Array = {
},
Value = ""
},
},
ShadingGradient1 = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
},
ViewInfo = OperatorInfo { Pos = { 605, 148.5 } },
}
}
}
You'll notice that I've appended a "g" to the end using the .. operator, which can be used to combine strings.