Jump to: Board index » General » Fusion

Trails Offset and Scale dependecies Tracker LINK!!!! *SOLVED

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Trails Offset and Scale dependecies Tracker LINK!!!! *SOLVED

PostSun Apr 03, 2016 3:06 am

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]]--
Offline

Sander de Regt

  • Posts: 4133
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 6:16 am

The two backgrounds aren't the same size, so the transformation coordinates (that are relative to the image size) are never in the same place, so the centers aren't either.
Why do you use a seperate transform to move the ball instead of animating the center in the merge tool?
That's only useful if the two images are the same size. If they're not, use the merge.

There is also no need to seperately publish the center of the rays. You can just right-click and 'connect to' the position of the ball.

Like this:

Code: Select all
{
   Tools = ordered() {
      Ellipse1_1 = 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 = { 715, 138, }, },
      },
      Background1_1 = Background {
         Inputs = {
            GlobalOut = Input { Value = 90, },
            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_1",
               Source = "Mask",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 789, 185, }, },
      },
      Background2_1 = Background {
         Inputs = {
            GlobalOut = Input { Value = 90, },
            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 = { 789, 261, }, },
      },
      Merge1_1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background2_1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Background1_1",
               Source = "Output",
            },
            Center = Input {
               SourceOp = "Publish1_1_1",
               Source = "Value",
            },
            Size = Input { Value = 0.280012981602577, },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 983, 263, }, },
      },
      Publish1_1_1 = PublishPoint {
         CtrlWZoom = false,
         Inputs = {
            Value = Input {
               SourceOp = "Path1_1_1",
               Source = "Position",
            },
         },
      },
      Path1_1_1 = PolyPath {
         DrawMode = "InsertAndModify",
         Inputs = {
            Displacement = Input {
               SourceOp = "Path1_1Displacement1",
               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, },
                  },
               },
            },
         },
      },
      Path1_1Displacement1 = 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, }, },
         },
      },
      Rays1_1 = Fuse.OCLRays {
         CtrlWZoom = false,
         Inputs = {
            Center = Input {
               SourceOp = "Publish1_1_1",
               Source = "Value",
            },
            Image = Input {
               SourceOp = "Merge1_1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1115, 263, }, },
      },
   },
}
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 10:43 am

Got it! Thanks!
__
--[[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]]--
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 11:04 am

