- Posts: 361
- Joined: Fri Jun 12, 2020 2:36 pm
- Real Name: Iain Fisher
What is the most efficent way to achieve a fine uneven jagged solid-ish edge on a mask.I assume it's not by using hundreds of points, so I was thinking maybe it would need to be created as a parallel operation something like this. I'm not a compositor or anything close, so is there a trick you guys would use to achieve this? Only the top half and v shaped edge would be doing the useful masking. I'm guessing there must be a more handy way.
- Code: Select all
{
Tools = ordered() {
Polygon1 = PolylineMask {
DrawMode = "ModifyOnly",
DrawMode2 = "ClickAppend",
Inputs = {
Filter = Input { Value = FuID { "Fast Gaussian" }, },
PaintMode = Input { Value = FuID { "Add" }, },
MaskWidth = Input { Value = 520, },
MaskHeight = Input { Value = 720, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.512032085561497, 0.871428571428571 }, },
Polyline = Input {
Value = Polyline {
Closed = true,
Points = {
{ Linear = true, X = -0.414846190501402, Y = -0.74558797173665, LX = 0.228181288717106, LY = 0.018882643858437, RX = 0.00632300003045968, RY = 0.187354650454463 },
{ Linear = true, X = -0.395877190410023, Y = -0.18352402037326, LX = -0.00632300003045968, LY = -0.187354650454463, RX = 0.120322762739698, RY = -0.0537305980221172 },
{ Linear = true, X = -0.0349089021909284, Y = -0.344715814439611, LX = -0.120322762739698, LY = 0.0537305980221172, RX = 0.100338071659269, RY = 0.0640469265295061 },
{ Linear = true, X = 0.266105312786879, Y = -0.152575034851093, LX = -0.100338071659269, LY = -0.0640469265295061, RX = 0.00119745428767968, RY = -0.178788335103415 },
{ Linear = true, X = 0.269697675649918, Y = -0.688940040161339, LX = -0.00119745428767968, LY = 0.178788335103415, RX = -0.228181288717106, RY = -0.018882643858437 }
}
},
},
Polyline2 = Input {
Value = Polyline {
},
Disabled = true,
},
},
ViewInfo = OperatorInfo { Pos = { 100, -21.1212 } },
},
Instance_Polygon1 = PolylineMask {
DrawMode = "ModifyOnly",
DrawMode2 = "ClickAppend",
FollowExtMatchPoints2 = false,
SourceOp = "Polygon1",
Inputs = {
EffectMask = Input {
SourceOp = "Polygon1",
Source = "Mask",
},
SettingsNest = Input { },
BorderWidth = Input { },
Polyline2 = Input {
Value = Polyline {
},
Disabled = true,
},
["ShapeRasterizer.Nest"] = Input { },
CommentsNest = Input { },
FrameRenderScriptNest = Input { },
StartRenderScripts = Input { },
EndRenderScripts = Input { },
},
ViewInfo = OperatorInfo { Pos = { 100.666, 11.606 } },
},
Instance_Polygon1_1 = PolylineMask {
DrawMode = "ModifyOnly",
DrawMode2 = "ClickAppend",
CtrlWZoom = false,
SourceOp = "Polygon1",
Inputs = {
SettingsNest = Input { },
BorderWidth = Input { },
PaintMode = Input { Value = FuID { "Subtract" }, },
Center = Input { Value = { 0.512032085561497, 0.844429 }, },
Polyline2 = Input { Disabled = true, },
["ShapeRasterizer.Nest"] = Input { },
CommentsNest = Input { },
FrameRenderScriptNest = Input { },
StartRenderScripts = Input { },
EndRenderScripts = Input { },
EffectMask = Input {
SourceOp = "Instance_Polygon1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 190.667, 11.6061 } },
},
image1 = Background {
NameSet = true,
Inputs = {
GlobalOut = Input { Value = 500, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 204.667, 50.3939 } },
},
image2 = Background {
NameSet = true,
Inputs = {
GlobalOut = Input { Value = 500, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftBlue = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 204, 87.9697 } },
},
FastNoise1 = FastNoise {
Inputs = {
EffectMask = Input {
SourceOp = "Instance_Polygon1_1",
Source = "Mask",
},
GlobalOut = Input { Value = 500, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Detail = Input { Value = 10, },
Contrast = Input { Value = 5, },
LockXY = Input { Value = 0, },
XScale = Input { Value = 960, },
},
ViewInfo = OperatorInfo { Pos = { 294.667, 12.2121 } },
},
Merge1 = Merge {
CtrlWZoom = false,
Inputs = {
Background = Input {
SourceOp = "image2",
Source = "Output",
},
Foreground = Input {
SourceOp = "LumaKeyer1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 316, 87.0303 } },
},
LumaKeyer1 = LumaKeyer {
Inputs = {
EffectMask = Input {
SourceOp = "FastNoise1",
Source = "Output",
},
Low = Input { Value = 0.694, },
Filter = Input { Value = FuID { "Fast Gaussian" }, },
Input = Input {
SourceOp = "image1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 316, 51 } },
}
},
ActiveTool = "Merge1"
}