Well. You're pretty close already.
Just don't put the video you're transitioning to in the 3D world.
(maybe don't even use the video you're coming from either)
Instead of the video you're going into, you want that part to be transparent.
So set the matte property of your image plane to 'is matte' this will create a hole in your render.
You can then use this hole to make the transition in 2D.
If you copy/paste the following code in your Fusion node area, you will see what I did there.
- Code: Select all
{
Tools = ordered() {
Merge3D1 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "Shape3D1",
Source = "Output",
},
SceneInput2 = Input {
SourceOp = "ThisShapeRendersTransparent",
Source = "Output",
},
SceneInput3 = Input {
SourceOp = "Camera3D1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 495, 82.5 } },
},
ThisShapeRendersTransparent = Shape3D {
NameSet = true,
Inputs = {
["Transform3DOp.Translate.Z"] = Input { Value = 0.16, },
["Transform3DOp.Scale.X"] = Input { Value = 0.564, },
["MtlStdInputs.MaterialIDNest"] = Input { Value = 1, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfacePlaneInputs.Matte.Nest"] = Input { Value = 1, },
["SurfacePlaneInputs.Matte.IsMatte"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 220, 82.5 } },
},
Camera3D1 = Camera3D {
NameSet = true,
CustomData = {
Settings = {
[1] = {
Tools = ordered() {
Camera3D1 = Camera3D {
Inputs = {
ApertureW = Input { Value = 0.831496062992126 },
AoV = Input { Value = 19.2642683071402 },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 },
ApertureH = Input { Value = 0.467716535433071 },
FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" } },
["MtlStdInputs.MaterialID"] = Input { Value = 1 }
},
Name = "Camera3D1",
CtrlWZoom = false,
NameSet = true,
ViewInfo = OperatorInfo { Pos = { 550, 214.5 } },
CustomData = {
}
}
}
},
[6] = {
Tools = ordered() {
Camera3D1 = Camera3D {
Inputs = {
FLength = Input { Value = 49.0568334445481 },
["Transform3DOp.Translate.Z"] = Input { Expression = "self.ImageInput.Metadata.Translate.Z" },
ImagePlaneEnabled = Input { Value = 0 },
AoV = Input {
Value = 19.2642683071402,
Expression = "self.ImageInput.Metadata.RSCameraFOV or self.ImageInput.Metadata['rs/camera/fov']"
},
AovType = Input { Value = 1 },
["Transform3DOp.Rotate.Y"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Y" },
ApertureH = Input { Value = 0.9 },
FilmGate = Input { Value = FuID { "HD" } },
["Transform3DOp.Rotate.X"] = Input { Expression = "self.ImageInput.Metadata.Rotate.X" },
["Transform3DOp.Translate.X"] = Input { Expression = "self.ImageInput.Metadata.Translate.X" },
PlaneOfFocus = Input { Expression = "self.ImageInput.Metadata.RSCameraDOFFocusDistance or self.ImageInput.Metadata['rs/camera/DOFFocusDistance']" },
FilmBack = Input { Value = 1 },
["Transform3DOp.Rotate.RotOrder"] = Input { Value = FuID { "ZXY" } },
["MtlStdInputs.MaterialID"] = Input { Value = 1 },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" } },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1 },
["Transform3DOp.Translate.Y"] = Input { Expression = "self.ImageInput.Metadata.Translate.Y" },
ApertureW = Input { Value = 1.6 },
["Transform3DOp.Rotate.Z"] = Input { Expression = "self.ImageInput.Metadata.Rotate.Z" }
},
CtrlWZoom = false,
NameSet = true,
ViewInfo = OperatorInfo { Pos = { 387, 145 } },
CustomData = {
}
}
}
}
}
},
Inputs = {
["Transform3DOp.Translate.X"] = Input { Value = 1.0792468, },
["Transform3DOp.Translate.Y"] = Input { Value = 0.8999921, },
["Transform3DOp.Translate.Z"] = Input { Value = 4.0779169, },
["Transform3DOp.Rotate.X"] = Input { Value = -11.8000001907349, },
["Transform3DOp.Rotate.Y"] = Input { Value = 14.1999998092651, },
AoV = Input { Value = 16.8421470342172, },
FLength = Input { Value = 18.2123442718302, },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
FilmBack = Input { Value = 1, },
FilmGate = Input { Value = FuID { "HD" }, },
ApertureW = Input { Value = 0.3775, },
ApertureH = Input { Value = 0.2123, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 440, 16.5 } },
},
Shape3D1 = Shape3D {
Inputs = {
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 220, 16.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 = { 715, 82.5 } },
},
Note1 = Note {
CtrlWZoom = false,
Inputs = {
Comments = Input { Value = "This shape has its matte property set to 'is matte' which forces the renderer 3D to render this part of the image transparant.", }
},
ViewInfo = StickyNoteInfo {
Pos = { 220, 115.5 },
Flags = {
Expanded = true
},
Size = { 196, 181.364 }
},
}
}
}