Now the hard one: how to set up Trails to have it's centre in the circle's centre but not animated by hand?
Code: Select all
{
   Tools = ordered() {
      Trails1 = Trails {
         CtrlWZoom = false,
         Inputs = {
            GainRed = Input { Value = 0.680952380952381, },
            XOffset = Input {
               SourceOp = "Trails1XOffset",
               Source = "Value",
            },
            YOffset = Input {
               SourceOp = "Trails1YOffset",
               Source = "Value",
            },
            XScale = Input { Value = 1.05714285714286, },
            MergeUnder = Input { Value = 1, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1404.28, 346.201 } },
      },
      Trails1XOffset = BezierSpline {
         SplineColor = { Red = 250, Green = 59, Blue = 49 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0.0267619047619048, RH = { 2.66666666666667, 0.0260897942857143 }, Flags = { Linear = true } },
            [8] = { 0.0247455733333333, LH = { 5.33333333333333, 0.0254176838095238 }, RH = { 11.6666666666667, 0.0193804737404295 }, Flags = { Linear = true } },
            [19] = { 0.00865027455462186, LH = { 15.3333333333333, 0.0140153741475257 }, RH = { 21, 0.00703669097292252 }, Flags = { Linear = true } },
            [25] = { 0.00380952380952383, LH = { 23, 0.00542310739122317 }, RH = { 28.3333333333333, 0.00144847374847376 }, Flags = { Linear = true } },
            [35] = { -0.00327362637362637, LH = { 31.6666666666667, -0.000912576312576303 }, RH = { 38.3, -0.00585113186813186 }, Flags = { Linear = true } },
            [45] = { -0.0110842490842491, LH = { 41.7, -0.00850674358974358 }, RH = { 47.6666666666667, -0.0135847657605552 }, Flags = { Linear = true } },
            [53] = { -0.0185857991131675, LH = { 50.3333333333333, -0.0160852824368614 }, RH = { 56.63, -0.0208910568343937 }, Flags = { Linear = true } },
            [64] = { -0.0255714285714286, LH = { 60.37, -0.0232661708502024 }, Flags = { Linear = true } }
         }
      },
      Trails1YOffset = BezierSpline {
         SplineColor = { Red = 252, Green = 131, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [8] = { -0.00142857142857143, RH = { 11.6666666666667, -0.000468720821661999 }, Flags = { Linear = true } },
            [19] = { 0.00145098039215686, LH = { 15.3333333333333, 0.000491129785247432 }, RH = { 21, 0.000967320261437908 }, Flags = { Linear = true } },
            [25] = { 0, LH = { 23, 0.000483660130718954 }, RH = { 28.3333333333333, -0.000166820512820513 }, Flags = { Linear = true } },
            [35] = { -0.000500461538461539, LH = { 31.6666666666667, -0.000333641025641026 }, RH = { 38.3, -0.00174993340659341 }, Flags = { Linear = true } },
            [45] = { -0.00428673992673993, LH = { 41.7, -0.00303726805860806 }, RH = { 47.6666666666667, -0.00464525287577919 }, Flags = { Linear = true } },
            [53] = { -0.00536227877385772, LH = { 50.3333333333333, -0.00500376582481846 }, RH = { 56.63, -0.00631726963562753 }, Flags = { Linear = true } },
            [64] = { -0.00825619047619048, LH = { 60.37, -0.00730119961442067 }, Flags = { Linear = true } }
         }
      },
      Rays1 = Fuse.OCLRays {
         Inputs = {
            Center = Input {
               SourceOp = "Publish1",
               Source = "Value",
            },
            Image = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1291.46, 415.497 } },
      },
      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 = "Background1",
               Source = "Output",
            },
            Center = Input {
               SourceOp = "Publish1_1",
               Source = "Value",
            },
            Size = Input { Value = 0.280012981602577, },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 1222.16, 331.586 } },
      },
      Publish1_1 = PublishPoint {
         CtrlWZoom = false,
         Inputs = {
            Value = Input {
               SourceOp = "Path1_1",
               Source = "Position",
            },
         },
      },
      Path1_1 = PolyPath {
         DrawMode = "InsertAndModify",
         CtrlWZoom = false,
         Inputs = {
            Displacement = Input {
               SourceOp = "Path1Displacement1",
               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 }
                  }
               },
            },
         },
      },
      Path1Displacement1 = 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 } }
         }
      },
      Background1 = Background {
         Inputs = {
            Width = Input { Value = 1000, },
            Height = Input { Value = 1000, },
            ["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 = { 1156, 290.908 } },
      },
      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 = { 1158, 258.908 } },
      },
      Polygon8 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon8Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon7",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 554.908 } },
      },
      Polygon8Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.288961052894592, Y = -0.419191926717758, LX = -0.0330290566567253, LY = -0.0281358612368663, RX = 0.0259740306185438, RY = 0.0221260246346351 },
                     { X = -0.211038962006569, Y = -0.352813839912415, LX = -0.0113636373312442, LY = -0.00144298854156322, RX = 0.0230281194208531, RY = 0.00292417924731517 },
                     { X = -0.142857149243355, Y = -0.374458879232407, LX = -0.0227272791134847, LY = 0.0346320298585025, RX = 0.0159453933978488, RY = -0.0242977321439337 },
                     { X = -0.181818187236786, Y = -0.46248197555542, LX = 0.0657467478281492, LY = 0.0043289912555473, RX = -0.0365999549138561, RY = -0.0024098664954447 }
                  }
               } }
         }
      },
      Polygon6 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon6Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon5",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 488.908 } },
      },
      Polygon6Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = 0.197240263223648, Y = 0.321067810058594, LX = 0.00315172793942798, LY = 0.0603886525465204, RX = -0.00730519596632425, RY = -0.139971136301398 },
                     { X = 0.175324678421021, Y = -0.0988456010818481, LX = -0.000811685215343168, LY = 0.0822510800148329, RX = 0.000907088272522699, RY = -0.09191862642495 },
                     { X = 0.181006491184235, Y = -0.374458879232407, LX = -0.00238736224534571, LY = 0.0918473258628042, RX = 0.0235389618130473, RY = 0.0197210213121971 },
                     { X = 0.25162336230278, Y = -0.315295815467834, LX = 0.00649349217291007, LY = -0.0649350651070841, RX = -0.00678996818556136, RY = 0.067899831779864 },
                     { X = 0.230519473552704, Y = -0.111832611262798, LX = 0.00487012290335315, LY = -0.0649350643652514, RX = -0.00654732776895398, RY = 0.0872978277005489 },
                     { X = 0.235389605164528, Y = 0.1522366553545, LX = -0.00243507016014745, LY = -0.0432900401721957, RX = 0.00339452886073348, RY = 0.0603470459093187 }
                  }
               } }
         }
      },
      Polygon10 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon10Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon9",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 620.908 } },
      },
      Polygon10Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = 0.28733766078949, Y = -0.416305929422379, LX = -0.00162337223688761, LY = -0.0024049977461497, RX = 0.00974026025631728, RY = 0.0101010144731642 },
                     { X = 0.316558450460434, Y = -0.386002898216248, LX = -0.00649349759151407, LY = -1.22133615443332e-008, RX = 0.0192099511623275, RY = 3.61312336669064e-008 },
                     { X = 0.374188303947449, Y = -0.386002898216248, LX = -0.00730520254605771, LY = 0.00288599067264134, RX = 0.0223895206105232, RY = -0.00884519590517738 },
                     { X = 0.439935058355331, Y = -0.422077924013138, LX = -0.0216786168986797, LY = 0.0136149149458564, RX = -0.052489175295933, RY = -0.000480999835928568 },
                     { Linear = true, X = 0.282467544078827, Y = -0.423520922660828, LX = 0.052489175295933, LY = 0.000480999835928568, RX = 0.00162337223688761, RY = 0.0024049977461497 }
                  }
               } }
         }
      },
      Polygon3 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon3Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon2",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 389.908 } },
      },
      Polygon3Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = 0.31087663769722, Y = 0.422077924013138, LX = 0.0286796490351359, LY = -0.0254930257797241, RX = 0.00649350171997435, RY = -0.0764790771241484 },
                     { Linear = true, X = 0.330357134342194, Y = 0.192640691995621, LX = -0.00649350171997435, LY = 0.0764790771241484, RX = 0.0221861500244636, RY = 0.0509860512010749 },
                     { Linear = true, X = 0.396915584802628, Y = 0.345598846673965, LX = -0.0221861500244636, LY = -0.0509860512010749, RX = -0.0286796490351359, RY = 0.0254930257797241 }
                  }
               } }
         }
      },
      Polygon7 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon7Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon6",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 521.908 } },
      },
      Polygon7Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.0113636367022991, Y = 0.388888895511627, LX = -0.00162337658305963, LY = 0.00288599729537964, RX = 0.0154220780349655, RY = 0.0230880208804437 },
                     { Linear = true, X = 0.034902598708868, Y = 0.458152949810028, LX = -0.0154220780349655, LY = -0.0230880208804437, RX = 0.0121753242399011, RY = -0.000961998181024271 },
                     { X = 0.0714285746216774, Y = 0.455266952514648, LX = -0.0162337630406603, LY = 0.0129870102347062, RX = 0.0125809116639011, RY = -0.0100647291778119 },
                     { X = 0.0438311696052551, Y = 0.400432914495468, LX = 0.0438311696052551, LY = 0.0158730299355837, RX = -0.0196259042347418, RY = -0.00710732951542326 },
                     { X = -0.016233766451478, Y = 0.397546887397766, LX = 0.0202195159109957, LY = -0.00211065120886061, RX = 0.00162337658305963, RY = -0.00288599729537964 }
                  }
               } }
         }
      },
      Polygon4 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon4Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon3",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 422.908 } },
      },
      Polygon4Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = 0.394480526447296, Y = 0.104617603123188, LX = 0.0151515106360118, LY = 0.0101010128855705, RX = 0.00324675092449437, RY = -0.0812890807909424 },
                     { X = 0.404220789670944, Y = -0.139249637722969, LX = -0.00324674279658821, LY = 0.0129870145136832, RX = 0.00650556355307954, RY = -0.0260223410281575 },
                     { X = 0.417207777500153, Y = -0.221500724554062, LX = 0.00405842685080191, LY = 0.0562770532237159, RX = -0.00248984943031099, RY = -0.0345260353481454 },
                     { X = 0.405844151973724, Y = -0.323953837156296, LX = -3.87043155449784e-009, LY = 0.0259740127715541, RX = 2.79898568601285e-009, RY = -0.0187836651744986 },
                     { X = 0.413149356842041, Y = -0.378787875175476, LX = -0.00365260103466547, LY = 0.0180251864223409, RX = 0.0121753226110946, RY = 0.0317460305418975 },
                     { X = 0.449675321578979, Y = -0.283549785614014, LX = -3.09634517618883e-009, LY = -0.0490620511262792, RX = 2.59471118064828e-009, RY = 0.0411135855959292 },
                     { X = 0.442370116710663, Y = -0.1608946621418, LX = 0.0154220647626109, LY = -0.0404040416511794, RX = -0.0149817805502063, RY = 0.0392505474900423 },
                     { X = 0.411525964736938, Y = -0.0295815300196409, LX = -0.00811689240591858, LY = -0.044733045171156, RX = 0.00990548811431952, RY = 0.0545901836689506 },
                     { X = 0.439935058355331, Y = 0.1349206417799, LX = -0.00925180275203671, LY = -0.054955994065295, RX = -0.0151515106360118, RY = -0.0101010128855705 }
                  }
               } }
         }
      },
      Polygon5 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon5Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon4",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 455.908 } },
      },
      Polygon5Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.0503246746957302, Y = -0.365800857543945, LX = -0.00232250786016699, LY = -0.0258056428907441, RX = 0.00583749824882202, RY = 0.0648610916535774 },
                     { X = -0.0219155848026276, Y = -0.175324678421021, LX = 0.00405844117139843, LY = -0.0360750391713813, RX = -0.0048576835448717, RY = 0.0431794171117768 },
                     { X = -0.0495129860937595, Y = -0.0526695512235165, LX = 0.004058442477669, LY = -0.0259740245279897, RX = -0.00661513324213096, RY = 0.0423368408034495 },
                     { X = -0.0430194810032845, Y = 0.0786435753107071, LX = -0.00655431916630302, LY = -0.044488142865387, RX = 0.00568181834308616, RY = -0.0139490128380568 },
                     { X = -0.0259740259498358, Y = 0.0367965362966061, LX = -0.0211038960797059, LY = 0.103896103396173, RX = 0.0117453360944508, RY = -0.057823192868417 },
                     { X = 0.00974025949835777, Y = -0.136363640427589, LX = -0.00811688335878513, LY = 0.125541121477173, RX = 0.00513511104783875, RY = -0.0794230459352053 },
                     { X = -0.00649350648745894, Y = -0.374458879232407, LX = 0.017045454551502, LY = 0.0404040356305083, RX = -0.00882018103634251, RY = -0.0209070933123641 }
                  }
               } }
         }
      },
      Polygon9 = PolylineMask {
         DrawMode = "ClickAppend",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon9Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon8",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 587.908 } },
      },
      Polygon9Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
               } }
         }
      },
      Polygon2 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon2Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 356.908 } },
      },
      Polygon2Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.271103888750076, Y = 0.437950938940048, LX = 0.00378787517547607, LY = 0.0028860072294871, RX = 0.0048701274188566, RY = -0.047619047948751 },
                     { X = -0.256493508815765, Y = 0.295093804597855, LX = -0.00487013219238876, LY = 0.0533910628951129, RX = 0.00234870701097608, RY = -0.0257487802777093 },
                     { X = -0.252435058355331, Y = 0.217171713709831, LX = -0.00324674666701975, LY = 0.0115440080821257, RX = 0.0119813621739445, RY = -0.0426004723977589 },
                     { X = -0.185064941644669, Y = 0.295093804597855, LX = -0.0276943772683592, LY = -0.0602612816428911, RX = -0.0248917726985304, RY = 0.0505050473370306 },
                     { Linear = true, X = -0.259740263223648, Y = 0.44660896062851, LX = 0.0248917726985304, LY = -0.0505050473370306, RX = -0.00378787517547607, RY = -0.0028860072294871 }
                  }
               } }
         }
      },
      Polygon1 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon1Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 323.908 } },
      },
      Polygon1Polyline = BezierSpline {
         SplineColor = { Red = 173, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.418019473552704, Y = -0.235930740833282, LX = -0.00748837218093691, LY = -0.06012886449707, RX = 0.0162337639115073, RY = 0.130351131985313 },
                     { X = -0.369318187236786, Y = 0.155122652649879, LX = 0.0129870075684089, LY = -0.0634920659648391, RX = -0.00930390132578951, RY = 0.0454857605646066 },
                     { X = -0.383928567171097, Y = 0.297979801893234, LX = 0.0026532393042607, LY = -0.0486856943393741, RX = 0.0229978340786773, RY = -0.0254930267975042 },
                     { X = -0.314935058355331, Y = 0.221500724554062, LX = 0.0073052013849281, LY = 0.145743148796486, RX = -0.00479242664461083, RY = -0.0956117857343117 },
                     { X = -0.302759736776352, Y = -0.0656565651297569, LX = -0.00568181469842993, LY = 0.0952380957649039, RX = 0.00490329283463502, RY = -0.0821885783563803 },
                     { X = -0.323051959276199, Y = -0.310966819524765, LX = 0.0259740147497747, LY = 0.036075027517082, RX = -0.0272983758749694, RY = -0.0379144183272519 }
                  }
               } }
         }
      },
      Polygon11 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon11Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon10",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 653.908 } },
      },
      Polygon11Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.00324675324372947, Y = -0.422077924013138, LX = 0.0316558451546977, LY = -0.0139490167299906, RX = 0.0346320346310267, RY = -0.00384800320293194 },
                     { Linear = true, X = 0.10064934939146, Y = -0.433621942996979, LX = -0.0346320346310267, LY = 0.00384800320293194, RX = 0.0213744592937556, RY = -0.00481000168498976 },
                     { Linear = true, X = 0.164772734045982, Y = -0.448051959276199, LX = -0.0213744592937556, LY = 0.00481000168498976, RX = -0.024350651608401, RY = -0.00529100154958819 },
                     { Linear = true, X = 0.0917207822203636, Y = -0.46392497420311, LX = 0.024350651608401, LY = 0.00529100154958819, RX = -0.0316558451546977, RY = 0.0139490167299906 }
                  }
               } }
         }
      },
      Polygon12 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Polyline = Input {
               SourceOp = "Polygon12Polyline",
               Source = "Value",
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon11",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 686.908 } },
      },
      Polygon12Polyline = BezierSpline {
         SplineColor = { Red = 96, Green = 255, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [39] = { 0, Flags = { Linear = true, LockedY = true }, Value = Polyline {
                  Closed = true,
                  Points = {
                     { Linear = true, X = -0.457792222499847, Y = 0.435064941644669, LX = 0.0432900488376617, LY = 0.0153920153776805, RX = 0.0200216499241916, RY = -0.00769600988925219 },
                     { X = -0.397727280855179, Y = 0.411976903676987, LX = -0.00892857955647752, LY = -8.29992529443282e-009, RX = 0.0266473468221457, RY = 2.47711281214798e-008 },
                     { X = -0.327922075986862, Y = 0.48124098777771, LX = -0.0215789290230855, LY = -0.0346320296647976, RX = -0.0432900488376617, RY = -0.0153920153776805 }
                  }
               } }
         }
      },
      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 }
                  }
               },
            },
            EffectMask = Input {
               SourceOp = "Polygon12",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1084.58, 719.908 } },
      }
   }
}
__
--[[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]]--
Offline

Sander de Regt

  • Posts: 4133
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 11:30 am

Trails doesn't have a center. It has an offset which is slightly different.
What is it that you want to achieve?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 12:26 pm

I know. that's why it's harder..
I want the Trails to act as if they had a centre,
the scale is 1.05 so by default it scales from the center of the image, so I use offsets to animate it: I need it to scale from the center of the moving object constantly, as I did in the comp but I only could do it by hand, I'm trying to find a depended values but still no luck
__
--[[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]]--
Offline

Sander de Regt

  • Posts: 4133
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Rays're offsetting from the centre

PostSun Apr 03, 2016 9:10 pm

I am afraid this exceeds my math knowledge as well. I am pretty sure something can be figured out to do this, but it won't be me doing it. :-)
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Trails Offset and Scale dependecies Tracker LINK!!!! *SO

PostMon May 09, 2016 7:43 pm

Not without the help of a mathematician friend I finally could sort this out:

Here is what to paste in the Trails' X offset to get the movement I was Straggling to get!!!


-(Tracker1Tracker1XYPath.X-.5)*(Trails1.XScale^2/2-.5)


