Expression formula

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

huntelaar

  • Posts: 2
  • Joined: Fri Mar 19, 2021 11:56 am
  • Real Name: milo hunt

Expression formula

PostFri Mar 19, 2021 5:38 pm

Hi all,

How do you get suffix and prefix words and animation duration on this formula expression:

Text(floor(time^2*100/comp.RenderEnd^2))

I need a word "more than" and a sign "+" at the end so it looks like this:
"More than 100+"

What I'm trying to do is have a counter up to a certain number with both prefix/suffix for adding words and duration of animation, so I can re-use it every time I need something similar.
Thanks
Offline

Kenzo

  • Posts: 426
  • Joined: Sat May 04, 2013 6:04 pm
  • Location: Poland
  • Real Name: Eryk Rogozinski

Re: Expression formula

PostFri Mar 19, 2021 7:06 pm

Text("More than "..floor(time^2*100/comp.RenderEnd^2).."+")
Eryk Rogozinski
www.art-fx.eu
Offline

huntelaar

  • Posts: 2
  • Joined: Fri Mar 19, 2021 11:56 am
  • Real Name: milo hunt

Re: Expression formula

PostMon Mar 22, 2021 10:24 pm

Kenzo wrote:Text("More than "..floor(time^2*100/comp.RenderEnd^2).."+")


Thank you, do you also know hoc can I set custom counter/animation duration? If I need it to count to 100 or 1000 in 4 seconds?

Return to DaVinci Resolve

Who is online

Users browsing this forum: RedRider14 and 238 guests