Page 1 of 1

Moving an object in Z space

PostPosted: Sat Dec 09, 2017 4:14 pm
by Mike Baranger
Hi, I'm just getting started working with Fusion 9. I'm coming from an After Effects environment, so I'm having a bit of a bumpy transition.

I am looking for a way to push an object in the scene back in Z space instead of simply scaling. The transform node only seems to let you translate X and Y. Similarly, how does one rotate an object (another video clip in this case) around the Y axis? Clearly there are simple answers to these questions, but they are lost on me.

Thanks for your help.

Re: Moving an object in Z space

PostPosted: Mon Dec 11, 2017 8:43 pm
by Sander de Regt
Hi Mike,

Welcome to Fusion and this forum.

In Fusion there is no such thing as a 'make 3D' button, like there is in After Effects.
Unless you specifically create a 3D Image Plane, all your effects will be in 2D.
You could use the DVE tool, but that is faux z-space and more of a legacy tool.
You can input your image into an Image Plane3D tool which will create an image in actual 3D space with all the controls needed to do your pushing back and rotation.

Code: Select all
{
   Tools = ordered() {
      FastNoise1 = FastNoise {
         Inputs = {
            GlobalOut = Input { Value = 500, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 165, 49.5 } },
      },
      DVE1 = DVE {
         CtrlWZoom = false,
         Inputs = {
            ZMove = Input { Value = 2.35, },
            YRotation = Input {
               Value = 255.6,
               Expression = "time*1.8",
            },
            Input = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
            Comments = Input { Value = "'fake Z space'", },
         },
         ViewInfo = OperatorInfo { Pos = { 440, 16.5 } },
      },
      ImagePlane3D1 = ImagePlane3D {
         CtrlWZoom = false,
         Inputs = {
            ["Transform3DOp.Rotate.Y"] = Input {
               Value = 255.6,
               Expression = "DVE1.YRotation",
            },
            ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
            MaterialInput = Input {
               SourceOp = "FastNoise1",
               Source = "Output",
            },
            ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
            Comments = Input { Value = "True Z-space", }
         },
         ViewInfo = OperatorInfo { Pos = { 440, 148.5 } },
      },
      Renderer3D1 = Renderer3D {
         CustomData = {
            ToolVersion = 2,
         },
         Inputs = {
            GlobalOut = Input { Value = 500, },
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            SceneInput = Input {
               SourceOp = "ImagePlane3D1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 605, 148.5 } },
      }
   }
}

Re: Moving an object in Z space

PostPosted: Thu Jan 04, 2018 4:54 pm
by Mike Baranger
Much as I thought, there was a simple solution and I just didn't know where to look. :)

Thanks so much for answering this. I just realized that I hadn't responded, the holidays hit me like a ton of bricks. :P