- Posts: 10
- Joined: Wed Sep 30, 2020 2:10 pm
- Location: Korea
- Real Name: Seon Jae, Jeon
There are several ways to draw a dotted or dashed line, and you can find the following post on this forum as well.
https://forum.blackmagicdesign.com/viewtopic.php?f=22&t=61633
But looking at your reference, in this case it might be more appropriate to think of it as "cutting out part of a circle" as shown below.
- Code: Select all
{
Tools = ordered() {
Transform1 = Transform {
CtrlWZoom = false,
NameSet = true,
Inputs = {
Angle = Input { Value = 180, },
Input = Input {
SourceOp = "Paint1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 465.538, 180.231 } },
},
Merge1 = Merge {
CtrlWZoom = false,
NameSet = true,
Inputs = {
Background = Input {
SourceOp = "Duplicate1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Background1",
Source = "Output",
},
Operator = Input { Value = FuID { "Held Out" }, },
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 245.538, 180.231 } },
},
Paint1 = Paint {
NameSet = true,
Inputs = {
Input = Input {
SourceOp = "Merge1",
Source = "Output",
},
Paint = Input {
SourceOp = "Circle1_1",
Source = "Out",
},
},
ViewInfo = OperatorInfo { Pos = { 355.538, 180.231 } },
},
Circle1_1 = Circle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor" },
CtrlWZoom = false,
Inputs = {
Radius = Input { Value = 0.12189828103598, },
["PaintApplyColor.Red"] = Input { Value = 0.470588237047195, },
["PaintApplyColor.Green"] = Input { Value = 0.815686285495758, },
["PaintApplyColor.Blue"] = Input { Value = 0.843137264251709, },
},
},
Background1 = Background {
NameSet = true,
Inputs = {
GlobalOut = Input { Value = 240, },
Width = Input { Value = 1080, },
Height = Input {
Value = 1080,
Expression = "Width",
},
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 0.47208, },
TopLeftGreen = Input { Value = 0.81629376, },
TopLeftBlue = Input { Value = 0.843, },
EffectMask = Input {
SourceOp = "Ellipse1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo {
Pos = { 25.5385, 180.231 },
Flags = {
ShowPic = true
}
},
},
Ellipse1 = EllipseMask {
Inputs = {
BorderWidth = Input { Value = 0.15, },
Solid = Input { Value = 0, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Width = Input { Value = 0.819, },
Height = Input {
Value = 0.819,
Expression = "Width",
},
},
ViewInfo = OperatorInfo { Pos = { -84.4615, 180.231 } },
},
Duplicate1 = Fuse.Duplicate {
NameSet = true,
Inputs = {
Copies = Input { Value = 5, },
Angle = Input { Value = 72, },
RandomSeed = Input { Value = 26024, },
Background = Input {
SourceOp = "Instance_Background1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 135.538, 114.231 } },
},
Instance_Background1 = Background {
NameSet = true,
SourceOp = "Background1",
Inputs = {
ImageNest = Input { },
FrameRenderScriptNest = Input { },
EndRenderScripts = Input { },
SettingsNest = Input { },
StartRenderScripts = Input { },
BackgroundNest = Input { },
CommentsNest = Input { },
Height = Input {
Value = 1080,
Expression = "Width"
},
["Gamut.ColorSpaceNest"] = Input { },
["Gamut.GammaSpaceNest"] = Input { },
EffectMask = Input {
SourceOp = "Polygon1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 25.5385, 114.231 } },
},
Polygon1 = PolylineMask {
DrawMode = "InsertAndModify",
DrawMode2 = "InsertAndModify",
NameSet = true,
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Polyline = Input {
Value = Polyline {
Closed = true,
Points = {
{ Linear = true, X = -0.1, Y = 0.575385, LX = 0.0666666666666667, LY = 0, RX = 0.0333333333333333, RY = -0.191795, PublishID = "Point0" },
{ Linear = true, X = 0, Y = 0, LX = -0.0333333333333333, LY = 0.191795, RX = 0, RY = 0, PublishID = "Point1" },
{ Linear = true, X = 0, Y = 0, LX = 0, LY = 0, RX = 0.0333333333333333, RY = 0.191795, PublishID = "Point2" },
{ Linear = true, X = 0.1, Y = 0.575385, LX = -0.0333333333333333, LY = -0.191795, RX = -0.0666666666666667, RY = 0, PublishID = "Point3" }
}
},
},
Polyline2 = Input {
Value = Polyline {
},
Disabled = true,
},
Point0 = Input { Value = { 0.4, 1.075385 }, },
Point1 = Input { Value = { 0.5, 0.5 }, },
Point2 = Input { Value = { 0.5, 0.5 }, },
Point3 = Input { Value = { 0.6, 1.075385 }, },
},
ViewInfo = OperatorInfo { Pos = { -84.4615, 114.231 } },
}
}
}