
Then, I merge these nodes together again, with the Screen Mode. Second to last step is then to merge it together (screen again) with a BG-node that has the color I want the outline to be, and finally I combine that with the alpha I have from before I make that final merge.
Something like the code below.
Kind regards
Ulf
- Code: Select all
{
Tools = ordered() {
MatteControl1 = MatteControl {
CtrlWZoom = false,
Inputs = {
MatteCombine = Input { Value = 4, },
PostMultiplyImage = Input { Value = 1, },
Background = Input {
SourceOp = "Merge4",
Source = "Output",
},
Foreground = Input {
SourceOp = "Merge3",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 834, 154 } },
},
Ellipse1 = EllipseMask {
Inputs = {
MaskWidth = Input { Value = 1280, },
MaskHeight = Input { Value = 720, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Width = Input { Value = 0.224934300529583, },
Height = Input { Value = 0.224934300529583, },
},
ViewInfo = OperatorInfo { Pos = { 94, 36 } },
},
Background2 = Background {
Inputs = {
Width = Input { Value = 1280, },
Height = Input { Value = 720, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 1, },
TopLeftGreen = Input { Value = 1, },
TopLeftBlue = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
EffectMask = Input {
SourceOp = "Ellipse1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 218, 76 } },
},
Merge4 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Merge3",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 702, 155 } },
},
Merge3 = Merge {
Inputs = {
Background = Input {
SourceOp = "Glow1_1_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Merge2",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 611, 112 } },
},
Background1 = Background {
Inputs = {
Width = Input { Value = 1280, },
Height = Input { Value = 720, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
},
ViewInfo = OperatorInfo { Pos = { 178, 188 } },
},
Merge2 = Merge {
Inputs = {
Background = Input {
SourceOp = "Glow1_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Glow1",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 515, 69 } },
},
Glow1_1_1 = Glow {
Inputs = {
Blend = Input { Value = 0.2, },
XGlowSize = Input { Value = 58.0952380952381, },
Glow = Input { Value = 0.914285714285714, },
Input = Input {
SourceOp = "Background2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 367, 123 } },
},
Glow1_1 = Glow {
Inputs = {
Blend = Input { Value = 0.2, },
XGlowSize = Input { Value = 81.4285714285714, },
Glow = Input { Value = 0.876190476190476, },
Input = Input {
SourceOp = "Background2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 360, 76 } },
},
Glow1 = Glow {
Inputs = {
Blend = Input { Value = 0.2, },
XGlowSize = Input { Value = 100, },
Glow = Input { Value = 0.847619047619048, },
Input = Input {
SourceOp = "Background2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 363, 27 } },
}
}
}