Jump to: Board index » General » Fusion

Duplicate stuff out of frame ..... does it still exist?

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

Dazzer

  • Posts: 228
  • Joined: Sat Aug 24, 2019 8:31 am
  • Real Name: Daz Harris

Duplicate stuff out of frame ..... does it still exist?

PostFri Nov 01, 2019 10:24 pm

Hi folks,

Sorry to be bombing the forum with so many questions, but there's lots to learn!

Please take a quick look at the films below.

In the first one, i have some text, I duplicate it 4 times and then start offsetting it on the Y axis.

I keep going until i have lost the top two copies out of frame.

My question is: where are they?

Are they lost forever?

I would imagine / hope that if i increase the height of my background going into the merge, that they would re-appear, but alas, no.

This seems to me to be important, because if you want to do a transform after and bring them back into frame, they're lost, as in the example in the second video below.

Of course these are "toy" problems, but i need to understand how this works!



Offline
User avatar

Bryan Ray

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

Re: Duplicate stuff out of frame ..... does it still exist?

PostFri Nov 01, 2019 11:24 pm

No, if Duplicate sends something outside the raster, those pixels are discarded. You can precompose on a larger raster by cropping your image larger prior to the Duplicate node, then crop it back down afterward, setting Clipping Mode to 'none' to avoid destroying the information outside the frame. Note the use of "Keep Centered" in both Crop nodes.

Code: Select all
{
   Tools = ordered() {
      Duplicate1_1 = Fuse.Duplicate {
         CtrlWZoom = false,
         Inputs = {
            Copies = Input { Value = 8, },
            Center = Input { Value = { 0.570819399344308, 0.5 }, },
            RandomSeed = Input { Value = 22899, },
            Background = Input {
               SourceOp = "Crop1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 880, -610.5 } },
      },
      Crop1 = Crop {
         Inputs = {
            XOffset = Input { Value = -960, },
            XSize = Input { Value = 3840, },
            YSize = Input { Value = 1080, },
            KeepCentered = Input { Value = 1, },
            Input = Input {
               SourceOp = "Background4",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 770, -610.5 } },
      },
      Background4 = Background {
         Inputs = {
            GlobalIn = Input { Value = 1001, },
            GlobalOut = Input { Value = 2000, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftRed = Input { Value = 0.127, },
            TopLeftGreen = Input { Value = 0.175, },
            TopLeftBlue = Input { Value = 0.67, },
            EffectMask = Input {
               SourceOp = "Ellipse1",
               Source = "Mask",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 660, -610.5 } },
      },
      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.0512147938478281, },
            Height = Input { Value = 0.0512147938478281, },
         },
         ViewInfo = OperatorInfo { Pos = { 550, -610.5 } },
      },
      Crop2 = Crop {
         CtrlWZoom = false,
         Inputs = {
            XOffset = Input { Value = 960, },
            XSize = Input { Value = 1920, },
            YSize = Input { Value = 1080, },
            KeepCentered = Input { Value = 1, },
            Input = Input {
               SourceOp = "Duplicate1_1",
               Source = "Output",
            },
            ClippingMode = Input { Value = FuID { "None" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 990, -610.5 } },
      }
   }
}


Turn on the DoD display to see the extent of information that Fusion still 'remembers' even though it's out of frame. I forget where that's been hidden away in Fu/Resolve 16. Either in the right-click context menu or in the '...' in the upper right.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Dazzer

  • Posts: 228
  • Joined: Sat Aug 24, 2019 8:31 am
  • Real Name: Daz Harris

Re: Duplicate stuff out of frame ..... does it still exist?

PostMon Nov 04, 2019 9:20 pm

A million thanks Bryan, that fixes it!

Just a quick question:

What does "DoD" stand for?
Offline
User avatar

Bryan Ray

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

Re: Duplicate stuff out of frame ..... does it still exist?

PostMon Nov 04, 2019 11:02 pm

Domain of Definition. A rectangular area in which pixels exist. Sometimes also called the Data Window. The DoD can be larger or smaller than the composition's frame, and may even be outside it entirely.

Many tools discard information outside the frame, but some can be set to not do so. Blur, for example. By default it clips information to the edges of the frame, but if you set Clipping Mode to None, it preserves the DoD, which is slower but sometimes necessary.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Dazzer

  • Posts: 228
  • Joined: Sat Aug 24, 2019 8:31 am
  • Real Name: Daz Harris

Re: Duplicate stuff out of frame ..... does it still exist?

PostMon Nov 04, 2019 11:25 pm

Great, all clear!

Return to Fusion

Who is online

Users browsing this forum: No registered users and 55 guests