Jump to: Board index » General » Fusion

Tracking a window

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

GalinMcMahon

  • Posts: 715
  • Joined: Sun Sep 29, 2019 10:14 pm
  • Real Name: Galin McMahon

Tracking a window

PostFri Feb 19, 2021 5:02 am

This is probably super basic but I can't get it to work. I don't do a whole lot of work in Fusion.

I have 4 stacked layers in the edit screen that I created a Fusion comp with. In Fusion I added a tracker node and made a good tracking. All 4 layers are the same movement (with a motorized slider) and I need to window a small square in each of the top 3 layers to put onto the bottom one. I added a rectangle that masks just right but I can't figure out how to apply the tracker node to move the rectangle with the shot.

As with most things Resolve, it's probably something pretty simple.
Water cooled Windows 11 laptop
i9 12th gen - 64GB RAM - 16GB 3080ti
2TB 4th gen nvme main - 4TB 4th gen nvme scratch
Micro panel (thank you BM :) ) - Stream Deck
Resolve Studio 18.5
BenQ ultrawide - DeckLink 4k mini via Sonnet - 48” LG C2 OLED
Offline

Sander de Regt

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

Re: Tracking a window

PostFri Feb 19, 2021 12:57 pm

I am not quite sure what you mean by

I need to window a small square in each of the top 3 layers to put onto the bottom one.


Can you post a screenshot of what you're trying to achieve?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

GalinMcMahon

  • Posts: 715
  • Joined: Sun Sep 29, 2019 10:14 pm
  • Real Name: Galin McMahon

Re: Tracking a window

PostSat Feb 20, 2021 4:16 am

Yeah, I didn't word that very well. So I've got 4 tracks

layers.png
layers.png (98.58 KiB) Viewed 587 times


Each layer has this canister on a different shelf

I need to make it look like there is one on each shelf which works this way.

all 4.png
all 4.png (406.78 KiB) Viewed 587 times


But when I scrub through, the rectangles don't track:

not tracking.png
not tracking.png (97.49 KiB) Viewed 587 times


Again, I'm sure it's something pretty basic. I tried changing the tracker merge to BG only and for some reason it moved the rectangle with the image to the right edge of the screen but it still acts the same.
Water cooled Windows 11 laptop
i9 12th gen - 64GB RAM - 16GB 3080ti
2TB 4th gen nvme main - 4TB 4th gen nvme scratch
Micro panel (thank you BM :) ) - Stream Deck
Resolve Studio 18.5
BenQ ultrawide - DeckLink 4k mini via Sonnet - 48” LG C2 OLED
Offline

Sander de Regt

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

Re: Tracking a window

PostSat Feb 20, 2021 1:46 pm

It's not really basic, because you have different shots that all need to be tracked seperately, but you definitely need to change your setup around.

You're basically trying to create motion control combination shot, right?
It appears that the parts that need to be masked are moving i.e. they're not stationary in the frame.
But you've attached the mask to the MediaIn. Without connecting the rectangle mask to the tracking data, Fusion will mask the MediaIn as is i.e. it doesn't know there's movement, so it doesn't what you want to mask.

And since you have a lateral movement, as far as I can tell from the screenshots, you will need to change the shape of your mask as well (since it won't be a perfect rectangle)

Since the area around the shelfs is black (and the shelf section itself is dark as well) it's probably difficul to track the corners of the shelf, but that is where I'd normally start.

You could also try planar tracking the shelves, position, rotation, scale (and shear?) and see if this will end up with a decent track.

It's still really difficult to tell from the screenshots, but the way you've set up your nodes is wrong /not ideal for what you're trying to achieve. If you can share the shot(s) here or through DM I could take a closer look to see if I could give you some more pointers.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

wfolta

  • Posts: 625
  • Joined: Fri May 15, 2020 1:12 pm
  • Real Name: Wayne Folta

Re: Tracking a window

PostSun Feb 21, 2021 6:15 pm

GalinMcMahon wrote: All 4 layers are the same movement (with a motorized slider).

Do all 4 layers actually have the same camera motion, or sort-of have the same motion (and speed)? It looks from your screenshots like the speed isn't the same, which can cause perspective/size issues even if you get the masks right.

If it's exactly the same motion, you might be able to get away with a transfer mode in this case, in Edit, no Fusion required. (I.e. the background of each shelf is uniform black and the foregrounds are bright.) Use Add or Screen or Lighter or whatever looks right.

Or this might be the one situation where you could actually use a Difference Keyer. (Again, if the motion is exactly the same for each shot.)

(Both of the above only work in your situation because you have a background that's dark and nondescript and a foreground whose details are determined by their lights features. It won't work in general.)

Last, you could probably just animate the corners of the masks you've got by hand. (Use a Polygon mask and draw the four corners so you can animate them individually.) Put a keyframe at the beginning and end of the move. Then jump in the middle somewhere -- if it's necessary -- then the middle of each segment. It looks like you have enough room on each shelf so you don't have to track every variation in movement precisely. (And your motorized slider probably creates a fairly smooth motion to begin with.)

If you really need to track -- or want to learn how you'd do this if you had a well-lit bookcase with differentiable texture -- Sander de Regt's advice is spot on.
Resolve Studio 17 latest, Fusion Studio 17 latest, macOS Big Sur latest, MacBook Pro 2020 64GB RAM and Radeon Pro 5600M 8GB VRAM
Offline

GalinMcMahon

  • Posts: 715
  • Joined: Sun Sep 29, 2019 10:14 pm
  • Real Name: Galin McMahon

Re: Tracking a window

PostMon Feb 22, 2021 3:21 am

Thanks for the pointers, guys. I will try these out. Yes, all 4 shots are exact as the cam was on a motorized slider set to loop. They probably looked off because I didn't line the windows up. I was actually pleasantly surprised at how easy it was to alogn the clips...just dropped the opacity of one and nudged the next one into place and on down the line. This is of course just a test shoot. Am going to be replicating several cases at different angles throughout the entire scene. Phew!
Water cooled Windows 11 laptop
i9 12th gen - 64GB RAM - 16GB 3080ti
2TB 4th gen nvme main - 4TB 4th gen nvme scratch
Micro panel (thank you BM :) ) - Stream Deck
Resolve Studio 18.5
BenQ ultrawide - DeckLink 4k mini via Sonnet - 48” LG C2 OLED

Return to Fusion

Who is online

Users browsing this forum: Hendrik Proosa and 29 guests