Page 1 of 1

tracker won't work on 180 pan (even with append)

PostPosted: Wed Apr 05, 2017 1:11 pm
by Steve Iskenderian
Ok so I followed a tutorial on tracker node, very well detailled.
However, I can't manage to append new position on the tracker for it to follow a 180 pan in a footage, it won't update after it reaches the edge of the screen (at about 70 degrees pan), and will go crazy.

It's a 3d render and I wanted to add a sky in the bg.
So I even rendered a tracking plate so the tracker node would pick up 100%. But same problem, it won't update when I append a new point, and go crazy.

How can I make the tracker work in this case?

Thank you.

Re: tracker won't work on 180 pan (even with append)

PostPosted: Wed Apr 05, 2017 2:04 pm
by Steve Iskenderian
Another important point is that, after the first track, if I append and then track again, I can't stop the track anymore for some reason.

Re: tracker won't work on 180 pan (even with append)

PostPosted: Wed Apr 05, 2017 6:51 pm
by michael vorberg
i know its not the answer to your question, but why dont you import the camera from the 3d rendering?
would be easy to create the sky in fusions 3d system and render it with the camera

Re: tracker won't work on 180 pan (even with append)

PostPosted: Thu Apr 06, 2017 3:37 am
by Steve Iskenderian
Thank you, it is a good suggestion indeed.
However, I have no idea how to do this. I'm still a little bit confused about relationship between the 2d shots and 3d space inside fusion, I don't really get it yet (I will soon, God willing :) ).
And I did try to export camera as fbx from 3dsmax (with bake animation activated), but I only got a merge3d node inside fusion.

Re: tracker won't work on 180 pan (even with append)

PostPosted: Thu Apr 06, 2017 4:50 am
by Steve Iskenderian
Ok, so I managed to import a camera properly via alembic, (fbx not working for some reasons).
Working on it...

Re: tracker won't work on 180 pan (even with append)

PostPosted: Fri Apr 07, 2017 5:53 am
by Steve Iskenderian
I would like to ask something,
After importing the camera, we can see its animated path.

Can we link the position/rotation of an image plane to camera path so it follows it?

Thank you again.

Re: tracker won't work on 180 pan (even with append)

PostPosted: Fri Apr 07, 2017 2:06 pm
by michael vorberg
You can do this with the quick expression of the the transform, rotation controls

Or if you need the image to be always on front of the camera you can pipe the image directly into the camera, enable image plane and control the distance of the plane in the camera

Re: tracker won't work on 180 pan (even with append)

PostPosted: Sat Apr 08, 2017 3:05 am
by Steve Iskenderian
Thank you.

I guess we can link more than one image, isn't it?

I'll try it

Re: tracker won't work on 180 pan (even with append)

PostPosted: Sat Apr 08, 2017 9:29 am
by michael vorberg
No, only one image per camera

Re: tracker won't work on 180 pan (even with append)

PostPosted: Sat Apr 08, 2017 11:55 am
by Steve Iskenderian
ok, thank you.
So what is your technique if you want to comp several elements, and have all of them follow the camera movement?

Re: tracker won't work on 180 pan (even with append)

PostPosted: Mon Apr 10, 2017 5:48 pm
by michael vorberg
i would link the camera motion to a transform3d which moves the whole scene

