Jump to: Board index » General » Fusion

How do I set the reference frame in the Tracker?

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

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

How do I set the reference frame in the Tracker?

PostThu Jan 31, 2019 10:57 pm

I have run a Tracker. I want to set the reference frame. Can I set it after I have run the Tracker? Or do I set it before tracking the shot?

Thanks in advance.
Offline

George Deierling

  • Posts: 338
  • Joined: Thu Feb 25, 2016 11:26 pm

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 12:11 am

Please give more detail in what you need to achieve. There are many ways to use tracking data.
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 12:22 am

George Deierling wrote:Please give more detail in what you need to achieve. There are many ways to use tracking data.


I am using tracked data to match move a bullet hole over the forehead of an actor. I used Mocha Pro to generate the track, then copy-pasted the track data as a Tracker into Fusion.
Offline
User avatar

Pieter Van Houte

  • Posts: 644
  • Joined: Wed Nov 05, 2014 1:04 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 2:52 am

Look for TrackerPlus in Reactor.

The Tool scripts contained in the tool can be run from any Tracker.
Support We Suck Less on Patreon -> https://www.patreon.com/wesuckless

https://www.steakunderwater.com/wesuckless
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 2:57 am

Pieter Van Houte wrote:Look for TrackerPlus in Reactor.


Can I copy-paste keyframes from Mocha into TrackerPlus? If not, does TrackerPlus have a planar tracker mode?
Offline

George Deierling

  • Posts: 338
  • Joined: Thu Feb 25, 2016 11:26 pm

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 6:37 am

Todd Groves wrote:
George Deierling wrote:Please give more detail in what you need to achieve. There are many ways to use tracking data.


I am using tracked data to match move a bullet hole over the forehead of an actor. I used Mocha Pro to generate the track, then copy-pasted the track data as a Tracker into Fusion.


Use a Merge for your foreground image. Link the Merge center to Tracker offset position. Use tracker x and y offset to fine tune the position.
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 6:54 am

George Deierling wrote:
Todd Groves wrote:
George Deierling wrote:Please give more detail in what you need to achieve. There are many ways to use tracking data.


I am using tracked data to match move a bullet hole over the forehead of an actor. I used Mocha Pro to generate the track, then copy-pasted the track data as a Tracker into Fusion.


Use a Merge for your foreground image. Link the Merge center to Tracker offset position. Use tracker x and y offset to fine tune the position.


I used Mocha's shape to track. Mocha created 4 trackers, which exist in one Tracker node when pasted. So, there are 4 Offset Position settings for the 4 trackers. I'm new to Fusion so I don't know how the nodes would be connected. Is the Tracker connected to the stream between the bullet hole and the Merge? What would the flow look like?
Offline

George Deierling

  • Posts: 338
  • Joined: Thu Feb 25, 2016 11:26 pm

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 7:29 am

So you have 4 corner positioning. Just connect the foreground image to the green input on the tracker. In Operation tab choose corner positioning. The tracker will shape the image to follow the surface you have tracked in Mocha. Now you can also fine tune each of the corners to adjust the shape/perspective of the image.
Then feed the output of the tracker into a Merge, use the green foreground input. Connect the background image to the yellow input of the merge. The center of this Merge can also be used to offset and reposition the entire track.

That is the basic setup, you will probably need to mask the foreground, add any fx you like to the foreground. Do it before the tracker so any changes to the foreground image will be tracked.

In addition to the foreground image you can also track other elements later in the flow, such as a hotspot for example. Right click on the center position of the hotspot, Modify with Tracker, and you see a long list of different tracking data points, you will probably pick "Unsteady position".
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 9:01 am

Thanks, George. I appreciate the walkthrough.
Offline
User avatar

Bryan Ray

  • Posts: 2491
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 4:45 pm

Todd Groves wrote:
Pieter Van Houte wrote:Look for TrackerPlus in Reactor.


Can I copy-paste keyframes from Mocha into TrackerPlus? If not, does TrackerPlus have a planar tracker mode?


