Jump to: Board index » General » Fusion

Fusion comp won't stretch

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

EthicalEgret

  • Posts: 23
  • Joined: Mon May 29, 2023 10:34 pm
  • Real Name: Robert Christian

Fusion comp won't stretch

PostMon Mar 04, 2024 8:43 pm

I have this fusion comp that renders a 3D Plane, applies an image to it, and adds a prism glow effect. The image to apply can be input to the clip using a Loader node. But this clip won't stretch, it turns black and the 3D Plane disappears. I tried using a keyframe stretcher, even though there isn't any animation, but that didn't really work so I just removed it. I tried troubleshooting the nodes by visiting each node and marking it for preview, then moving the timeline to where things go black, and it seemed to show some weird behavior coming from the Luma Keyer node, so I replaced that one, but the problem just changed to now going black at a different frame. I'm really confused, I have no idea what's wrong with this thing. Any help would be greatly appreciated.

Code: Select all
{
   Tools = ordered() {
      PrismGlowPaperStill = MacroOperator {
         Inputs = ordered() {
            Input1 = InstanceInput {
               SourceOp = "Loader1",
               Source = "Clip",
               Name = "Filename",
            },
         },
         Outputs = {
            MainOutput1 = InstanceOutput {
               SourceOp = "Merge1",
               Source = "Output",
            }
         },
         ViewInfo = GroupInfo { Pos = { 0, 0 } },
         Tools = ordered() {
            Loader1 = Loader {
               Clips = {
               },
               Inputs = {
                  ["Clip1.PNGFormat.PostMultiply"] = Input { Value = 1, },
                  ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
               },
               ViewInfo = OperatorInfo { Pos = { -330, -148.5 } },
            },
            ImagePlane3D1 = ImagePlane3D {
               EnabledRegion = TimeRegion { { Start = 0, End = 105.9999, FrameLength = 1 } },
               Inputs = {
                  ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
                  MaterialInput = Input {
                     SourceOp = "Loader1",
                     Source = "Output",
                  },
                  ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
               },
               ViewInfo = OperatorInfo { Pos = { -330, -49.5 } },
            },
            Merge3D1 = Merge3D {
               EnabledRegion = TimeRegion { { Start = 0, End = 106.9999, FrameLength = 1 } },
               Inputs = {
                  SceneInput1 = Input {
                     SourceOp = "ImagePlane3D1",
                     Source = "Output",
                  },
                  SceneInput2 = Input {
                     SourceOp = "Transform3D",
                     Source = "Output",
                  },
               },
               ViewInfo = OperatorInfo { Pos = { -165, -49.5 } },
            },
            Renderer3D1 = Renderer3D {
               CustomData = { ToolVersion = 2, },
               Inputs = {
                  Width = Input { Value = 1920, },
                  Height = Input { Value = 1080, },
                  ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
                  SceneInput = Input {
                     SourceOp = "Merge3D1",
                     Source = "Output",
                  },
               },
               ViewInfo = OperatorInfo { Pos = { -165, 82.5 } },
            },
            Transform3D = Transform3D {
               NameSet = true,
               EnabledRegion = TimeRegion { { Start = 0, End = 131.9999 } },
               Inputs = {
                  SceneInput = Input {
                     SourceOp = "Camera3D1",
                     Source = "Output",
                  },
                  ["Transform3DOp.Translate.X"] = Input { Value = -0.0634011527207, },
                  ["Transform3DOp.Translate.Y"] = Input { Value = 0.3682994236396, },
                  ["Transform3DOp.Translate.Z"] = Input { Value = -0.0064830142838, },
                  ["Transform3DOp.Rotate.X"] = Input { Value = 7.8, },
                  ["Transform3DOp.Rotate.Y"] = Input { Value = 19.3, },
                  ["Transform3DOp.PivotNest"] = Input { Value = 1, },
               },
               ViewInfo = OperatorInfo { Pos = { 0, -49.5 } },
            },
            Camera3D1 = Camera3D {
               EnabledRegion = TimeRegion { { Start = 0, End = 119.9999 } },
               Inputs = {
                  ["Transform3DOp.Translate.Y"] = Input { Value = -0.13, },
                  ["Transform3DOp.Translate.Z"] = Input { Value = 3.260671, },
                  ["Transform3DOp.UseTarget"] = Input { Value = 1, },
                  ["Transform3DOp.Target.X"] = Input { Value = -0.0920162612148, },
                  ["Transform3DOp.Target.Y"] = Input { Value = -0.13, },
                  AoV = Input { Value = 19.26427, },
                  FLength = Input { Value = 34.9999968656308, },
                  ["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
                  FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
                  ApertureW = Input { Value = 0.831496062992126, },
                  ApertureH = Input { Value = 0.467716535433071, },
                  ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 2, },
                  ["MtlStdInputs.MaterialID"] = Input { Value = 2, },
               },
               ViewInfo = OperatorInfo { Pos = { 0, -148.5 } },
            },
            PrismBlur1 = ofx.com.blackmagicdesign.resolvefx.PrismBlur {
               Inputs = {
                  Source = Input {
                     SourceOp = "Transform2",
                     Source = "Output",
                  },
                  CenterXPos = Input { Value = 0.5, },
                  CenterYPos = Input { Value = 0.5, },
                  xyPosition = Input { Value = { 0.504283018484044, 0.602880133467615 }, },
                  BlurStrength = Input { Value = 0, },
                  AberrationDistance = Input { Value = 1, },
                  AberrationStrength = Input { Value = 0.063, },
                  VignetteSize = Input { Value = 0.100000001490116, },
                  VignetteSharpness = Input { Value = 10, },
                  BlendAmount = Input { Value = 0, },
                  isUseLegacyPosition = Input { Value = 0, },
                  blendGroup = Input { Value = 0, },
                  blendIn = Input { Value = 1, },
                  blend = Input { Value = 0, },
                  ignoreContentShape = Input { Value = 0, },
                  legacyIsProcessRGBOnly = Input { Value = 0, },
                  IsNoTemporalFramesReqd = Input { Value = 0, },
                  refreshTrigger = Input { Value = 1, },
                  resolvefxVersion = Input { Value = "2.3", },
               },
               ViewInfo = OperatorInfo { Pos = { 110, 148.5 } },
            },
            Transform2 = Transform {
               Inputs = {
                  Input = Input {
                     SourceOp = "Renderer3D1",
                     Source = "Output",
                  },
               },
               ViewInfo = OperatorInfo { Pos = { -165, 247.5 } },
            },
            Merge1 = Merge {
               CtrlWZoom = false,
               Inputs = {
                  Background = Input {
                     SourceOp = "Transform2",
                     Source = "Output",
                  },
                  Foreground = Input {
                     SourceOp = "LumaKeyer3",
                     Source = "Output",
                  },
                  PerformDepthMerge = Input { Value = 0, },
               },
               ViewInfo = OperatorInfo { Pos = { 275, 346.5 } },
            },
            LumaKeyer3 = LumaKeyer {
               Inputs = {
                  Filter = Input { Value = FuID { "Fast Gaussian" }, },
                  ["Solid.MaskNest"] = Input { Value = 1, },
                  ["Garbage.MaskNest"] = Input { Value = 1, },
                  PostMultiplyImage = Input { Value = 0, },
                  Input = Input {
                     SourceOp = "Glow1",
                     Source = "Output",
                  },
               },
               ViewInfo = OperatorInfo { Pos = { 275, 247.5 } },
            },
            Glow1 = ofx.com.blackmagicdesign.resolvefx.Glow {
               EnabledRegion = TimeRegion { { Start = 0, End = 94.9999, FrameLength = 1 } },
               Inputs = {
                  EffectMask = Input {
                     SourceOp = "BSpline1",
                     Source = "Mask",
                  },
                  Source = Input {
                     SourceOp = "PrismBlur1",
                     Source = "Output",
                  },
                  outputSelection = Input { Value = FuID { "OUTPUT_SELECTION_GLOWING_IMAGE" }, },
                  threshold = Input { Value = 0.913, },
                  isAlphaMasking = Input { Value = 1, },
                  isAlphaComping = Input { Value = 0, },
                  shapeGroup = Input { Value = 1, },
                  spread = Input { Value = 0.5, },
                  hvRatio = Input { Value = 0, },
                  spreadRed = Input { Value = 1, },
                  spreadGreen = Input { Value = 1, },
                  spreadBlue = Input { Value = 1, },
                  compGroup = Input { Value = 1, },
                  brightness = Input { Value = 0.5, },
                  gamma = Input { Value = 2.691, },
                  saturation = Input { Value = 1, },
                  colorRed = Input { Value = 0.5333333333333, },
                  colorGreen = Input { Value = 1, },
                  colorBlue = Input { Value = 0.7333333333333, },
                  glowExtent = Input { Value = FuID { "GLOW_EXTENT_REFLECT_IN_CAMERA" }, },
                  CompositeType = Input { Value = FuID { "COMPOSITE_ADD" }, },
                  opacity = Input { Value = 0.299, },
                  isInverse = Input { Value = 0, },
                  recovery = Input { Value = 0, },
                  isLegacySat = Input { Value = 0, },
                  isLegacyBlur = Input { Value = 0, },
                  blendGroup = Input { Value = 0, },
                  blendIn = Input { Value = 1, },
                  blend = Input { Value = 0, },
                  ignoreContentShape = Input { Value = 0, },
                  legacyIsProcessRGBOnly = Input { Value = 0, },
                  IsNoTemporalFramesReqd = Input { Value = 0, },
                  refreshTrigger = Input { Value = 1, },
                  resolvefxVersion = Input { Value = "1.6", },
               },
               ViewInfo = OperatorInfo { Pos = { 275, 148.5 } },
            },
            BSpline1 = BSplineMask {
               DrawMode = "InsertAndModify",
               DrawMode2 = "InsertAndModify",
               EnabledRegion = TimeRegion { { Start = 0, End = 116.9999, FrameLength = 1 } },
               Inputs = {
                  Filter = Input { Value = FuID { "Fast Gaussian" }, },
                  SoftEdge = Input { Value = 0.1291, },
                  Invert = Input { Value = 1, },
                  MaskWidth = Input { Value = 1920, },
                  MaskHeight = Input { Value = 1080, },
                  PixelAspect = Input { Value = { 1, 1 }, },
                  UseFrameFormatSettings = Input { Value = 1, },
                  ClippingMode = Input { Value = FuID { "None" }, },
                  Center = Input { Value = { 0.509940357852883, 0.53886925795053 }, },
                  Polyline = Input {
                     Value = BSplinePolyline {
                        Closed = true,
                        Points = {
                           { X = -0.147830274072819, Y = 0.300043108234326 },
                           { X = 0.301494566902122, Y = 0.373490395354761 },
                           { X = 0.308549947714958, Y = 0.354026374401547 },
                           { X = 0.308822739240234, Y = -0.0281150597963461 },
                           { X = 0.286577830315405, Y = -0.595889695172531 },
                           { X = 0.258798724258799, Y = -0.680912497930205 },
                           { X = -0.111358873784321, Y = -0.678631378875659 },
                           { X = -0.132458884943974, Y = -0.585778854757908 },
                           { X = -0.156964656964657, Y = -0.079381200890903 },
                           { X = -0.154885654885655, Y = 0.272695505639994 }
                        },
                        Order = 4,
                        Type = "Tensioned",
                        Knots = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }
                     },
                  },
                  Polyline2 = Input {
                     Value = BSplinePolyline {
                        Order = 4,
                        Type = "Tensioned",
                        Knots = { }
                     },
                     Disabled = true,
                  },
               },
               ViewInfo = OperatorInfo { Pos = { 275, 82.5 } },
            }
         },
      }
   },
   ActiveTool = "PrismGlowPaperStill"
}
Offline