The way we figured it out was we firstly entered the constant scale 1.02( which I was the most certain I'd needed for my shot, at least if we could do this I could go on with the tracking and linking with the constant scaling...)
So then I moved the slider of the X offset to where it shuld be on the left end of the picture and the value was around 0.02 and to the right was -0.02.
the dependency with coefficient could be approximilty found at this stage we needed to have the linear dependency when the tracker is 0 the offset is 0.02 and when the tracker is 1 the offset is -0.02.

for the Trails' offset X with the scale 1.02 we could already enter
-(Tracker1Tracker1XYPath.X-.5) * coefficient
with the scale 1.02 I had the approximate coefficient = 1/24

But what if the scale would bew changed from shot to shot? Then I'd have to find it every time with trial and error...
So..
then we started to enter and to change continuously the value of the scale and see where the offset at the right should be and we got this:

scale 1 2 4 5 6 8 10 20 40
offset X -1 -1.5 -2.5 -3 - 3.5 -5 - 5.5 10.5 20.5

At this stage My friend came out with the formula P = Scale /2 + .5 where P is coefficient

and for the Xoffset he's got x * P/2 - P
and it was almost correct, unless it didn't work as expected when I entered them in the UI

so with the trial and error I 've managed to get it work (almost) with this:

-(Tracker1Tracker1XYPath.X-.5)*(Trails1.XScale/2-.5)
And everything worked expect with bigger scaling the offset became incorrect in the corners, although it already worked as expected just became more or less offseted to the sides, sometimes offsetting in the opposite direction but you can live with that...

So next I just happen to tweaking and testing with the values a little bit more and had a feeling something is missing.
At last I found the formula works a lot better if you add ^2 to the scale and came out with this:

Code: Select all
-(Tracker1Tracker1XYPath.X-.5)*(Trails1.XScale^2/2-.5)
__
--[[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]]--
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Trails Offset and Scale dependecies Tracker LINK!!!! *SO

PostMon May 09, 2016 8:26 pm

And here is the working comp:

Code: Select all
{
   Tools = ordered() {
      Trails1 = Trails {
         CtrlWZoom = false,
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     Trails1 = Trails {
                        Inputs = {
                           Input = Input {
                              SourceOp = "BrightnessContrast1",
                              Source = "Output"
                           },
                           MergeUnder = Input { Value = 1 }
                        },
                        Name = "Trails1",
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 464, 137 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [5] = {
                  Tools = ordered() {
                     Trails1 = Trails {
                        Inputs = {
                           Input = Input {
                              SourceOp = "BrightnessContrast1",
                              Source = "Output"
                           },
                           MergeUnder = Input { Value = 1 }
                        },
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 464, 137 } },
                        CustomData = {
                        }
                     }
                  }
               },
            }
         },
         Inputs = {
            GainRed = Input { Value = 0.5, },
            XOffset = Input {
               Value = 0.0384807740169493,
               Expression = "-(Tracker1Tracker1XYPath.X-.5)*(Trails1.XScale^2/2-.5)",
            },
            YOffset = Input {
               Value = -0.0166262854694814,
               Expression = "-(Tracker1Tracker1XYPath.Y-.5)*(Trails1.XScale^2/2-.5)",
            },
            XScale = Input { Value = 1.06691449814126, },
            MergeUnder = Input { Value = 1, },
            Input = Input {
               SourceOp = "BrightnessContrast1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 612, 185 } },
      },
      Trails1_1 = Trails {
         CustomData = {
            Settings = {
               [1] = {
                  Tools = ordered() {
                     Trails1 = Trails {
                        Inputs = {
                           Input = Input {
                              SourceOp = "BrightnessContrast1",
                              Source = "Output"
                           },
                           MergeUnder = Input { Value = 1 }
                        },
                        Name = "Trails1",
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 464, 137 } },
                        CustomData = {
                        }
                     }
                  }
               },
               [5] = {
                  Tools = ordered() {
                     Trails1 = Trails {
                        Inputs = {
                           Input = Input {
                              SourceOp = "BrightnessContrast1",
                              Source = "Output"
                           },
                           MergeUnder = Input { Value = 1 }
                        },
                        CtrlWZoom = false,
                        ViewInfo = OperatorInfo { Pos = { 464, 137 } },
                        CustomData = {
                        }
                     }
                  }
               },
            }
         },
         Inputs = {
            GainRed = Input { Value = 0.5, },
            XOffset = Input { Value = 0.0238095238095238, },
            XScale = Input { Value = 1.05, },
            MergeUnder = Input { Value = 1, },
            Input = Input {
               SourceOp = "BrightnessContrast1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 679, 139 } },
      },
      Merge1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Background2",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
            EffectMask = Input {
               SourceOp = "Polygon5",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 376, 189 } },
      },
      Polygon5 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         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.206530046463013, Y = -0.422619044780731, LX = -0.00681270758310954, LY = -0.0238095223903656, RX = 0.0222213506698608, RY = 0.0505952338377635 },
                     { Linear = true, X = -0.13986599445343, Y = -0.270833343267441, LX = -0.0222213506698608, LY = -0.0505952338377635, RX = 0.0452261299211043, RY = -0.0416666633552975 },
                     { Linear = true, X = -0.00418760487809777, Y = -0.395833343267441, LX = -0.0452261299211043, LY = 0.0416666633552975, RX = 0.0379676159197233, RY = 0.0386904795018453 },
                     { Linear = true, X = 0.10971524566412, Y = -0.279761910438538, LX = -0.0379676159197233, LY = -0.0386904795018453, RX = 0.0714684524503185, RY = 0.0109127003049094 },
                     { Linear = true, X = 0.324120610952377, Y = -0.247023805975914, LX = -0.0714684524503185, LY = -0.0109127003049094, RX = -0.0346175347507366, RY = -0.0515873027699334 },
                     { Linear = true, X = 0.22026801109314, Y = -0.40178570151329, LX = 0.0346175347507366, LY = 0.0515873027699334, RX = -0.0251256296050275, RY = 0.00396824971077934 },
                     { Linear = true, X = 0.144891127943993, Y = -0.389880955219269, LX = 0.0251256296050275, LY = -0.00396824971077934, RX = 0.0390843085524492, RY = -0.0307539673078628 },
                     { Linear = true, X = 0.262144058942795, Y = -0.482142865657806, LX = -0.0390843085524492, LY = 0.0307539673078628, RX = -0.119486322271831, RY = 0 },
                     { Linear = true, X = -0.0963149070739746, Y = -0.482142865657806, LX = 0.119486322271831, LY = 0, RX = 0.0563930762273383, RY = 0.0168650822033958 },
                     { Linear = true, X = 0.0728643238544464, Y = -0.431547611951828, LX = -0.0563930762273383, LY = -0.0168650822033958, RX = -0.0737018432948657, RY = 0.000992061126799818 },
                     { Linear = true, X = -0.148241207003593, Y = -0.428571432828903, LX = 0.0737018432948657, LY = -0.000992061126799818, RX = -0.001675041551566, RY = -0.0267857128665561 },
                     { Linear = true, X = -0.153266325592995, Y = -0.508928596973419, LX = 0.001675041551566, LY = 0.0267857128665561, RX = -0.0245672828704535, RY = 0.00496032597526671 },
                     { Linear = true, X = -0.226968169212341, Y = -0.494047611951828, LX = 0.0245672828704535, LY = -0.00496032597526671, RX = 0.00681270758310954, RY = 0.0238095223903656 }
                  }
               },
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon4",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 377, 156 } },
      },
      Polygon4 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         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.121440537273884, Y = 0.407738089561462, LX = 0.00893355657656987, LY = -0.0079365074634552, RX = -0.080960357762428, RY = -0.00297618858397952 },
                     { Linear = true, X = -0.121440537273884, Y = 0.398809522390366, LX = 0.080960357762428, LY = 0.00297618858397952, RX = 0.0111669462604738, RY = 0.0238095242825765 },
                     { Linear = true, X = -0.0879397019743919, Y = 0.470238089561462, LX = -0.0111669462604738, LY = -0.0238095242825765, RX = 0.0619765505743786, RY = 0.00396825586046488 },
                     { Linear = true, X = 0.097989946603775, Y = 0.482142865657806, LX = -0.0619765505743786, LY = -0.00396825586046488, RX = 0.0279173656491046, RY = -0.00694444728276085 },
                     { Linear = true, X = 0.181742042303085, Y = 0.461309522390366, LX = -0.0279173656491046, LY = 0.00694444728276085, RX = 0.0189838083445327, RY = -0.0833333328602806 },
                     { Linear = true, X = 0.238693460822105, Y = 0.211309522390366, LX = -0.0189838083445327, LY = 0.0833333328602806, RX = -0.0988274685152412, RY = 0.0119047623778146 },
                     { Linear = true, X = -0.0577889457345009, Y = 0.247023805975914, LX = 0.0988274685152412, LY = -0.0119047623778146, RX = 0.0346175324419302, RY = 0.0307539694366001 },
                     { Linear = true, X = 0.0460636503994465, Y = 0.33928570151329, LX = -0.0346175324419302, LY = -0.0307539694366001, RX = -0.0457844775480009, RY = 0.00099206774953812 },
                     { Linear = true, X = -0.0912897810339928, Y = 0.342261910438538, LX = 0.0457844775480009, LY = -0.00099206774953812, RX = 0.0798436623547145, RY = 0.013888886996678 },
                     { Linear = true, X = 0.148241207003593, Y = 0.383928567171097, LX = -0.0798436623547145, LY = -0.013888886996678, RX = -0.00893355657656987, RY = 0.0079365074634552 }
                  }
               },
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon3",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 376, 123 } },
      },
      Tracker1 = Tracker {
         Trackers = {
            {
               PatternTime = 454,
               PatternX = 0.964698492462312,
               PatternY = 0.65952380952381
            }
         },
         Inputs = {
            Input = Input {
               SourceOp = "BrightnessContrast1",
               Source = "Output",
            },
            Name1 = Input { Value = "Tracker 1", },
            PatternCenter1 = Input { Value = { 0.510478928660228, 0.585673983134921 }, },
            PatternWidth1 = Input { Value = 0.0304020100502513, },
            PatternHeight1 = Input { Value = 0.0511904761904762, },
            TrackedCenter1 = Input {
               SourceOp = "Tracker1Tracker1XYPath",
               Source = "Value",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 647, 94 } },
      },
      Tracker1Tracker1XYPath = XYPath {
         ShowKeyPoints = false,
         DrawMode = "InsertAndModify",
         CtrlWZoom = false,
         NameSet = true,
         Inputs = {
            X = Input {
               SourceOp = "Tracker1Tracker1XYPathX",
               Source = "Value",
            },
            Y = Input {
               SourceOp = "Tracker1Tracker1XYPathY",
               Source = "Value",
            },
         },
      },
      Tracker1Tracker1XYPathX = BezierSpline {
         SplineColor = { Red = 255, Green = 0, Blue = 0 },
         NameSet = true,
         KeyFrames = {
            [335] = { 0.510478928660228, RH = { 335.333333333333, 0.510478928660228 }, Flags = { Linear = true } },
            [336] = { 0.510478928660228, LH = { 335.666666666667, 0.510478928660228 }, RH = { 336.333333333333, 0.510478928660228 }, Flags = { Linear = true } },
            [337] = { 0.510478928660228, LH = { 336.666666666667, 0.510478928660228 }, RH = { 337.333333333333, 0.508733323191478 }, Flags = { Linear = true } },
            [338] = { 0.505242112253978, LH = { 337.666666666667, 0.506987717722728 }, RH = { 338.333333333333, 0.503503288469256 }, Flags = { Linear = true } },
            [339] = { 0.500025640899812, LH = { 338.666666666667, 0.501764464684534 }, RH = { 339.333333333333, 0.498330219892867 }, Flags = { Linear = true } },
            [340] = { 0.494939377878978, LH = { 339.666666666667, 0.496634798885923 }, RH = { 340.333333333333, 0.493249382219256 }, Flags = { Linear = true } },
            [341] = { 0.489869390899812, LH = { 340.666666666667, 0.491559386559534 }, RH = { 341.333333333333, 0.488205165639395 }, Flags = { Linear = true } },
            [342] = { 0.484876715118562, LH = { 341.666666666667, 0.486540940378979 }, RH = { 342.333333333333, 0.483269456003979 }, Flags = { Linear = true } },
            [343] = { 0.480054937774812, LH = { 342.666666666667, 0.481662196889395 }, RH = { 343.333333333333, 0.478493794111617 }, Flags = { Linear = true } },
            [344] = { 0.475371506785228, LH = { 343.666666666667, 0.476932650448423 }, RH = { 344.333333333333, 0.473852409563006 }, Flags = { Linear = true } },
            [345] = { 0.470814215118562, LH = { 344.666666666667, 0.472333312340784 }, RH = { 345.333333333333, 0.469373785431062 }, Flags = { Linear = true } },
            [346] = { 0.466492926056062, LH = { 345.666666666667, 0.467933355743562 }, RH = { 346.333333333333, 0.465104037167173 }, Flags = { Linear = true } },
            [347] = { 0.462326259389395, LH = { 346.666666666667, 0.463715148278284 }, RH = { 347.333333333333, 0.461002474667173 }, Flags = { Linear = true } },
            [348] = { 0.458354905222728, LH = { 347.666666666667, 0.45967868994495 }, RH = { 348.333333333333, 0.457116569719256 }, Flags = { Linear = true } },
            [349] = { 0.454639898712312, LH = { 348.666666666667, 0.455878234215784 }, RH = { 349.333333333333, 0.453459885691479 }, Flags = { Linear = true } },
            [350] = { 0.451099859649812, LH = { 349.666666666667, 0.452279872670645 }, RH = { 350.333333333333, 0.450294195587312 }, Flags = { Linear = true } },
            [351] = { 0.448682867462312, LH = { 350.666666666667, 0.449488531524812 }, RH = { 351.333333333333, 0.447959939944951 }, Flags = { Linear = true } },
            [352] = { 0.446514084910228, LH = { 351.666666666667, 0.447237012427589 }, RH = { 352.333333333333, 0.445850836212311 }, Flags = { Linear = true } },
            [353] = { 0.444524338816478, LH = { 352.666666666667, 0.445187587514395 }, RH = { 353.333333333333, 0.443915343590784 }, Flags = { Linear = true } },
            [354] = { 0.442697353139395, LH = { 353.666666666667, 0.443306348365089 }, RH = { 354.333333333333, 0.442158887427589 }, Flags = { Linear = true } },
            [355] = { 0.441081956003978, LH = { 354.666666666667, 0.441620421715784 }, RH = { 355.333333333333, 0.440595031090784 }, Flags = { Linear = true } },
            [356] = { 0.439621181264395, LH = { 355.666666666667, 0.440108106177589 }, RH = { 356.333333333333, 0.439207498538701 }, Flags = { Linear = true } },
            [357] = { 0.438380133087312, LH = { 356.666666666667, 0.438793815813006 }, RH = { 357.333333333333, 0.43802070383384 }, Flags = { Linear = true } },
            [358] = { 0.437301845326895, LH = { 357.666666666667, 0.437661274580367 }, RH = { 358.333333333333, 0.437003451229673 }, Flags = { Linear = true } },
            [359] = { 0.436406663035228, LH = { 358.666666666667, 0.43670505713245 }, RH = { 359.333333333333, 0.436197787167173 }, Flags = { Linear = true } },
            [360] = { 0.435780035431062, LH = { 359.666666666667, 0.435988911299117 }, RH = { 360.333333333333, 0.435649827097729 }, Flags = { Linear = true } },
            [361] = { 0.435389410431062, LH = { 360.666666666667, 0.435519618764395 }, RH = { 361.333333333333, 0.435378559736617 }, Flags = { Linear = true } },
            [362] = { 0.435356858347728, LH = { 361.666666666667, 0.435367709042173 }, RH = { 362.333333333333, 0.435485710344256 }, Flags = { Linear = true } },
            [363] = { 0.435743414337312, LH = { 362.666666666667, 0.435614562340784 }, RH = { 363.333333333333, 0.436045877444951 }, Flags = { Linear = true } },
            [364] = { 0.436650803660228, LH = { 363.666666666667, 0.436348340552589 }, RH = { 364.333333333333, 0.437174349667173 }, Flags = { Linear = true } },
            [365] = { 0.438221441681062, LH = { 364.666666666667, 0.437697895674117 }, RH = { 365.333333333333, 0.439427225101201 }, Flags = { Linear = true } },
            [366] = { 0.441838791941478, LH = { 365.666666666667, 0.440633008521339 }, RH = { 366.333333333333, 0.44351658056995 }, Flags = { Linear = true } },
            [367] = { 0.446872157826895, LH = { 366.666666666667, 0.445194369198423 }, RH = { 367.333333333333, 0.448308518503978 }, Flags = { Linear = true } },
            [368] = { 0.451181239858145, LH = { 367.666666666667, 0.449744879181062 }, RH = { 368.333333333333, 0.452465690813006 }, Flags = { Linear = true } },
            [369] = { 0.455034592722728, LH = { 368.666666666667, 0.453750141767867 }, RH = { 369.333333333333, 0.456304123972728 }, Flags = { Linear = true } },
            [370] = { 0.458843186472728, LH = { 369.666666666667, 0.457573655222728 }, RH = { 370.333333333333, 0.460169683868561 }, Flags = { Linear = true } },
            [371] = { 0.462822678660228, LH = { 370.666666666667, 0.461496181264395 }, RH = { 371.333333333333, 0.464306511125506 }, Flags = { Linear = true } },
            [372] = { 0.467274176056062, LH = { 371.666666666667, 0.465790343590784 }, RH = { 372.333333333333, 0.468992654788701 }, Flags = { Linear = true } },
            [373] = { 0.472429612253978, LH = { 372.666666666667, 0.470711133521339 }, RH = { 373.333333333333, 0.473731695587311 }, Flags = { Linear = true } },
            [374] = { 0.476335862253978, LH = { 373.666666666667, 0.475033778920645 }, RH = { 374.333333333333, 0.477290723365089 }, Flags = { Linear = true } },
            [375] = { 0.479200445587312, LH = { 374.666666666667, 0.478245584476201 }, RH = { 375.333333333333, 0.479863694285229 }, Flags = { Linear = true } },
            [376] = { 0.481190191681062, LH = { 375.666666666667, 0.480526942983145 }, RH = { 376.333333333333, 0.481635070153284 }, Flags = { Linear = true } },
            [377] = { 0.482524827097728, LH = { 376.666666666667, 0.482079948625506 }, RH = { 377.333333333333, 0.482783887427589 }, Flags = { Linear = true } },
            [378] = { 0.483302008087312, LH = { 377.666666666667, 0.483042947757451 }, RH = { 378.333333333333, 0.483456630483145 }, Flags = { Linear = true } },
            [379] = { 0.483765875274812, LH = { 378.666666666667, 0.483611252878979 }, RH = { 379.333333333333, 0.483820128747034 }, Flags = { Linear = true } },
            [380] = { 0.483928635691478, LH = { 379.666666666667, 0.483874382219256 }, RH = { 380.333333333333, 0.483927279354673 }, Flags = { Linear = true } },
            [381] = { 0.483924566681062, LH = { 380.666666666667, 0.483925923017867 }, RH = { 381.333333333333, 0.483885232913701 }, Flags = { Linear = true } },
            [382] = { 0.483806565378978, LH = { 381.666666666667, 0.483845899146339 }, RH = { 382.333333333333, 0.483729254181061 }, Flags = { Linear = true } },
            [383] = { 0.483574631785228, LH = { 382.666666666667, 0.483651942983145 }, RH = { 383.333333333333, 0.483468837514395 }, Flags = { Linear = true } },
            [384] = { 0.483257248972728, LH = { 383.666666666667, 0.483363043243561 }, RH = { 384.333333333333, 0.483155523712311 }, Flags = { Linear = true } },
            [385] = { 0.482952073191478, LH = { 384.666666666667, 0.483053798451895 }, RH = { 385.333333333333, 0.476502691681061 }, Flags = { Linear = true } },
            [386] = { 0.463603928660228, LH = { 385.666666666667, 0.470053310170645 }, RH = { 386.333333333333, 0.456811393938006 }, Flags = { Linear = true } },
            [387] = { 0.443226324493562, LH = { 386.666666666667, 0.450018859215784 }, RH = { 387.333333333333, 0.436435146108145 }, Flags = { Linear = true } },
            [388] = { 0.422852789337312, LH = { 387.666666666667, 0.429643967722729 }, RH = { 388.333333333333, 0.416064323625506 }, Flags = { Linear = true } },
            [389] = { 0.402487392201895, LH = { 388.666666666667, 0.409275857913701 }, RH = { 389.333333333333, 0.395700282826895 }, Flags = { Linear = true } },
            [390] = { 0.382126064076895, LH = { 389.666666666667, 0.388913173451895 }, RH = { 395.351266666667, 0.254798022201202 }, Flags = { Linear = true } },
            [406.0538] = { 0.000141938449814916, LH = { 400.702533333333, 0.127469980325508 }, RH = { 407.035866666667, -0.0013982922439362 }, Flags = { Linear = true } },
            [409] = { -0.00447875363143844, LH = { 408.017933333333, -0.00293852293768732 }, RH = { 410.8156, -0.0030167408860213 }, Flags = { Linear = true } },
            [414.4468] = { -9.27153951870083e-005, LH = { 412.6312, -0.00155472814060415 }, RH = { 418.964533333333, 0.127446465435785 }, Flags = { Linear = true } },
            [428] = { 0.382524827097728, LH = { 423.482266666667, 0.254985646266756 }, RH = { 428.333333333333, 0.39280857275745 }, Flags = { Linear = true } },
            [429] = { 0.413376064076895, LH = { 428.666666666667, 0.403092318417173 }, RH = { 429.333333333333, 0.423655740726201 }, Flags = { Linear = true } },
            [430] = { 0.444215094024812, LH = { 429.666666666667, 0.433935417375506 }, RH = { 430.333333333333, 0.454496127010923 }, Flags = { Linear = true } },
            [431] = { 0.475058192983145, LH = { 430.666666666667, 0.464777159997034 }, RH = { 431.333333333333, 0.485363640031756 }, Flags = { Linear = true } },
            [432] = { 0.505974534128978, LH = { 431.666666666667, 0.495669087080367 }, RH = { 432.333333333333, 0.516275912167173 }, Flags = { Linear = true } },
            [433] = { 0.536878668243562, LH = { 432.666666666667, 0.526577290205367 }, RH = { 433.333333333333, 0.547218023712312 }, Flags = { Linear = true } },
            [434] = { 0.567896734649812, LH = { 433.666666666667, 0.557557379181062 }, RH = { 434.333333333333, 0.578256435170645 }, Flags = { Linear = true } },
            [435] = { 0.598975836212312, LH = { 434.666666666667, 0.588616135691479 }, RH = { 435.333333333333, 0.609384364858145 }, Flags = { Linear = true } },
            [436] = { 0.630201422149812, LH = { 435.666666666667, 0.619792893503979 }, RH = { 436.333333333333, 0.640673698625506 }, Flags = { Linear = true } },
            [437] = { 0.661618251576895, LH = { 436.666666666667, 0.651145975101201 }, RH = { 437.333333333333, 0.438333286389768 }, Flags = { Linear = true } },
            [438] = { -0.00823664398448565, LH = { 437.666666666667, 0.215048321202641 }, RH = { 438.333333333333, 0.236085105056808 }, Flags = { Linear = true } },
            [439] = { 0.724728603139395, LH = { 438.666666666667, 0.480406854098101 }, RH = { 439.333333333333, 0.735294466854673 }, Flags = { Linear = true } },
            [440] = { 0.756426194285228, LH = { 439.666666666667, 0.74586033056995 }, RH = { 440.333333333333, 0.766948655222728 }, Flags = { Linear = true } },
            [441] = { 0.787993577097728, LH = { 440.666666666667, 0.777471116160228 }, RH = { 441.333333333333, 0.798402105743561 }, Flags = { Linear = true } },
            [442] = { 0.819219163035228, LH = { 441.666666666667, 0.808810634389395 }, RH = { 442.333333333333, 0.829306239858145 }, Flags = { Linear = true } },
            [443] = { 0.849480393503978, LH = { 442.666666666667, 0.839393316681061 }, RH = { 444.862433333333, 0.900251874482015 }, Flags = { Linear = true } },
            [448.5873] = { 1.00179483643809, LH = { 446.724866666667, 0.951023355460053 }, RH = { 449.391533333333, 1.00318012182225 }, Flags = { Linear = true } },
            [451] = { 1.00595069259056, LH = { 450.195766666667, 1.0045654072064 }, RH = { 452.162266666667, 1.00464099669907 }, Flags = { Linear = true } },
            [454.4868] = { 1.00202160491608, LH = { 453.324533333333, 1.00333130080757 }, RH = { 456.9912, 0.951791667691907 }, Flags = { Linear = true } },
            [462] = { 0.851331793243562, LH = { 459.4956, 0.901561730467735 }, RH = { 462.333333333333, 0.841270486819951 }, Flags = { Linear = true } },
            [463] = { 0.821147873972728, LH = { 462.666666666667, 0.831209180396339 }, RH = { 463.333333333333, 0.8104233188512 }, Flags = { Linear = true } },
            [464] = { 0.788974208608145, LH = { 463.666666666667, 0.799698763729673 }, RH = { 464.333333333333, 0.777918707306062 }, Flags = { Linear = true } },
            [465] = { 0.755807704701895, LH = { 464.666666666667, 0.766863206003978 }, RH = { 465.333333333333, 0.744659972497034 }, Flags = { Linear = true } },
            [466] = { 0.722364508087312, LH = { 465.666666666667, 0.733512240292173 }, RH = { 466.333333333333, 0.711186936472729 }, Flags = { Linear = true } },
            [467] = { 0.688831793243562, LH = { 466.666666666667, 0.700009364858145 }, RH = { 467.333333333333, 0.677765441247034 }, Flags = { Linear = true } },
            [468] = { 0.655632737253978, LH = { 467.666666666667, 0.666699089250506 }, RH = { 468.333333333333, 0.644646409128978 }, Flags = { Linear = true } },
            [469] = { 0.622673752878978, LH = { 468.666666666667, 0.633660081003978 }, RH = { 469.333333333333, 0.611740321889395 }, Flags = { Linear = true } },
            [470] = { 0.589873459910228, LH = { 469.666666666667, 0.600806890899811 }, RH = { 470.333333333333, 0.579028190813006 }, Flags = { Linear = true } },
            [471] = { 0.557337652618562, LH = { 470.666666666667, 0.568182921715784 }, RH = { 471.333333333333, 0.546571051056062 }, Flags = { Linear = true } },
            [472] = { 0.525037847931062, LH = { 471.666666666667, 0.535804449493562 }, RH = { 472.333333333333, 0.514336350535229 }, Flags = { Linear = true } },
            [473] = { 0.492933355743562, LH = { 472.666666666667, 0.503634853139395 }, RH = { 473.333333333333, 0.482276617462312 }, Flags = { Linear = true } },
            [474] = { 0.460963140899812, LH = { 473.666666666667, 0.471619879181062 }, RH = { 474.333333333333, 0.450352518069951 }, Flags = { Linear = true } },
            [475] = { 0.429131272410228, LH = { 474.666666666667, 0.439741895240089 }, RH = { 475.333333333333, 0.418550488990089 }, Flags = { Linear = true } },
            [476] = { 0.397388922149812, LH = { 475.666666666667, 0.407969705569951 }, RH = { 476.333333333333, 0.386817633087312 }, Flags = { Linear = true } },
            [477] = { 0.365675054962312, LH = { 476.666666666667, 0.376246344024812 }, RH = { 477.333333333333, 0.355132248972729 }, Flags = { Linear = true } },
            [478] = { 0.334046636993562, LH = { 477.666666666667, 0.344589442983145 }, RH = { 478.333333333333, 0.323468566247034 }, Flags = { Linear = true } },
            [479] = { 0.302312424753978, LH = { 478.666666666667, 0.312890495500506 }, RH = { 479.333333333333, 0.291728928660228 }, Flags = { Linear = true } },
            [480] = { 0.270561936472728, LH = { 479.666666666667, 0.281145432566478 }, RH = { 480.333333333333, 0.259945888295645 }, Flags = { Linear = true } },
            [481] = { 0.238713791941478, LH = { 480.666666666667, 0.249329840118561 }, RH = { 481.333333333333, 0.228043490292173 }, Flags = { Linear = true } },
            [482] = { 0.206702886993562, LH = { 481.666666666667, 0.217373188642867 }, RH = { 482.333333333333, 0.195983757219256 }, Flags = { Linear = true } },
            [483] = { 0.174545497670645, LH = { 482.666666666667, 0.185264627444951 }, RH = { 483.333333333333, 0.163768045413701 }, Flags = { Linear = true } },
            [484] = { 0.142213140899812, LH = { 483.666666666667, 0.152990593156756 }, RH = { 484.333333333333, 0.131335319719256 }, Flags = { Linear = true } },
            [485] = { 0.109579677358145, LH = { 484.666666666667, 0.120457498538701 }, RH = { 485.333333333333, 0.0986584533998116 }, Flags = { Linear = true } },
            [486] = { 0.0768160054831449, LH = { 485.666666666667, 0.0877372294414783 }, RH = { 486.333333333333, 0.0657984816116171 }, Flags = { Linear = true } },
            [487] = { 0.0437634338685616, LH = { 486.666666666667, 0.0547809577400894 }, RH = { 487.333333333333, 0.0326577481046727 }, Flags = { Linear = true } },
            [488] = { 0.0104463765768949, LH = { 487.666666666667, 0.0215520623407838 }, RH = { 488.333333333333, -0.000709493648799533 }, Flags = { Linear = true } },
            [489] = { -0.0230212341001884, LH = { 488.666666666667, -0.011865363874494 }, RH = { 489.333333333333, -0.0341662536314384 }, Flags = { Linear = true } },
            [490] = { -0.0564562926939384, LH = { 489.666666666667, -0.0453112731626884 }, RH = { 490.333333333333, -0.0564562926939384 }, Flags = { Linear = true } },
            [491] = { -0.0564562926939384, LH = { 490.666666666667, -0.0564562926939384 }, RH = { 491.333333333333, -0.0564562926939384 }, Flags = { Linear = true } },
            [492] = { -0.0564562926939384, LH = { 491.666666666667, -0.0564562926939384 }, RH = { 492.333333333333, -0.0564562926939384 }, Flags = { Linear = true } },
            [493] = { -0.0564562926939384, LH = { 492.666666666667, -0.0564562926939384 }, Flags = { Linear = true } }
         }
      },
      Tracker1Tracker1XYPathY = BezierSpline {
         SplineColor = { Red = 0, Green = 255, Blue = 0 },
         NameSet = true,
         KeyFrames = {
            [335] = { 0.585673983134921, RH = { 335.333333333333, 0.585673983134921 }, Flags = { Linear = true } },
            [336] = { 0.585673983134921, LH = { 335.666666666667, 0.585673983134921 }, RH = { 336.333333333333, 0.585673983134921 }, Flags = { Linear = true } },
            [337] = { 0.585673983134921, LH = { 336.666666666667, 0.585673983134921 }, RH = { 337.333333333333, 0.584861386684304 }, Flags = { Linear = true } },
            [338] = { 0.583236193783069, LH = { 337.666666666667, 0.584048790233686 }, RH = { 338.333333333333, 0.582397073412699 }, Flags = { Linear = true } },
            [339] = { 0.580718832671958, LH = { 338.666666666667, 0.581557953042328 }, RH = { 339.333333333333, 0.579862833443563 }, Flags = { Linear = true } },
            [340] = { 0.578150834986772, LH = { 339.666666666667, 0.579006834215167 }, RH = { 340.333333333333, 0.577212852733686 }, Flags = { Linear = true } },
            [341] = { 0.575336888227513, LH = { 340.666666666667, 0.576274870480599 }, RH = { 341.333333333333, 0.574338624338624 }, Flags = { Linear = true } },
            [342] = { 0.572342096560846, LH = { 341.666666666667, 0.573340360449735 }, RH = { 342.333333333333, 0.571295607363315 }, Flags = { Linear = true } },
            [343] = { 0.569202628968254, LH = { 342.666666666667, 0.570249118165785 }, RH = { 343.333333333333, 0.568066922949735 }, Flags = { Linear = true } },
            [344] = { 0.565795510912698, LH = { 343.666666666667, 0.566931216931217 }, RH = { 344.333333333333, 0.564601934523809 }, Flags = { Linear = true } },
            [345] = { 0.562214781746032, LH = { 344.666666666667, 0.563408358134921 }, RH = { 345.333333333333, 0.560946456128748 }, Flags = { Linear = true } },
            [346] = { 0.55840980489418, LH = { 345.666666666667, 0.559678130511464 }, RH = { 346.333333333333, 0.557081197641094 }, Flags = { Linear = true } },
            [347] = { 0.554423983134921, LH = { 346.666666666667, 0.555752590388007 }, RH = { 347.333333333333, 0.553006159060847 }, Flags = { Linear = true } },
            [348] = { 0.550170510912698, LH = { 347.666666666667, 0.551588334986772 }, RH = { 348.333333333333, 0.548716517857143 }, Flags = { Linear = true } },
            [349] = { 0.545808531746032, LH = { 348.666666666667, 0.547262524801587 }, RH = { 349.333333333333, 0.544282200727513 }, Flags = { Linear = true } },
            [350] = { 0.541229538690476, LH = { 349.666666666667, 0.542755869708995 }, RH = { 350.333333333333, 0.539992559523809 }, Flags = { Linear = true } },
            [351] = { 0.537518601190476, LH = { 350.666666666667, 0.538755580357143 }, RH = { 351.333333333333, 0.536238219246032 }, Flags = { Linear = true } },
            [352] = { 0.533677455357143, LH = { 351.666666666667, 0.534957837301587 }, RH = { 352.333333333333, 0.532331969246032 }, Flags = { Linear = true } },
            [353] = { 0.52964099702381, LH = { 352.666666666667, 0.530986483134921 }, RH = { 353.333333333333, 0.528293099647267 }, Flags = { Linear = true } },
            [354] = { 0.52559730489418, LH = { 353.666666666667, 0.526945202270723 }, RH = { 354.333333333333, 0.524213238536155 }, Flags = { Linear = true } },
            [355] = { 0.521445105820106, LH = { 354.666666666667, 0.522829172178131 }, RH = { 355.333333333333, 0.520048983134921 }, Flags = { Linear = true } },
            [356] = { 0.51725673776455, LH = { 355.666666666667, 0.518652860449735 }, RH = { 356.333333333333, 0.515829268628748 }, Flags = { Linear = true } },
            [357] = { 0.512974330357143, LH = { 356.666666666667, 0.514401799492945 }, RH = { 357.333333333333, 0.51154686122134 }, Flags = { Linear = true } },
            [358] = { 0.508691922949735, LH = { 357.666666666667, 0.510119392085538 }, RH = { 358.333333333333, 0.507235518628747 }, Flags = { Linear = true } },
            [359] = { 0.504322709986772, LH = { 358.666666666667, 0.50577911430776 }, RH = { 359.333333333333, 0.502851838073192 }, Flags = { Linear = true } },
            [360] = { 0.499910094246032, LH = { 359.666666666667, 0.501380966159612 }, RH = { 360.333333333333, 0.49843681106702 }, Flags = { Linear = true } },
            [361] = { 0.495490244708995, LH = { 360.666666666667, 0.496963527888007 }, RH = { 361.333333333333, 0.494021784060847 }, Flags = { Linear = true } },
            [362] = { 0.49108486276455, LH = { 361.666666666667, 0.492553323412698 }, RH = { 362.333333333333, 0.489601934523809 }, Flags = { Linear = true } },
            [363] = { 0.486636078042328, LH = { 362.666666666667, 0.488119006283069 }, RH = { 363.333333333333, 0.48517967372134 }, Flags = { Linear = true } },
            [364] = { 0.482266865079365, LH = { 363.666666666667, 0.483723269400353 }, RH = { 364.333333333333, 0.480885209986772 }, Flags = { Linear = true } },
            [365] = { 0.478121899801587, LH = { 364.666666666667, 0.47950355489418 }, RH = { 365.333333333333, 0.476880098104056 }, Flags = { Linear = true } },
            [366] = { 0.474396494708995, LH = { 365.666666666667, 0.475638296406526 }, RH = { 366.333333333333, 0.474736483134921 }, Flags = { Linear = true } },
            [367] = { 0.475416459986772, LH = { 366.666666666667, 0.475076471560846 }, RH = { 367.333333333333, 0.476470182980599 }, Flags = { Linear = true } },
            [368] = { 0.478577628968254, LH = { 367.666666666667, 0.477523905974427 }, RH = { 368.333333333333, 0.479807374338624 }, Flags = { Linear = true } },
            [369] = { 0.482266865079365, LH = { 368.666666666667, 0.481037119708995 }, RH = { 369.333333333333, 0.483508666776896 }, Flags = { Linear = true } },
            [370] = { 0.485992270171958, LH = { 369.666666666667, 0.484750468474427 }, RH = { 370.333333333333, 0.487188257826279 }, Flags = { Linear = true } },
            [371] = { 0.489580233134921, LH = { 370.666666666667, 0.4883842454806 }, RH = { 371.333333333333, 0.490537505511464 }, Flags = { Linear = true } },
            [372] = { 0.49245205026455, LH = { 371.666666666667, 0.491494777888007 }, RH = { 372.333333333333, 0.492548500881834 }, Flags = { Linear = true } },
            [373] = { 0.492741402116402, LH = { 372.666666666667, 0.492644951499118 }, RH = { 373.333333333333, 0.491388682208995 }, Flags = { Linear = true } },
            [374] = { 0.48868324239418, LH = { 373.666666666667, 0.490035962301587 }, RH = { 374.333333333333, 0.48677593143739 }, Flags = { Linear = true } },
            [375] = { 0.482961309523809, LH = { 374.666666666667, 0.484868620480599 }, RH = { 375.333333333333, 0.480923790233686 }, Flags = { Linear = true } },
            [376] = { 0.476848751653439, LH = { 375.666666666667, 0.478886270943562 }, RH = { 376.333333333333, 0.474746128196649 }, Flags = { Linear = true } },
            [377] = { 0.470540881283069, LH = { 376.666666666667, 0.472643504739859 }, RH = { 377.333333333333, 0.468440669091711 }, Flags = { Linear = true } },
            [378] = { 0.464240244708995, LH = { 377.666666666667, 0.466340456900353 }, RH = { 378.333333333333, 0.462101452270723 }, Flags = { Linear = true } },
            [379] = { 0.45782386739418, LH = { 378.666666666667, 0.459962659832452 }, RH = { 379.333333333333, 0.455689897486773 }, Flags = { Linear = true } },
            [380] = { 0.451421957671958, LH = { 379.666666666667, 0.453555927579365 }, RH = { 380.333333333333, 0.449280753968254 }, Flags = { Linear = true } },
            [381] = { 0.444998346560847, LH = { 380.666666666667, 0.447139550264551 }, RH = { 381.333333333333, 0.442854731591711 }, Flags = { Linear = true } },
            [382] = { 0.438567501653439, LH = { 381.666666666667, 0.440711116622575 }, RH = { 382.333333333333, 0.436435943011464 }, Flags = { Linear = true } },
            [383] = { 0.432172825727513, LH = { 382.666666666667, 0.434304384369488 }, RH = { 383.333333333333, 0.430031622023809 }, Flags = { Linear = true } },
            [384] = { 0.425749214616402, LH = { 383.666666666667, 0.427890418320106 }, RH = { 384.333333333333, 0.42361042217813 }, Flags = { Linear = true } },
            [385] = { 0.419332837301587, LH = { 384.666666666667, 0.421471629739859 }, RH = { 385.333333333333, 0.419120645943562 }, Flags = { Linear = true } },
            [386] = { 0.418696263227513, LH = { 385.666666666667, 0.418908454585538 }, RH = { 386.333333333333, 0.418484071869488 }, Flags = { Linear = true } },
            [387] = { 0.418059689153439, LH = { 386.666666666667, 0.418271880511464 }, RH = { 387.333333333333, 0.417736579585538 }, Flags = { Linear = true } },
            [388] = { 0.417090360449735, LH = { 387.666666666667, 0.417413470017636 }, RH = { 388.333333333333, 0.416690090388007 }, Flags = { Linear = true } },
            [389] = { 0.41588955026455, LH = { 388.666666666667, 0.416289820326278 }, RH = { 389.333333333333, 0.415450699955908 }, Flags = { Linear = true } },
            [390] = { 0.414572999338624, LH = { 389.666666666667, 0.415011849647266 }, RH = { 395.351266666667, 0.424823351464096 }, Flags = { Linear = true } },
            [406.0538] = { 0.445324055715041, LH = { 400.702533333333, 0.435073703589569 }, RH = { 407.035866666667, 0.425686647262408 }, Flags = { Linear = true } },
            [409] = { 0.386411830357143, LH = { 408.017933333333, 0.406049238809776 }, RH = { 410.8156, 0.363774474900522 }, Flags = { Linear = true } },
            [414.4468] = { 0.318499763987281, LH = { 412.6312, 0.341137119443902 }, RH = { 418.964533333333, 0.346736077777235 }, Flags = { Linear = true } },
            [428] = { 0.403208705357143, LH = { 423.482266666667, 0.374972391567189 }, RH = { 428.333333333333, 0.400807084986773 }, Flags = { Linear = true } },
            [429] = { 0.396003844246032, LH = { 428.666666666667, 0.398405464616402 }, RH = { 429.333333333333, 0.393570877425044 }, Flags = { Linear = true } },
            [430] = { 0.388704943783069, LH = { 429.666666666667, 0.391137910604057 }, RH = { 430.333333333333, 0.38628162202381 }, Flags = { Linear = true } },
            [431] = { 0.381434978505291, LH = { 430.666666666667, 0.38385830026455 }, RH = { 431.333333333333, 0.379050236992945 }, Flags = { Linear = true } },
            [432] = { 0.374280753968254, LH = { 431.666666666667, 0.3766654954806 }, RH = { 432.333333333333, 0.371985229276896 }, Flags = { Linear = true } },
            [433] = { 0.36739417989418, LH = { 432.666666666667, 0.369689704585538 }, RH = { 433.333333333333, 0.365209573412698 }, Flags = { Linear = true } },
            [434] = { 0.360840360449735, LH = { 433.666666666667, 0.363024966931217 }, RH = { 434.333333333333, 0.358805252425044 }, Flags = { Linear = true } },
            [435] = { 0.354735036375661, LH = { 434.666666666667, 0.356770144400352 }, RH = { 435.333333333333, 0.352924176036155 }, Flags = { Linear = true } },
            [436] = { 0.349302455357143, LH = { 435.666666666667, 0.351113315696649 }, RH = { 436.333333333333, 0.347802648258378 }, Flags = { Linear = true } },
            [437] = { 0.344803034060847, LH = { 436.666666666667, 0.346302841159612 }, RH = { 437.333333333333, 0.227531112677853 }, Flags = { Linear = true } },
            [438] = { -0.00701273008813408, LH = { 437.666666666667, 0.11025919129486 }, RH = { 438.333333333333, 0.108419395770168 }, Flags = { Linear = true } },
            [439] = { 0.339283647486772, LH = { 438.666666666667, 0.22385152162847 }, RH = { 439.333333333333, 0.339208898258377 }, Flags = { Linear = true } },
            [440] = { 0.339059399801587, LH = { 439.666666666667, 0.339134149029982 }, RH = { 440.333333333333, 0.339811714616402 }, Flags = { Linear = true } },
            [441] = { 0.341316344246032, LH = { 440.666666666667, 0.340564029431217 }, RH = { 441.333333333333, 0.343103091931217 }, Flags = { Linear = true } },
            [442] = { 0.346676587301587, LH = { 441.666666666667, 0.344889839616402 }, RH = { 442.333333333333, 0.349775063381834 }, Flags = { Linear = true } },
            [443] = { 0.355972015542328, LH = { 442.666666666667, 0.352873539462081 }, RH = { 444.862433333333, 0.387874781577996 }, Flags = { Linear = true } },
            [448.5873] = { 0.451680313649333, LH = { 446.724866666667, 0.419777547613665 }, RH = { 449.391533333333, 0.489753503852642 }, Flags = { Linear = true } },
            [451] = { 0.565899884259259, LH = { 450.195766666667, 0.52782669405595 }, RH = { 452.162266666667, 0.600292527381285 }, Flags = { Linear = true } },
            [454.4868] = { 0.669077813625336, LH = { 453.324533333333, 0.63468517050331 }, RH = { 456.9912, 0.74318625901742 }, Flags = { Linear = true } },
            [462] = { 0.891403149801587, LH = { 459.4956, 0.817294704409503 }, RH = { 462.333333333333, 0.896191922949735 }, Flags = { Linear = true } },
            [463] = { 0.905769469246032, LH = { 462.666666666667, 0.900980696097884 }, RH = { 463.333333333333, 0.908889646715168 }, Flags = { Linear = true } },
            [464] = { 0.915130001653439, LH = { 463.666666666667, 0.912009824184303 }, RH = { 464.333333333333, 0.916740726962081 }, Flags = { Linear = true } },
            [465] = { 0.919962177579365, LH = { 464.666666666667, 0.918351452270723 }, RH = { 465.333333333333, 0.920362447641093 }, Flags = { Linear = true } },
            [466] = { 0.92116298776455, LH = { 465.666666666667, 0.920762717702822 }, RH = { 466.333333333333, 0.920567405202822 }, Flags = { Linear = true } },
            [467] = { 0.919376240079365, LH = { 466.666666666667, 0.919971822641093 }, RH = { 467.333333333333, 0.918132027116402 }, Flags = { Linear = true } },
            [468] = { 0.915643601190476, LH = { 467.666666666667, 0.916887814153439 }, RH = { 468.333333333333, 0.913847208443562 }, Flags = { Linear = true } },
            [469] = { 0.910254422949735, LH = { 468.666666666667, 0.912050815696649 }, RH = { 469.333333333333, 0.907903439153439 }, Flags = { Linear = true } },
            [470] = { 0.903201471560847, LH = { 469.666666666667, 0.905552455357143 }, RH = { 470.333333333333, 0.9004936204806 }, Flags = { Linear = true } },
            [471] = { 0.895077918320106, LH = { 470.666666666667, 0.897785769400353 }, RH = { 471.333333333333, 0.892075892857143 }, Flags = { Linear = true } },
            [472] = { 0.886071841931217, LH = { 471.666666666667, 0.88907386739418 }, RH = { 472.333333333333, 0.882852802579365 }, Flags = { Linear = true } },
            [473] = { 0.876414723875661, LH = { 472.666666666667, 0.879633763227513 }, RH = { 473.333333333333, 0.873029307208994 }, Flags = { Linear = true } },
            [474] = { 0.866258473875661, LH = { 473.666666666667, 0.869643890542328 }, RH = { 474.333333333333, 0.862791074184303 }, Flags = { Linear = true } },
            [475] = { 0.855856274801587, LH = { 474.666666666667, 0.859323674492945 }, RH = { 475.333333333333, 0.852292424492945 }, Flags = { Linear = true } },
            [476] = { 0.845164723875661, LH = { 475.666666666667, 0.848728574184303 }, RH = { 476.333333333333, 0.841540591931217 }, Flags = { Linear = true } },
            [477] = { 0.834292328042328, LH = { 476.666666666667, 0.837916459986772 }, RH = { 477.333333333333, 0.830680252425044 }, Flags = { Linear = true } },
            [478] = { 0.823456101190476, LH = { 477.666666666667, 0.82706817680776 }, RH = { 478.333333333333, 0.819836791776896 }, Flags = { Linear = true } },
            [479] = { 0.812598172949735, LH = { 478.666666666667, 0.816217482363315 }, RH = { 479.333333333333, 0.809027088844797 }, Flags = { Linear = true } },
            [480] = { 0.801884920634921, LH = { 479.666666666667, 0.805456004739859 }, RH = { 480.333333333333, 0.798419932208995 }, Flags = { Linear = true } },
            [481] = { 0.791489955357143, LH = { 480.666666666667, 0.794954943783069 }, RH = { 481.333333333333, 0.788157586529982 }, Flags = { Linear = true } },
            [482] = { 0.781492848875661, LH = { 481.666666666667, 0.784825217702822 }, RH = { 482.333333333333, 0.778334091159612 }, Flags = { Linear = true } },
            [483] = { 0.772016575727513, LH = { 482.666666666667, 0.775175333443562 }, RH = { 483.333333333333, 0.769101355820106 }, Flags = { Linear = true } },
            [484] = { 0.763270916005291, LH = { 483.666666666667, 0.766186135912698 }, RH = { 484.333333333333, 0.760575121252205 }, Flags = { Linear = true } },
            [485] = { 0.755183531746032, LH = { 484.666666666667, 0.757879326499118 }, RH = { 485.333333333333, 0.752984457671958 }, Flags = { Linear = true } },
            [486] = { 0.748586309523809, LH = { 485.666666666667, 0.750785383597883 }, RH = { 486.333333333333, 0.746804384369488 }, Flags = { Linear = true } },
            [487] = { 0.743240534060846, LH = { 486.666666666667, 0.745022459215167 }, RH = { 487.333333333333, 0.742071070326278 }, Flags = { Linear = true } },
            [488] = { 0.739732142857143, LH = { 487.666666666667, 0.740901606591711 }, RH = { 488.333333333333, 0.739351162918871 }, Flags = { Linear = true } },
            [489] = { 0.738589203042328, LH = { 488.666666666667, 0.7389701829806 }, RH = { 489.333333333333, 0.739201664462081 }, Flags = { Linear = true } },
            [490] = { 0.740426587301587, LH = { 489.666666666667, 0.739814125881834 }, RH = { 490.333333333333, 0.740426587301587 }, Flags = { Linear = true } },
            [491] = { 0.740426587301587, LH = { 490.666666666667, 0.740426587301587 }, RH = { 491.333333333333, 0.740426587301587 }, Flags = { Linear = true } },
            [492] = { 0.740426587301587, LH = { 491.666666666667, 0.740426587301587 }, RH = { 492.333333333333, 0.740426587301587 }, Flags = { Linear = true } },
            [493] = { 0.740426587301587, LH = { 492.666666666667, 0.740426587301587 }, Flags = { Linear = true } }
         }
      },
      BrightnessContrast1 = BrightnessContrast {
         Inputs = {
            Gain = Input { Value = 1.22857142857143, },
            Lift = Input { Value = 0.304761904761905, },
            Gamma = Input { Value = 2.25714285714286, },
            Contrast = Input { Value = 0.304761904761905, },
            Brightness = Input { Value = 0.142857142857143, },
            Saturation = Input { Value = 0.980952380952381, },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
            FrameRenderScript = Input { Value = "dump(self,Gain)", },
            EffectMask = Input {
               SourceOp = "Polygon1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 486, 96 } },
      },
      Background2 = Background {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            Depth = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftRed = Input { Value = 0.581543398374825, },
            TopLeftGreen = Input { Value = 0.129392888566844, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 251, 105 } },
      },
      Polygon3 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         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.384422123432159, Y = 0.315476179122925, LX = 0.00279173254966736, LY = -0.0505952338377635, RX = 0.00670016321105575, RY = 0.0406746069590251 },
                     { Linear = true, X = 0.404522627592087, Y = 0.4375, LX = -0.00670016321105575, LY = -0.0406746069590251, RX = 0.0100502464140281, RY = 0.00793650793650794 },
                     { Linear = true, X = 0.434673368930817, Y = 0.461309522390366, LX = -0.0100502464140281, LY = -0.00793650793650794, RX = -0.00390843174299138, RY = -0.0644841265110742 },
                     { Linear = true, X = 0.422948062419891, Y = 0.267857134342194, LX = 0.00390843174299138, LY = 0.0644841265110742, RX = 0.0117252968929787, RY = 0.0644841298224434 },
                     { Linear = true, X = 0.458123952150345, Y = 0.461309522390366, LX = -0.0117252968929787, LY = -0.0644841298224434, RX = 0.00837520969639538, RY = 0.00694444491749715 },
                     { Linear = true, X = 0.483249574899673, Y = 0.482142865657806, LX = -0.00837520969639538, LY = -0.00694444491749715, RX = -0.00279173434679233, RY = -0.105158732997047 },
                     { Linear = true, X = 0.474874377250671, Y = 0.16666667163372, LX = 0.00279173434679233, LY = 0.105158732997047, RX = 0, RY = -0.202380954036637 },
                     { Linear = true, X = 0.474874377250671, Y = -0.440476179122925, LX = 0, LY = 0.202380954036637, RX = -0.0206588516017034, RY = -0.0128968291812473 },
                     { Linear = true, X = 0.412897825241089, Y = -0.479166656732559, LX = 0.0206588516017034, LY = 0.0128968291812473, RX = 0.000558346360173045, RY = 0.0585317427203769 },
                     { Linear = true, X = 0.414572864770889, Y = -0.303571432828903, LX = -0.000558346360173045, LY = -0.0585317427203769, RX = -0.0374092687148079, RY = -0.0565476176284608 },
                     { Linear = true, X = 0.30234506726265, Y = -0.47321429848671, LX = 0.0374092687148079, LY = 0.0565476176284608, RX = 0.0385259602703508, RY = 0.126984131241602 },
                     { Linear = true, X = 0.41792294383049, Y = -0.092261902987957, LX = -0.0385259602703508, LY = -0.126984131241602, RX = -0.00167504046164298, RY = 0.0565476184563031 },
                     { Linear = true, X = 0.412897825241089, Y = 0.0773809552192688, LX = 0.00167504046164298, LY = -0.0565476184563031, RX = -0.0290340601166555, RY = -0.0625000009461055 },
                     { Linear = true, X = 0.325795650482178, Y = -0.110119044780731, LX = 0.0290340601166555, LY = 0.0625000009461055, RX = 0.0223338898169402, RY = 0.0912698403237358 },
                     { Linear = true, X = 0.392797321081162, Y = 0.163690477609634, LX = -0.0223338898169402, LY = -0.0912698403237358, RX = -0.00279173254966736, RY = 0.0505952338377635 }
                  }
               },
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
            EffectMask = Input {
               SourceOp = "Polygon2",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 376, 90 } },
      },
      Background1 = Background {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            Depth = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 253, 72 } },
      },
      Polygon2 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         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.453098833560944, Y = -0.377976179122925, LX = 0.0128419895966848, LY = -0.022817462682724, RX = 0.0117252951624139, RY = 0.0793650755806575 },
                     { Linear = true, X = -0.41792294383049, Y = -0.139880955219269, LX = -0.0117252951624139, LY = -0.0793650755806575, RX = -0.00781686350262278, RY = 0.114087302533407 },
                     { Linear = true, X = -0.441373527050018, Y = 0.202380955219269, LX = 0.00781686350262278, LY = -0.114087302533407, RX = 0.011166943410866, RY = 0.0446428561967517 },
                     { Linear = true, X = -0.407872706651688, Y = 0.336309522390366, LX = -0.011166943410866, LY = -0.0446428561967517, RX = 0.0217755476666988, RY = -0.0853174598444076 },
                     { Linear = true, X = -0.342546075582504, Y = 0.0803571417927742, LX = -0.0217755476666988, LY = 0.0853174598444076, RX = -0.00670016352721662, RY = -0.0823412694864803 },
                     { Linear = true, X = -0.362646579742432, Y = -0.16666667163372, LX = 0.00670016352721662, LY = 0.0823412694864803, RX = -0.0173087615263921, RY = -0.0932539665982837 },
                     { Linear = true, X = -0.414572864770889, Y = -0.446428567171097, LX = 0.0173087615263921, LY = 0.0932539665982837, RX = -0.0128419895966848, RY = 0.022817462682724 }
                  }
               },
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { 376, 57 } },
      },
      Polygon1 = PolylineMask {
         DrawMode = "InsertAndModify",
         DrawMode2 = "InsertAndModify",
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
            Center = Input {
               SourceOp = "Path1",
               Source = "Position",
            },
            Polyline = Input {
               Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.0458333343267441, Y = 0.0324074067175388, LX = -0.00435932829523063, LY = -0.00865575095293932, RX = 0.0142211697534028, RY = 0.0282371262975539 },
                     { X = 0.00937500037252903, Y = 0.0898148119449615, LX = -0.0212897435051812, LY = -0.00200374041765958, RX = 0.0144062712952139, RY = 0.00135588425736383 },
                     { X = 0.042708333581686, Y = 0.0407407395541668, LX = -0.00508821592366345, LY = 0.0239988410975629, RX = 0.00480355134875045, RY = -0.0226562054858014 },
                     { X = 0.034895833581686, Y = -0.0305555555969477, LX = 0.00867953526366215, LY = 0.0186583901423173, RX = -0.0110558407175069, RY = -0.0237667321108991 },
                     { X = -0.0130208330228925, Y = -0.0666666701436043, LX = 0.0163781845222811, LY = -0.0101677616406878, RX = -0.0147012668837092, RY = 0.00912671226083327 },
                     { X = -0.030729167163372, Y = 0.0101851848885417, LX = 0.00686776429580926, LY = -0.0248454677716718, RX = -0.00288228730980845, RY = 0.0104272327034057 }
                  }
               },
            },
            Polyline2 = Input {
               Value = Polyline {
               },
               Disabled = true,
            },
         },
         ViewInfo = OperatorInfo { Pos = { 486, 57 } },
      },
      Path1 = PolyPath {
         DrawMode = "InsertAndModify",
         CtrlWZoom = false,
         Inputs = {
            Displacement = Input {
               SourceOp = "Path1Displacement",
               Source = "Value",
            },
            PolyLine = Input {
               Value = Polyline {
                  Points = {
                     { LockY = true, X = 0.0484374999456728, Y = 0.0518518518518518, RX = -0.0215904642003789, RY = -0.00968584560288263 },
                     { LockY = true, X = -0.0109375, Y = 0.00740740740740742, LX = 0.0170166945700311, LY = 0.0232873023434035, RX = -0.00996707612261285, RY = -0.013639917799064 },
                     { LockY = true, X = -0.0239583333333334, Y = -0.0555555555555556, LX = -0.00808048752503303, LY = 0.0171364199112933, RX = 0.00803723243796114, RY = -0.0170446881521554 },
                     { LockY = true, X = 0.0129246852981547, Y = -0.0431975129025954, LX = -0.0100365721229701, LY = 0.0132783589843945, RX = 0.0109782142873004, RY = -0.0145241491346196 },
                     { LockY = true, X = 0.0208333333333333, Y = -0.114814814814815, LX = 0.00153478312606089, LY = 0.0285465763887999, RX = -0.173646007816862, RY = -4.62592926927149e-018 },
                     { LockY = true, X = -0.500104690117253, Y = -0.114814814814815, LX = -0.168636946358017, LY = -0.0736119443614812, RX = 0.327612012339619, RY = 0.143006368090289 },
                     { LockY = true, X = 0.504920435510888, Y = 0.096494708994709, LX = 0.0342010714555721, LY = -0.596631028996071, RX = -0.0346503320689505, RY = 0.604468292878155 },
                     { LockY = true, X = -0.518530150753769, Y = 0.206613756613757, LX = 0.341150195421552, LY = -0.0367063492063492 }
                  }
               },
            },
         },
      },
      Path1Displacement = BezierSpline {
         SplineColor = { Red = 255, Green = 0, Blue = 255 },
         NameSet = true,
         KeyFrames = {
            [337] = { 0, RH = { 341.332885742188, 0.0075371145546346 }, Flags = { Linear = true, LockedY = true } },
            [349.998657226563] = { 0.0226113436639038, LH = { 345.665771484375, 0.0150742291092692 }, RH = { 354.988037109375, 0.0292879117534241 }, Flags = { Linear = true, LockedY = true } },
            [364.966796875] = { 0.0426410479324648, LH = { 359.977416992188, 0.0359644798429445 }, RH = { 367.855377197266, 0.0472861591341505 }, Flags = { Linear = true, LockedY = true } },
            [373.632537841797] = { 0.0565763815375219, LH = { 370.743957519531, 0.0519312703358362 }, RH = { 377.440226236979, 0.0639302151468176 }, Flags = { Linear = true, LockedY = true } },
            [385.055603027344] = { 0.0786378823654089, LH = { 381.247914632162, 0.0712840487561132 }, RH = { 394.874003092448, 0.138955068063421 }, Flags = { Linear = true, LockedY = true } },
            [414.510803222656] = { 0.259589439459446, LH = { 404.692403157552, 0.199272253761434 }, RH = { 427.382019042969, 0.382402591760169 }, Flags = { Linear = true, LockedY = true } },
            [453.124450683594] = { 0.628028896361614, LH = { 440.253234863281, 0.505215744060891 }, RH = { 465.416300455729, 0.752019264241076 }, Flags = { Linear = true, LockedY = true } },
            [490] = { 1, LH = { 477.708150227865, 0.876009632120538 }, Flags = { Linear = true, LockedY = true } }
         }
      }
   }
}



