Jump to: Board index » General » Fusion

text+ write on word by word?

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

the_seraphim

  • Posts: 4
  • Joined: Fri Jul 20, 2018 12:55 am
  • Real Name: David McGowan

text+ write on word by word?

PostFri Jul 20, 2018 1:01 am

Hello,

I'm coming to fusion from After Effects and I can't for the life of me work out how to get write on to animate word by word instead of letter by letter, am I missing something obvious in settings or is there another way y'all get this done??

sorry if this is a stupid question.

Dave
Offline

Okke Verbart

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

Re: text+ write on word by word?

PostFri Jul 20, 2018 5:21 pm

Hey Dave - no such thing as a stupid question!

An easy way to accomplish this is by having a stair-step type keyframing. Have a look at the example below (copy and paste this into a new comp) and then play. You can see the text coming up word by word. Have a look at the spline graph to see how the keyframes were set.

Code: Select all
{
   Tools = ordered() {
      Text1 = TextPlus {
         CtrlWZoom = false,
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Font = Input { Value = "Open Sans", },
            StyledText = Input { Value = "word for word", },
            End = Input {
               SourceOp = "Text1End",
               Source = "Value",
            },
            Style = Input { Value = "Bold", },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 70, 136 } },
      },
      Text1End = BezierSpline {
         SplineColor = { Red = 72, Green = 233, Blue = 54 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, RH = { 4.66666666666667, 0 }, Flags = { Linear = true } },
            [14] = { 0, LH = { 9.33333333333333, 0 }, RH = { 14, 0.091 }, Flags = { Linear = true } },
            [15] = { 0.273, LH = { 14.6666666666667, 0.273 }, RH = { 15, 0.273 }, Flags = { StepOut = true } },
            [32] = { 0.273, LH = { 26.3333333333333, 0.273 }, RH = { 32, 0.350333333333333 }, Flags = { StepOut = true } },
            [33] = { 0.505, LH = { 32.6666666666667, 0.505 }, RH = { 33, 0.505 }, Flags = { StepOut = true } },
            [46] = { 0.505, LH = { 41.6666666666667, 0.505 }, RH = { 46, 0.67 }, Flags = { StepOut = true } },
            [47] = { 1, LH = { 46.6666666666667, 1 }, Flags = { StepOut = true } }
         }
      }
   },
   ActiveTool = "Text1"
}
www.ablackbirdcalledsue.com
Offline

the_seraphim

  • Posts: 4
  • Joined: Fri Jul 20, 2018 12:55 am
  • Real Name: David McGowan

Re: text+ write on word by word?

PostMon Jul 23, 2018 12:52 am

ok, that's the result I was looking for, thanks for the help...

I err, don't suppose there's a way to automate the stair step keying without having to manually edit the spline?


I suppose it could be a fun project to make a button for it if it doesn't, a little scripting to work out total character length, where the spaces are divide by target length for motion etc, fusion supports LUA scripting right?
Offline

Frank Feijen

  • Posts: 167
  • Joined: Tue Dec 13, 2016 10:04 am
  • Location: Vilvoorde, Belgium

Re: text+ write on word by word?

PostMon Jul 23, 2018 9:12 am

Depending on the kind of animation you want: another way woud be to use the follower-modifier.
Code: Select all
{
   Tools = ordered() {
      Text1 = TextPlus {
         CtrlWZoom = false,
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Font = Input { Value = "Open Sans", },
            StyledText = Input {
               SourceOp = "Follower1",
               Source = "StyledText",
            },
            Style = Input { Value = "Bold", },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
         },
         ViewInfo = OperatorInfo { Pos = { 220, 313.5 } },
      },
      Follower1 = StyledTextFollower {
         CtrlWZoom = false,
         Inputs = {
            Delay = Input { Value = 3, },
            Text = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = "word for word"
               },
            },
            SelectTransform = Input { Value = 1, },
            WordSizeX = Input {
               SourceOp = "Follower1WordSizeX",
               Source = "Value",
            },
            WordSizeY = Input {
               SourceOp = "Follower1WordSizeY",
               Source = "Value",
            },
         },
      },
      Follower1WordSizeX = BezierSpline {
         SplineColor = { Red = 227, Green = 36, Blue = 253 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
            [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
         }
      },
      Follower1WordSizeY = BezierSpline {
         SplineColor = { Red = 253, Green = 36, Blue = 205 },
         NameSet = true,
         KeyFrames = {
            [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
            [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
         }
      }
   }
}
Offline
User avatar

Bryan Ray

  • Posts: 2491
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: text+ write on word by word?

PostMon Jul 23, 2018 5:22 pm

the_seraphim wrote:I err, don't suppose there's a way to automate the stair step keying without having to manually edit the spline?


Sure, there are Step In and Step Out modes for keyframes. Select the keyframes you want to modify, and the row of buttons at the top of the Spline View frame that control interpolation will become available.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

the_seraphim

  • Posts: 4
  • Joined: Fri Jul 20, 2018 12:55 am
  • Real Name: David McGowan

Re: text+ write on word by word?

PostMon Jul 23, 2018 10:03 pm

Ok, that's helpful.

Ive been using the fusion integrated into resolve 15 so those buttons are missing, I might have to cut this piece up into media files and use fusion proper rather than the integral (or have a better look around at where things are haha)

thanks for your help
Offline

the_seraphim

  • Posts: 4
  • Joined: Fri Jul 20, 2018 12:55 am
  • Real Name: David McGowan

Re: text+ write on word by word?

PostMon Jul 23, 2018 10:05 pm

ok so they are there, I really need to remember to turn up the brightness on the monitor :(

Return to Fusion

Who is online

Users browsing this forum: No registered users and 61 guests