Sander de Regt

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

Re: Fusion comp won't stretch

PostMon Mar 04, 2024 9:15 pm

Is this in Resolve or Fusion standalone?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

EthicalEgret

  • Posts: 23
  • Joined: Mon May 29, 2023 10:34 pm
  • Real Name: Robert Christian

Re: Fusion comp won't stretch

PostTue Mar 05, 2024 3:49 am

Sander de Regt wrote:Is this in Resolve or Fusion standalone?


The disappearing is visible in Fusion, but the goal is to make this a clip that can stretch to whatever length needed, in Resolve.
Offline

Sander de Regt

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

Re: Fusion comp won't stretch

PostTue Mar 05, 2024 8:17 am

If it's a still image the easiest way is to add a Timespeed right after the loader with speed set to 0.
Or as an alternative a TimeStretcher set to the frame number you want to freeze.
This should make sure that the loader always has an output.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

EthicalEgret

  • Posts: 23
  • Joined: Mon May 29, 2023 10:34 pm
  • Real Name: Robert Christian

Re: Fusion comp won't stretch

PostSat Mar 23, 2024 5:53 am

Sander de Regt wrote:If it's a still image the easiest way is to add a Timespeed right after the loader with speed set to 0.
Or as an alternative a TimeStretcher set to the frame number you want to freeze.
This should make sure that the loader always has an output.


Thanks so much for this info, this appears to have fixed the problem.

Although, placing a Timespeed node right after the Loader node was not enough by itself, so I also placed one after the Renderer3D node and one right before the MediaOut node. I'm not sure which of these is necessary because I haven't taken the time to debug it yet, but I will eventually.

Any idea why these additional nodes are helping? I wish I understood the cause of the problem.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 42 guests