You don't need to use TrackerPlus itself--it comes with a tool script that you can run on any Tracker, including the one created by Mocha. I believe you have the tool installed already, so all you need to do is set your mocha Tracker to Select Time, right click the node and point to Script > UpdateReferenceFrame (or something like that, it may also be in a subfolder. I don't have TrackerPlus installed at the moment, and I don't remember the precise name). The reference frame will be updated to use the current frame.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 4:51 pm

Thanks, Bryan. I'll give that a go.
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 6:46 pm

I've decided to redo the track with Fusions Tracker. There must be a step in the workflow that I'm missing, because I can't get it to simply track.

I scrub to the frame that I want to use as the time reference. I connect a Tracker to the footage and make sure its showing in Viewer 1. I align the tracker with a high contrast feature on the actor's nostril. As soon as I click to track, the tracker jumps to another area in the shot.

What am I missing here?
Offline

Sander de Regt

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

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 6:54 pm

From the way you describe it, nothing. So there's probably a part that you're leaving out :-)
Can you copy/paste the nodes in the 'code' boxes? Maybe that will help.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 7:15 pm

Code: Select all
{
   Tools = ordered() {
      Loader1 = Loader {
         Clips = {
            Clip {
               ID = "Clip1",
               Filename = "/Volumes/G-DRIVE USB-C/GENESIS/__VFX/78B-3_Blood/78B_tk03_4vfx.mov",
               FormatID = "QuickTimeMovies",
               Length = 406,
               Multiframe = true,
               TrimIn = 0,
               TrimOut = 405,
               ExtendFirst = 0,
               ExtendLast = 0,
               Loop = 1,
               AspectMode = 0,
               Depth = 0,
               TimeCode = 0,
               GlobalStart = 0,
               GlobalEnd = 405
            }
         },
         Inputs = {
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 350, 246 } },
      },
      Tracker1 = Tracker {
         Trackers = {
            {
               PatternTime = 150,
               PatternX = 0.315216368767639,
               PatternY = 0.530183946488294
            }
         },
         CtrlWZoom = false,
         Inputs = {
            Input = Input {
               SourceOp = "Loader1",
               Source = "Output",
            },
            Name1 = Input { Value = "Tracker 1", },
            PatternCenter1 = Input { Value = { 0.315216368767639, 0.530183946488294 }, },
         },
         ViewInfo = OperatorInfo { Pos = { 670, 124 } },
      },
      Saver1 = Saver {
         Inputs = {
            ProcessWhenBlendIs00 = Input { Value = 0, },
            Clip = Input {
               Value = Clip {
                  Filename = "/Volumes/G-DRIVE USB-C/GENESIS/__VFX/78B-3_Blood/_Renders/78B_tk03_vfx_v01.mov",
                  FormatID = "QuickTimeMovies",
                  Length = 0,
                  Multiframe = true,
                  Saving = true,
                  TrimIn = 0,
                  ExtendFirst = 0,
                  ExtendLast = 0,
                  Loop = 1,
                  AspectMode = 0,
                  Depth = 0,
                  TimeCode = 0,
                  GlobalStart = -2000000000,
                  GlobalEnd = 0
               },
            },
            OutputFormat = Input { Value = FuID { "QuickTimeMovies" }, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "Loader1",
               Source = "Output",
            },
            ["QuickTimeMovies.Compression"] = Input { Value = FuID { "H.264_avc1" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 1535, 245 } },
      }
   }
}
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostFri Feb 01, 2019 7:53 pm

I got the track to work. However, for some reason, the tracked element is offset every other frame. I couldn't paste the code, because it exceeded 60,000 characters - probably because of the track.

Here is the node layout:

Image
Offline

xunile

  • Posts: 3075
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 1:39 am

Do you see the area you are tracking in the Inspector before you start tracking? In the area I am pointing to in the attached image.
Attachments
tracker.jpg
tracker.jpg (383.48 KiB) Viewed 4497 times
Win 10 Home | Intel i7 - 10700f 64 GB 1 TB GB SSD 2 TB SSD
RTX-3060 12 GB | Resolve Studio 18.6.6| Fusion Studio 18.6.6

Win 10 Home | Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB | Resolve 17.4.6
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 1:56 am

xunile wrote:Do you see the area you are tracking in the Inspector before you start tracking? In the area I am pointing to in the attached image.


