Igor Riđanović wrote:You can do this in the edit page using the inspector or in the color page using sizing. Both are very clunky and hard to control. Fusion page is superb for this kind of work. You can use the transform node and control the motion very precisely with curves. To get started you can copy and paste this comp into the Fusion node area.
- Code: Select all
{
Tools = ordered() {
YourImageHere = GroupOperator {
CtrlWZoom = false,
NameSet = true,
Outputs = {
Output1 = InstanceOutput {
SourceOp = "Merge1",
Source = "Output",
}
},
ViewInfo = GroupInfo {
Pos = { 72, 32.3 },
Flags = {
AllowPan = false,
AutoSnap = true,
RemoveRouters = true
},
Size = { 236, 118.3, 118, 22 },
Direction = "Horizontal",
PipeStyle = "Direct",
Scale = 1,
Offset = { -72, -32.3 }
},
Tools = ordered() {
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Plasma1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 127, 97 } },
},
Background1 = Background {
Inputs = {
GlobalOut = Input { Value = 80, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { 17, 97 } },
},
Plasma1 = Plasma {
Inputs = {
GlobalOut = Input { Value = 80, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { 33, 43 } },
}
},
},
Transform1 = Transform {
Inputs = {
Center = Input {
SourceOp = "XYPath1",
Source = "Value",
},
Size = Input {
SourceOp = "Transform1Size",
Source = "Value",
},
Input = Input {
SourceOp = "Merge1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 322, 89 } },
},
XYPath1 = XYPath {
ShowKeyPoints = false,
DrawMode = "ModifyOnly",
Inputs = {
X = Input {
SourceOp = "XYPath1X",
Source = "Value",
},
Y = Input {
SourceOp = "XYPath1Y",
Source = "Value",
},
},
},
XYPath1X = BezierSpline {
SplineColor = { Red = 255, Green = 0, Blue = 0 },
NameSet = true,
KeyFrames = {
[0] = { 0.5, RH = { 26.6666666666667, 0.5 } },
[80] = { 0.60941475826972, LH = { 53.3333333333333, 0.60941475826972 } }
}
},
XYPath1Y = BezierSpline {
SplineColor = { Red = 0, Green = 255, Blue = 0 },
NameSet = true,
KeyFrames = {
[0] = { 0.5, RH = { 26.6666666666667, 0.5 } },
[80] = { 0.364253393665158, LH = { 53.3333333333333, 0.364253393665158 } }
}
},
Transform1Size = BezierSpline {
SplineColor = { Red = 225, Green = 0, Blue = 225 },
NameSet = true,
KeyFrames = {
[0] = { 1, RH = { 26.6666666666667, 1 } },
[80] = { 1.547, LH = { 53.3333333333333, 1.547 } }
}
}
}
}
Thanks for this - I stumbled over this recently and it does exactly what I also was looking for.
Quick question to you or anyone that may be able to help:
When I apply this in the Fusion page to a clip, it works fine and does exactly what I want it to do, same if I create a Macro from it. ... BUT
When I apply it as an Effect from the Edit page, it zooms the clip window in/out rather than just the content within the clip window. (As if I was applying a dynamic zoom effect, or keying a manual transform->zoom).
I understand this may be something to do with the order of operations?
Does anyone know how I can apply this as an Effect but have it zoom only the content not the clip itself?
Many Thanks