Jump to: Board index » General » Fusion

Credit Roll expression

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

Glenn Sakatch

  • Posts: 661
  • Joined: Sat Apr 13, 2013 5:36 pm

Credit Roll expression

PostThu Oct 19, 2017 10:15 pm

I'm trying to do a credit roll in Fusion using a single tif.

In the past I would go to Avid DS and use a technique where you set a keyframe at frame 1, jump ahead 1 frame and move the graphics elements up by a specific number of pixels, usually 4,6 or 8, depending on the speed needed.

I could then go into my spline editor and tell DS to extrapolate that movement over an endless amount of time. I think it was called gradient extrapolation.
This would guarantee that the text always was moving in even numbered pixels per frame, and would give very smooth rolls.

I'm wondering if anyone can devise an expression in Fusion to add to a transform node, to move at a certain number of pixels per frame.

Glenn
Offline

Okke Verbart

  • Posts: 290
  • Joined: Tue Jan 17, 2017 8:40 pm

Re: Credit Roll expression

PostFri Oct 20, 2017 7:30 am

Hi Glenn - maybe something like below?

In here it moves 10px per frame for a 1080 sized frame, with the expression below:

Point(0.5, -0.5+(time*(1/1080)*10))

Obviously, change it to your liking :-)


Code: Select all
{
   Tools = ordered() {
      Transform1 = Transform {
         CtrlWZoom = false,
         Inputs = {
            Center = Input {
               Value = { 0.5, -0.5 },
               Expression = "Point(0.5, -0.5+(time*(1/1080)*10))",
            },
            Input = Input {
               SourceOp = "Text1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 280, 15.5 } },
      },
      Text1 = TextPlus {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Font = Input { Value = "Open Sans", },
            StyledText = Input { Value = "Scrolling Text\nScrolling Text\nScrolling Text\nScrolling Text\nScrolling Text\nScrolling Text\nScrolling Text\nScrolling Text\n", },
            Style = Input { Value = "Bold", },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            ShadingGradient1 = Input {
               Value = Gradient {
                  Colors = {
                     [0] = { 0, 0, 0, 1 },
                     [1] = { 1, 1, 1, 1 }
                  }
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 55, 16.5 } },
      }
   }
}
www.ablackbirdcalledsue.com
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Credit Roll expression

PostFri Oct 20, 2017 9:08 am

Or do the same as in DS. Animate the transform and go in the spline editor and set "gradient extrapolation" on the key frame

In the transform you can also adjust exact Pixel values if you set the "reference size" to your image format
Offline
User avatar

Glenn Sakatch

  • Posts: 661
  • Joined: Sat Apr 13, 2013 5:36 pm

Re: Credit Roll expression

PostFri Oct 20, 2017 2:56 pm

Excellent!
Thanks

Return to Fusion

Who is online

Users browsing this forum: No registered users and 54 guests