- Posts: 37
- Joined: Mon Mar 09, 2015 4:55 pm
Sorry, noob here.
I like to make a flat type of scene, where a box that rotates reveals a logo projected onto it. First, an empty site of the box is alingned with the wall, so one cannot see it. Then the box rotates and reveals the logo. At the end the logo side of the box is alinged to the wall, so no border is visible.
Got the wall, got the box, got the rotation. But how to cut the wall, so that the box is fully visible while rotating?
Thought I can make a copy of the rotating box and use it as a matte for the wall. Unfortunately it is not only "matting" the wall but also the rotating box.
Difficult to explain. Hope the images help.
I like to make a flat type of scene, where a box that rotates reveals a logo projected onto it. First, an empty site of the box is alingned with the wall, so one cannot see it. Then the box rotates and reveals the logo. At the end the logo side of the box is alinged to the wall, so no border is visible.
Got the wall, got the box, got the rotation. But how to cut the wall, so that the box is fully visible while rotating?
Thought I can make a copy of the rotating box and use it as a matte for the wall. Unfortunately it is not only "matting" the wall but also the rotating box.
Difficult to explain. Hope the images help.
- Matte_1.png (23.43 KiB) Viewed 1065 times
- Matte_2.png (32.47 KiB) Viewed 1065 times
- Matte_3.png (111.58 KiB) Viewed 1065 times
- Code: Select all
{
Tools = ordered() {
Shape3D1_1 = Shape3D {
Inputs = {
SceneInput = Input {
SourceOp = "Shape3D1_2",
Source = "Output",
},
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfacePlaneInputs.Matte.Nest"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.Nest"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, }
},
ViewInfo = OperatorInfo { Pos = { 757, 104 } },
},
Shape3D1 = Shape3D {
Inputs = {
["Transform3DOp.Translate.Z"] = Input { Value = -0.25, },
["Transform3DOp.Rotate.X"] = Input {
SourceOp = "Shape3D1XRotation",
Source = "Value",
},
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["SurfaceCubeInputs.Width"] = Input { Value = 0.5, },
["SurfaceCubeInputs.Matte.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 899, 104 } },
},
Shape3D1XRotation = BezierSpline {
SplineColor = { Red = 255, Green = 128, Blue = 128 },
NameSet = true,
KeyFrames = {
[0] = { 0, RH = { 20, 30 }, Flags = { Linear = true } },
[60] = { 90, LH = { 40, 90 } }
}
},
Shape3D1_2 = Shape3D {
CtrlWZoom = false,
Inputs = {
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
["Transform3DOp.Translate.Z"] = Input { Value = -0.0633223161795296, },
["Transform3DOp.Rotate.X"] = Input { Value = 90, },
["Transform3DOp.ScaleLock"] = Input { Value = 0, },
["Transform3DOp.Scale.Y"] = Input { Value = 0.291, },
Shape = Input { Value = FuID { "SurfaceCubeInputs" }, },
["MtlStdInputs.MaterialID"] = Input { Value = 1, },
["SurfaceCubeInputs.Width"] = Input { Value = 0.5, },
["SurfaceCubeInputs.Visibility.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.Lighting.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.Matte.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.Matte.IsMatte"] = Input { Value = 1, },
["SurfaceCubeInputs.BlendMode.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.BlendMode.SW.Gain"] = Input { Value = 0, },
["SurfaceCubeInputs.Controls.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.Nest"] = Input { Value = 1, },
["SurfaceCubeInputs.ObjectID.ObjectID"] = Input { Value = 2, }
},
ViewInfo = OperatorInfo { Pos = { 587, 105 } },
},
SpotLight1 = LightSpot {
Inputs = {
["Transform3DOp.Translate.X"] = Input { Value = -0.221424994598323, },
["Transform3DOp.Translate.Y"] = Input { Value = 1.61410558943538, },
["Transform3DOp.Translate.Z"] = Input { Value = 0.404680242329843, },
["Transform3DOp.Rotate.X"] = Input { Value = -57.5092026772909, },
["Transform3DOp.Rotate.Y"] = Input { Value = 5.36662791855633, },
["Transform3DOp.Rotate.Z"] = Input { Value = 6.59118162281811, },
ConeAngle = Input { Value = 90, },
["ShadowLightInputs3D.Nest"] = Input { Value = 1, },
["ShadowLightInputs3D.ShadowMapSize"] = Input { Value = 2652, },
},
ViewInfo = OperatorInfo { Pos = { 1007, 13 } },
},
Camera3D1 = Camera3D {
Inputs = {
["Transform3DOp.Translate.Z"] = Input { Value = 3.48912863216175, },
AoV = Input { Value = 19.2642683071402, },
["Stereo.Mode"] = Input { Value = FuID { "OffAxis" }, },
FilmGate = Input { Value = FuID { "BMD_URSA_4K_16x9" }, },
ApertureW = Input { Value = 0.831496062992126, },
ApertureH = Input { Value = 0.467716535433071, },
ControlVis = Input { Value = 1, },
["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 3, },
["MtlStdInputs.MaterialID"] = Input { Value = 2, },
},
ViewInfo = OperatorInfo { Pos = { 1138, 13 } },
},
Renderer3D1 = Renderer3D {
CustomData = {
ToolVersion = 2,
},
Inputs = {
GlobalOut = Input { Value = 150, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
SceneInput = Input {
SourceOp = "Merge3D1_1",
Source = "Output",
},
RendererType = Input { Value = FuID { "RendererOpenGL" }, },
["RendererSoftware.LightingEnabled"] = Input { Value = 1, },
["RendererSoftware.ShadowsEnabled"] = Input { Value = 1, },
["RendererOpenGL.LightingEnabled"] = Input { Value = 1, },
["RendererOpenGL.ShadowsEnabled"] = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 1248, 208 } },
},
Merge3D1_1 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "Merge3D1",
Source = "Output",
},
SceneInput2 = Input {
SourceOp = "Camera3D1",
Source = "Output",
},
SceneInput3 = Input {
SourceOp = "SpotLight1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1075, 207 } },
},
Merge3D1 = Merge3D {
Inputs = {
SceneInput1 = Input {
SourceOp = "Shape3D1",
Source = "Output",
},
SceneInput3 = Input {
SourceOp = "Shape3D1_1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 789, 207 } },
}
}
}
noob