Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- Tools = ordered() {
- SuperPetals = MacroOperator {
- CtrlWZoom = false,
- CustomData = {
- SxSFilename = "C:\\Users\\alain\\AppData\\Roaming\\Blackmagic Design\\DaVinci Resolve\\Support\\Fusion\\Macros\\SuperPetals.setting",
- Path = {
- Map = {
- ["Setting:"] = "Macros:\\"
- }
- },
- },
- Inputs = ordered() {
- Input2 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "ShowViewControls",
- Default = 1,
- },
- Input3 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Level",
- Default = 1,
- },
- Input4 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Filter",
- },
- Input5 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "SoftEdge",
- },
- Input6 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Passes",
- Default = 4,
- },
- Input7 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "BorderWidth",
- },
- Input8 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "PaintMode",
- },
- Input9 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Invert",
- Width = 0.5,
- },
- Input10 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Solid",
- Width = 0.5,
- Default = 1,
- },
- Input11 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "JoinStyle",
- Name = "Border Style",
- ControlGroup = 11,
- Default = 1,
- },
- Input12 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "CapStyle",
- ControlGroup = 11,
- Default = 1,
- },
- Input13 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "MiterLimit",
- Default = 10,
- },
- Input14 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "WritePosition",
- Default = 0,
- },
- Input15 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "WriteLength",
- Default = 1,
- },
- Input16 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Center",
- },
- Input17 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Size",
- Default = 1,
- },
- Input18 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "XRotation",
- Default = 0,
- },
- Input19 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "YRotation",
- Default = 0,
- },
- Input20 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "ZRotation",
- Default = 0,
- },
- Input21 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "FillMethod",
- Default = 0,
- },
- Input29 = InstanceInput {
- SourceOp = "Petals",
- Source = "p1",
- Page = "Petals",
- },
- Input30 = InstanceInput {
- SourceOp = "Petals",
- Source = "n1",
- Page = "Petals",
- },
- Input31 = InstanceInput {
- SourceOp = "CustomPoly2",
- Source = "n1",
- Default = 0.135,
- },
- Input32 = InstanceInput {
- SourceOp = "CustomPoly2",
- Source = "n2",
- Page = "Petals",
- Default = 10,
- },
- Input33 = InstanceInput {
- SourceOp = "CustomPoly2",
- Source = "n3",
- Page = "Petals",
- Default = 1,
- },
- Input22 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "OutputSize",
- Page = "Image",
- },
- Input23 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "ProcessMode",
- },
- Input24 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "MaskWidth",
- Default = 1920,
- },
- Input25 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "MaskHeight",
- Default = 1080,
- },
- Input26 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "PixelAspect",
- DefaultX = 1,
- DefaultY = 1,
- },
- Input27 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "UseFrameFormatSettings",
- Default = 1,
- },
- Input28 = InstanceInput {
- SourceOp = "Polygon1",
- Source = "Depth",
- Default = 0,
- },
- EffectMask = InstanceInput {
- SourceOp = "Polygon1",
- Source = "EffectMask",
- }
- },
- Outputs = {
- MainOutput1 = InstanceOutput {
- SourceOp = "Polygon1",
- Source = "Mask",
- }
- },
- ViewInfo = GroupInfo { Pos = { 550, 115.5 } },
- Tools = ordered() {
- Polygon1 = PolylineMask {
- DrawMode = "InsertAndModify",
- DrawMode2 = "InsertAndModify",
- CtrlWZoom = false,
- CtrlWShown = false,
- NameSet = true,
- Inputs = {
- Filter = Input { Value = FuID { "Fast Gaussian" }, },
- OutputSize = Input { Value = FuID { "Custom" }, },
- MaskWidth = Input { Value = 1920, },
- MaskHeight = Input { Value = 1080, },
- PixelAspect = Input { Value = { 1, 1 }, },
- UseFrameFormatSettings = Input { Value = 1, },
- ClippingMode = Input { Value = FuID { "None" }, },
- Polyline = Input {
- SourceOp = "Petals",
- Source = "Output",
- },
- Polyline2 = Input {
- Value = Polyline {
- },
- Disabled = true,
- }
- },
- ViewInfo = OperatorInfo { Pos = { -0.9375, 6.75758 } },
- },
- Petals = CustomPoly {
- CtrlWZoom = false,
- NameSet = true,
- Inputs = {
- n9 = Input { Expression = "Polygon1.MaskWidth/Polygon1.MaskHeight", },
- SourcePolyline = Input {
- SourceOp = "CustomPoly2",
- Source = "Output",
- },
- SourcePolyline2 = Input {
- Value = Polyline {
- Points = {
- { X = -0.5, Y = 0, RX = 0, RY = 0 },
- { X = 0.5, Y = 0, LX = 0, LY = 0 }
- }
- },
- },
- SourcePolyline3 = Input {
- Value = Polyline {
- Points = {
- { X = -0.5, Y = 0, RX = 0, RY = 0 },
- { X = 0.5, Y = 0, LX = 0, LY = 0 }
- }
- },
- },
- ShowViewControls = Input { Value = 0, },
- NumPoints = Input { Expression = "CustomPoly2.NumPoints/8", },
- PolyExpressionX = Input { Value = "px*cos(n1)-py*sin(n1)+p1x-.5", },
- PolyExpressionY = Input { Value = "(px*sin(n1)+py*cos(n1))*n9+p1y-.5", },
- NumberControls = Input { Value = 1, },
- NameforNumber1 = Input { Value = "Angle", },
- ShowNumber2 = Input { Value = 0, },
- ShowNumber3 = Input { Value = 0, },
- ShowNumber4 = Input { Value = 0, },
- NameforNumber9 = Input { Value = "Ratio", },
- PointControls = Input { Value = 1, },
- NameforPoint1 = Input { Value = "Center", }
- },
- UserControls = ordered() {
- n1 = {
- INP_MaxAllowed = 1000000,
- INP_Integer = false,
- INPID_InputControl = "ScrewControl",
- INP_MaxScale = 180,
- INP_MinScale = -180,
- INP_MinAllowed = -1000000,
- LINKID_DataType = "Number",
- ICS_ControlPage = "Controls",
- INP_SplineType = "Default",
- LINKS_Name = "Number In 1"
- }
- }
- },
- CustomPoly2 = CustomPoly {
- Inputs = {
- n1 = Input { Value = 0.135, },
- SourcePolyline = Input {
- SourceOp = "Publish2",
- Source = "Value",
- },
- SourcePolyline2 = Input {
- Value = Polyline {
- Points = {
- { X = -0.5, Y = 0, RX = 0, RY = 0 },
- { X = 0.5, Y = 0, LX = 0, LY = 0 }
- }
- },
- },
- SourcePolyline3 = Input {
- Value = Polyline {
- Points = {
- { X = -0.5, Y = 0, RX = 0, RY = 0 },
- { X = 0.5, Y = 0, LX = 0, LY = 0 }
- }
- },
- },
- ShowViewControls = Input { Value = 0, },
- NumPoints = Input { Expression = "360*n2+1", },
- PolyExpressionX = Input { Value = "px * (1 + n1 * sin(index))*n3", },
- PolyExpressionY = Input { Value = "n3*py * (1 + n1 * sin(index))", },
- NumberControls = Input { Value = 1, },
- NameforNumber1 = Input { Value = "HF Amplitude (relative)", },
- NameforNumber2 = Input { Value = "HF Frequency (petals)", },
- NameforNumber3 = Input { Value = "Size", },
- ShowNumber4 = Input { Value = 0, },
- NameforNumber9 = Input { Value = "ratio", },
- PointControls = Input { Value = 1, },
- ShowPoint1 = Input { Value = 0, },
- n2 = Input { Value = 10, },
- n3 = Input { Value = 1, }
- },
- UserControls = ordered() {
- n2 = {
- INP_MaxAllowed = 1000000,
- INP_Integer = true,
- INPID_InputControl = "SliderControl",
- INP_MaxScale = 10,
- INP_MinScale = 3,
- INP_MinAllowed = 3,
- LINKID_DataType = "Number",
- ICS_ControlPage = "Controls",
- INP_SplineType = "Default",
- LINKS_Name = "HF Frequency (petals)"
- },
- n3 = {
- INP_MaxAllowed = 1000000,
- INP_Integer = false,
- INPID_InputControl = "SliderControl",
- INP_MaxScale = 5,
- INP_MinScale = 0,
- INP_MinAllowed = 0,
- LINKID_DataType = "Number",
- ICS_ControlPage = "Controls",
- INP_SplineType = "Default",
- LINKS_Name = "Number In 3"
- }
- }
- },
- Publish2 = PublishPolyLine {
- Inputs = {
- Value = Input {
- Value = Polyline {
- Closed = true,
- Points = {
- { X = -0.25, Y = 3.07913416985883e-17, LX = 1.69088437774545e-17, LY = 0.138071187457698, RX = -1.69088437774545e-17, RY = -0.138071187457698 },
- { X = -5.11743425413158e-17, Y = -0.25, LX = -0.138071187457698, LY = 2.53632656661817e-17, RX = 0.138071187457698, RY = -2.53632656661817e-17 },
- { X = 0.25, Y = -6.11490025281825e-17, LX = -3.38176875549089e-17, LY = -0.138071187457698, RX = 3.38176875549089e-17, RY = 0.138071187457698 },
- { X = 7.13405029495462e-17, Y = 0.25, LX = 0.138071187457698, LY = -4.22721094436361e-17, RX = -0.138071187457698, RY = 4.22721094436361e-17 }
- }
- },
- }
- },
- },
- AnimCurvesonPetalsLookup = 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 = 0 },
- CtrlWZoom = false,
- }
- },
- }
- },
- ActiveTool = "SuperPetals"
- }
Advertisement
Add Comment
Please, Sign In to add comment