
How to make rays' centre to always be on the circle's centre?
- Code: Select all
{
Tools = ordered() {
Background1 = Background {
Inputs = {
Width = Input { Value = 1000, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
TopLeftRed = Input { Value = 0.826666666666667, },
TopLeftGreen = Input { Value = 0.231640628132511, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
EffectMask = Input {
SourceOp = "Ellipse1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { 1348, 465 } },
},
Ellipse1 = EllipseMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Width = Input { Value = 0.942000366428163, },
Height = Input { Value = 0.942000366428163, },
},
ViewInfo = OperatorInfo { Pos = { 1350, 433 } },
},
Background2 = Background {
Inputs = {
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
},
ViewInfo = OperatorInfo { Pos = { 1348, 541 } },
},
Rays1 = Fuse.OCLRays {
CtrlWZoom = false,
Inputs = {
Center = Input {
SourceOp = "Publish1",
Source = "Value",
},
Image = Input {
SourceOp = "Merge1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1458, 531 } },
},
Publish1 = PublishPoint {
CtrlWZoom = false,
Inputs = {
Value = Input {
SourceOp = "Path1",
Source = "Position",
},
},
},
Path1 = PolyPath {
DrawMode = "InsertAndModify",
CtrlWZoom = false,
Inputs = {
Displacement = Input {
SourceOp = "Path1Displacement",
Source = "Value",
},
PolyLine = Input {
Value = Polyline {
Points = {
{ Linear = true, LockY = true, X = -0.674403326638568, Y = 0.129689557435222, RX = 0.154846652145625, RY = -0.0640391010333207 },
{ Linear = true, LockY = true, X = -0.209863370201692, Y = -0.0624277456647399, LX = -0.154846652145625, LY = 0.0640391010333207, RX = 0.219024072869226, RY = 0.0670520231213873 },
{ Linear = true, LockY = true, X = 0.447208848405986, Y = 0.138728323699422, LX = -0.219024072869226, LY = -0.0670520231213873, RX = 0.0795315549772285, RY = -0.114065510597303 },
{ Linear = true, LockY = true, X = 0.685803513337671, Y = -0.203468208092486, LX = -0.0795315549772285, LY = 0.114065510597303 }
}
},
},
},
},
Path1Displacement = BezierSpline {
SplineColor = { Red = 255, Green = 0, Blue = 255 },
NameSet = true,
KeyFrames = {
[0] = { 0, RH = { 5, 0.104270399559851 }, Flags = { Linear = true, LockedY = true } },
[15] = { 0.312811198679554, LH = { 10, 0.208540799119703 }, RH = { 31, 0.455345505561555 }, Flags = { Linear = true, LockedY = true } },
[63] = { 0.740414119325557, LH = { 47, 0.597879812443556 }, RH = { 72, 0.826942746217038 }, Flags = { Linear = true, LockedY = true } },
[90] = { 1, LH = { 81, 0.913471373108519 }, Flags = { Linear = true, LockedY = true } }
}
},
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background2",
Source = "Output",
},
Foreground = Input {
SourceOp = "Transform1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 1458, 498 } },
},
Transform1 = Transform {
Inputs = {
Center = Input {
SourceOp = "Publish1",
Source = "Value",
},
Size = Input { Value = 0.280012981602577, },
Input = Input {
SourceOp = "Background1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1458, 465 } },
}
}
}
Last edited by Eugene Afanasiev on Mon May 09, 2016 7:11 pm, edited 3 times in total.
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--