Code: Select all
{
   Tools = ordered() {
      Note1 = Note {
         Inputs = {
            Comments = Input { Value = "Comp starts at 1001", }
         },
         ViewInfo = StickyNoteInfo {
            Pos = { 330, 247.5 },
            Flags = {
               Expanded = true
            },
            Size = { 204.084, 66.1294 }
         },
      },
      ImagePlane3D1 = ImagePlane3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = -1.48297741973535, },
            ["Transform3DOp.Scale.X"] = Input { Value = 2.72138604651163, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
            MaterialInput = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 49.5 } },
      },
      FastNoise1 = FastNoise {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 1101, },
            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 = { 550, -16.5 } },
      },
      Merge3D1 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "ImagePlane3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "ImagePlane3D2",
               Source = "Output",
            },
            SceneInput3 = Input {
               SourceOp = "ImagePlane3D3",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 115.5 } },
      },
      Transform3D2 = Transform3D {
         Inputs = {
            SceneInput = Input {
               SourceOp = "Merge3D1",
               Source = "Output",
            },
            ["Transform3DOp.Translate.Z"] = Input { Value = -2.9107981, },
            Comments = Input { Value = "Offset the whole scene", }
         },
         ViewInfo = OperatorInfo { Pos = { 770, 214.5 } },
      },
      Transform3D1 = Transform3D {
         CtrlWZoom = false,
         Inputs = {
            SceneInput = Input {
               SourceOp = "Transform3D2",
               Source = "Output",
            },
            ["Transform3DOp.Translate.X"] = Input {
               Value = 0.144021140810636,
               Expression = "Camera3D1.Transform3DOp.Translate.X",
            },
            ["Transform3DOp.Translate.Y"] = Input {
               Value = 0.127910426590394,
               Expression = "Camera3D1.Transform3DOp.Translate.Y",
            },
            ["Transform3DOp.Translate.Z"] = Input {
               Value = 1.69832451540992,
               Expression = "Camera3D1.Transform3DOp.Translate.Z",
            },
            ["Transform3DOp.Rotate.X"] = Input {
               Value = 1.6901409,
               Expression = "Camera3D1.Transform3DOp.Rotate.X",
            },
            ["Transform3DOp.Rotate.Y"] = Input {
               Value = 25.3521127,
               Expression = "Camera3D1.Transform3DOp.Rotate.Y",
            },
            ["Transform3DOp.Rotate.Z"] = Input { Expression = "Camera3D1.Transform3DOp.Rotate.Z", },
            ["Transform3DOp.PivotNest"] = Input { Value = 1, },
            Comments = Input { Value = "Translation and Rotation linked to camera", }
         },
         ViewInfo = OperatorInfo { Pos = { 770, 379.5 } },
      },
      ImagePlane3D2 = ImagePlane3D {
         Inputs = {
            ["Transform3DOp.Scale.X"] = Input { Value = 1.65183255813953, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            MaterialInput = Input {
               SourceOp = "Text1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 3, },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 49.5 } },
      },
      Text1 = TextPlus {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 1101, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Size = Input { Value = 0.14, },
            Font = Input { Value = "Open Sans", },
            StyledText = Input { Value = "Hello\n", },
            Style = Input { Value = "Bold", },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            ShadingGradient1 = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 770, -16.5 } },
      },
      Merge3D2 = Merge3D {
         Inputs = {
            SceneInput1 = Input {
               SourceOp = "Transform3D1",
               Source = "Output",
            },
            SceneInput2 = Input {
               SourceOp = "Camera3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 770, 511.5 } },
      },
      Camera3D1 = Camera3D {
         Inputs = {
            ["Transform3DOp.Translate.X"] = Input {
               SourceOp = "Camera3D1XOffset",
               Source = "Value",
            },
            ["Transform3DOp.Translate.Y"] = Input {
               SourceOp = "Camera3D1YOffset",
               Source = "Value",
            },
            ["Transform3DOp.Translate.Z"] = Input {
               SourceOp = "Camera3D1ZOffset",
               Source = "Value",
            },
            ["Transform3DOp.Rotate.X"] = Input {
               SourceOp = "Camera3D1XRotation",
               Source = "Value",
            },
            ["Transform3DOp.Rotate.Y"] = Input {
               SourceOp = "Camera3D1YRotation",
               Source = "Value",
            },
            ["Transform3DOp.Rotate.Z"] = Input {
               SourceOp = "Camera3D1ZRotation",
               Source = "Value",
            },
            AoV = Input { Value = 19.2642683071402, },
            ["Stereo.Mode"] = Input { Value = FuID { "Mono" }, },
            FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
            ApertureW = Input { Value = 0.831496062992126, },
            ApertureH = Input { Value = 0.467716535433071, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 275, 511.5 } },
      },
      Camera3D1XOffset = BezierSpline {
         SplineColor = { Red = 250, Green = 59, Blue = 49 },
         NameSet = true,
         KeyFrames = {
            [1001] = { -4.48598637106306, RH = { 1008, -4.13556931515891 }, Flags = { Linear = true } },
            [1022] = { -3.43473520335061, LH = { 1015.00069989677, -3.75880332390854 }, RH = { 1048.32949775195, -2.21567747959662 } },
            [1101] = { 0.144021140810636, LH = { 1074.66666666667, -1.04889764057645 } }
         }
      },
      Camera3D1YOffset = BezierSpline {
         SplineColor = { Red = 252, Green = 131, Blue = 47 },
         NameSet = true,
         KeyFrames = {
            [1001] = { 1.37852849608286, RH = { 1008, 1.33586397589227 }, Flags = { Linear = true } },
            [1022] = { 1.25053493551109, LH = { 1015.00111770034, 1.3380642222131 }, RH = { 1048.33069850407, 0.921238462195607 } },
            [1101] = { 0.127910426590394, LH = { 1074.66666666667, 0.502118596230627 } }
         }
      },
      Camera3D1ZOffset = BezierSpline {
         SplineColor = { Red = 254, Green = 207, Blue = 46 },
         NameSet = true,
         KeyFrames = {
            [1001] = { 3.26334867911921, RH = { 1008, 3.43619741847949 }, Flags = { Linear = true } },
            [1022] = { 3.78189489720007, LH = { 1015.00070007591, 3.89143563230262 }, RH = { 1048.33069971445, 3.36981308419521 } },
            [1101] = { 1.69832451540992, LH = { 1074.66666666667, 2.39284797600663 } }
         }
      },
      Camera3D1XRotation = BezierSpline {
         SplineColor = { Red = 255, Green = 128, Blue = 128 },
         NameSet = true,
         KeyFrames = {
            [1001] = { -11.8309859, RH = { 1034, -7.369014056 }, Flags = { Linear = true } },
            [1101] = { 1.6901409, LH = { 1068, -2.771830944 }, Flags = { Linear = true } }
         }
      },
      Camera3D1YRotation = BezierSpline {
         SplineColor = { Red = 128, Green = 255, Blue = 128 },
         NameSet = true,
         KeyFrames = {
            [1001] = { 0, RH = { 1008, -3.85915493333333 }, Flags = { Linear = true } },
            [1022] = { -11.5774648, LH = { 1015, -7.71830986666667 }, RH = { 1048.33333333333, 0.732394366666666 }, Flags = { Linear = true } },
            [1101] = { 25.3521127, LH = { 1074.66666666667, 13.0422535333333 }, Flags = { Linear = true } }
         }
      },
      Camera3D1ZRotation = BezierSpline {
         SplineColor = { Red = 128, Green = 128, Blue = 255 },
         NameSet = true,
         KeyFrames = {
            [1001] = { 0, Flags = { Linear = true } }
         }
      },
      Note2_1 = Note {
         Inputs = {
            Comments = Input { Value = "offset for whole scene", }
         },
         ViewInfo = StickyNoteInfo {
            Pos = { 880, 214.5 },
            Flags = {
               Expanded = true
            },
            Size = { 165, 58.3 }
         },
      },
      Note2 = Note {
         Inputs = {
            Comments = Input { Value = "Translation and Rotation linked to camera", }
         },
         ViewInfo = StickyNoteInfo {
            Pos = { 880, 346.5 },
            Flags = {
               Expanded = true
            },
            Size = { 165, 58.3 }
         },
      },
      Background1 = Background {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 1101, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftRed = Input { Value = 1, },
            Gradient = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 990, -16.5 } },
      },
      ImagePlane3D3 = ImagePlane3D {
         Inputs = {
            ["Transform3DOp.Translate.Z"] = Input { Value = -3.88814660471161, },
            ["Transform3DOp.Scale.X"] = Input { Value = 4.25596279069767, },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 4, },
            MaterialInput = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 4, },
         },
         ViewInfo = OperatorInfo { Pos = { 990, 49.5 } },
      }
   }
}


Re: tracker won't work on 180 pan (even with append)

PostPosted: Tue Apr 11, 2017 2:58 am
by Steve Iskenderian
Thank you michael for taking the time to write this!
How should I plug the whole scene to the transform3d node? Where do I put this script?
Sorry for the noob questions, I' beginning with fusion actually.
You've been very helpful. :)

Re: tracker won't work on 180 pan (even with append)

PostPosted: Tue Apr 11, 2017 6:16 am
by michael vorberg
The code is actually a fusion comp, just select all and paste into fusion

Every fusion comp is saved as plain text (correctly: LUA tables), you can copy and paste them everywhere and even modify them in a text editor

Re: tracker won't work on 180 pan (even with append)

PostPosted: Tue Apr 11, 2017 11:47 am
by Steve Iskenderian
Thank you very much michael :)

Re: tracker won't work on 180 pan (even with append)

PostPosted: Wed Apr 12, 2017 11:10 am
by Steve Iskenderian
Hi michael.
How are u today?

I would like to ask on this thread about an issue that arose from the workflow you gave me.
First of all, I thank you once again because this is really working well and solved my problems.

However, I noticed that the aliasing on the image planes are very bad and flickering.

Is it the alpha the problem, or any settings to tweak?

Thank you.