Yep. I am able to get to track. But, why would the element be offset every other frame?
Offline

xunile

  • Posts: 3075
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 2:32 am

Could you try connecting something like a Text+ node with some sample text to see how it follows along? Can you elaborate on what you mean by offset every other frame? Is it lagging behind, is it jumping around?
Win 10 Home | Intel i7 - 10700f 64 GB 1 TB GB SSD 2 TB SSD
RTX-3060 12 GB | Resolve Studio 18.6.6| Fusion Studio 18.6.6

Win 10 Home | Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB | Resolve 17.4.6
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 4:55 am

It jumps to the left every other frame. On one frame its where it should be, the next frame its offset to the left by about 100 pixels, then the next frame its back where it should be, then the next frame it's offset to the left again. I don't know why it would do that. The track itself seems fine.

I'll attach a Text node and see what happens.
Offline

xunile

  • Posts: 3075
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 6:06 am

Maybe try messing with the search area for the tracker or maybe the Adaptive Mode.
Win 10 Home | Intel i7 - 10700f 64 GB 1 TB GB SSD 2 TB SSD
RTX-3060 12 GB | Resolve Studio 18.6.6| Fusion Studio 18.6.6

Win 10 Home | Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB | Resolve 17.4.6
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 6:20 am

It seems that the problem was with the Polygon mask I used on the element. I just opened the element in Affinity Photo (a Photoshop type app), and erased the area I was masking out with the Polygon shape. I reimported the new version into Fusion and attached it to the track- without the Polygon mask - and it follows the track.

It seems the Polygon shape was causing the problem. Maybe I should use the Polygon shape on the Merge? I don't know. What do you think?
Offline

xunile

  • Posts: 3075
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 6:15 pm

Todd Groves wrote:It seems that the problem was with the Polygon mask I used on the element. I just opened the element in Affinity Photo (a Photoshop type app), and erased the area I was masking out with the Polygon shape. I reimported the new version into Fusion and attached it to the track- without the Polygon mask - and it follows the track.

It seems the Polygon shape was causing the problem. Maybe I should use the Polygon shape on the Merge? I don't know. What do you think?


I've used polygon masks with tracking elements before and haven't had an issue, I don't know why it caused an issue in your case.
Win 10 Home | Intel i7 - 10700f 64 GB 1 TB GB SSD 2 TB SSD
RTX-3060 12 GB | Resolve Studio 18.6.6| Fusion Studio 18.6.6

Win 10 Home | Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB | Resolve 17.4.6
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 9:32 pm

I don't know either. I'm new to Fusion, so I'm still getting used to the workflow. Maybe if I attached the mask to the Tracker node itself? Would that make a difference?
Offline

Sander de Regt

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

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 9:38 pm

What do you need the mask for?
I don't know if this is the case here, but maybe the mask in some way messes with the resolution or ROI or DOD (I can never tell those apart) so the image flips back and forth. Also: if you do the tracking without having anything attached to the FG input, does it still do that?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 9:47 pm

Sander de Regt wrote:What do you need the mask for?
I don't know if this is the case here, but maybe the mask in some way messes with the resolution or ROI or DOD (I can never tell those apart) so the image flips back and forth. Also: if you do the tracking without having anything attached to the FG input, does it still do that?


Once I removed the mask, after cleaning up the edges, it stopped jumping around. Unfortunately, the overall track is still erratic. The shot was filmed on a gimbal, where I walk from 10 feet away up to about 2 feet away. That distance may be too dramatic for the tracker. I also tried a Planar Tracker, and that still wasn't good enough. I'm trying to get the director to reshoot it, and just use simple makeup on the actors.
Offline

Sander de Regt

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

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 10:05 pm

Well, you do know where to find me off-forum, so I can offer you some more precise tips/tricks.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Todd Groves

  • Posts: 595
  • Joined: Fri Sep 15, 2017 1:24 am

Re: How do I set the reference frame in the Tracker?

PostSat Feb 02, 2019 10:09 pm

Sander de Regt wrote:Well, you do know where to find me off-forum, so I can offer you some more precise tips/tricks.


Will do.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 72 guests