NOW YOU SEE ME :3
__
--[[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]]--
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Trails Offset and Scale dependecies Tracker LINK!!!! *SO

PostMon May 09, 2016 9:53 pm

Now the question:

How to make Trails to use Tracker's own offset controls?
__
--[[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]]--
Offline
User avatar

Eugene Afanasiev

  • Posts: 607
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Trails Offset and Scale dependecies Tracker LINK!!!! *SO

PostSat Jan 14, 2017 11:38 am

That last formula doesn't work with different scales it still gives an offset close to the borders.

And here is a new one it actually turned out to be way simpler than I thought.


Code: Select all
{
   Tools = ordered() {
      Trails1 = Trails {
         CtrlWZoom = false,
         Inputs = {
            GainRed = Input { Value = 0.5, },
            XOffset = Input {
               Value = -0.103007161282176,
               Expression = "-(dc.X-.5)*(XScale-1)",
            },
            YOffset = Input {
               Value = -0.103058703723237,
               Expression = "-(dc.Y-.5)*(XScale-1)",
            },
            XScale = Input { Value = 1.20952380952381, },
            MergeUnder = Input { Value = 1, },
            dc = Input { Value = { 0.991625087937659, 0.991871085951815 }, },
         },
         ViewInfo = OperatorInfo { Pos = { 792, 504 } },
         UserControls = ordered() {
            X = {
               INP_Integer = false,
               LINKID_DataType = "Number",
               ICS_ControlPage = "Controls",
               INPID_InputControl = "SliderControl",
               LINKS_Name = "X"
            },
            Y = {
               INP_Integer = false,
               LINKID_DataType = "Number",
               ICS_ControlPage = "Controls",
               INPID_InputControl = "SliderControl",
               LINKS_Name = "Y"
            },
            dc = {
               INPID_PreviewControl = "CrosshairControl",
               LINKID_DataType = "Point",
               ICS_ControlPage = "Controls",
               INPID_InputControl = "OffsetControl",
               CHC_Style = "DiagonalCross",
               LINKS_Name = "dc"
            }
         }
      }
   },
   ActiveTool = "Trails1"
}
__
--[[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]]--

Return to Fusion

Who is online

Users browsing this forum: No registered users and 31 guests