Jump to: Board index » General » Fusion

Is creating Macros for varying frame rates customary?

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

cyberfyber

  • Posts: 39
  • Joined: Wed Mar 03, 2021 4:56 am
  • Real Name: Luis Diaz

Is creating Macros for varying frame rates customary?

PostSat May 01, 2021 10:19 pm

Hi,

is it customary to create varying versions of a macro for the sake of varying framerates?

I ask just in case I'm missing something and there's a quick fix I'm not aware of.

Didn't think I'd need to explain further but just in case:

Say a fusion composition at 24 fps (as a macro) used in a comp that's 29.97 fps or 59.94 fps.

Thanks.
DR 18 Studio
Win 11 / Ryzen 5 5950x / B550 Tomahawk / 128 GB Ram / 2 x m.2 nvme drives / 1 x HDD / 1 x SSD / EVGA 850w / RTX 3070TI
Offline
User avatar

Bryan Ray

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

Re: Is creating Macros for varying frame rates customary?

PostSun May 02, 2021 3:58 am

Depends on what's in the macro, of course. Fusion doesn't actually care much about framerate, but if you have an animation that's supposed to take 1 second in the macro, regardless of the framerate, then you'll need to have some kind of control over it. Personally, I'd wouldn't prefer variant macros for different rates. I'd probably design in such a way as to give the end user the ability to choose the rate in the Inspector, and then the internals adjust to accommodate.

But I've only made macros that care about time maybe twice. Mostly what I trip over is adapting to image dimensions.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

cyberfyber

  • Posts: 39
  • Joined: Wed Mar 03, 2021 4:56 am
  • Real Name: Luis Diaz

Re: Is creating Macros for varying frame rates customary?

PostSun May 02, 2021 6:55 pm

Bryan Ray wrote:Personally, I'd wouldn't prefer variant macros for different rates. I'd probably design in such a way as to give the end user the ability to choose the rate in the Inspector, and then the internals adjust to accommodate.


Ya mean there's a way to save that in the Macro settings? I'm looking but don't see it.
That'd be nice otherwise.
DR 18 Studio
Win 11 / Ryzen 5 5950x / B550 Tomahawk / 128 GB Ram / 2 x m.2 nvme drives / 1 x HDD / 1 x SSD / EVGA 850w / RTX 3070TI
Offline

John Holt

  • Posts: 197
  • Joined: Sat Mar 02, 2019 8:54 pm
  • Real Name: John Holt

Re: Is creating Macros for varying frame rates customary?

PostSun May 02, 2021 7:06 pm

Hello

When I have this arise I add an expression "comp:GetPrefs("Comp.FrameFormat.Rate"))" to get the fps of the timeline that way it recalculates.

Check out my post and you might get a few ideas. https://another-davinci-resolve-blog.bl ... sions.html
Windows 10 Pro
AMD Ryzen 5 3600 6-Core Processor 3.60 GHz
64GB RAM
GTX1650 4GB :(
Samsung SSD 970 EVO Plus 1TB 1000.2 GB
Dual Monitors 32" & 27" Samsung
BM Multidock
Speed Editor
DR Studio Latest Version Fusion Studio Latest Version
Offline

cyberfyber

  • Posts: 39
  • Joined: Wed Mar 03, 2021 4:56 am
  • Real Name: Luis Diaz

Re: Is creating Macros for varying frame rates customary?

PostSun May 02, 2021 11:38 pm

John Holt wrote:Hello

When I have this arise I add an expression "comp:GetPrefs("Comp.FrameFormat.Rate"))" to get the fps of the timeline that way it recalculates.

Check out my post and you might get a few ideas. https://another-davinci-resolve-blog.bl ... sions.html


Excellent! Thanks for sharing all of that John!
Makes me wish I'd never forgotten my trig.

Will try out your suggestion and report back. :D
DR 18 Studio
Win 11 / Ryzen 5 5950x / B550 Tomahawk / 128 GB Ram / 2 x m.2 nvme drives / 1 x HDD / 1 x SSD / EVGA 850w / RTX 3070TI
Offline
User avatar

Bryan Ray

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

Re: Is creating Macros for varying frame rates customary?

PostMon May 03, 2021 3:25 am

cyberfyber wrote:
Bryan Ray wrote:Personally, I'd wouldn't prefer variant macros for different rates. I'd probably design in such a way as to give the end user the ability to choose the rate in the Inspector, and then the internals adjust to accommodate.


Ya mean there's a way to save that in the Macro settings? I'm looking but don't see it.
That'd be nice otherwise.


If you add a User Control to one of the tools in the macro, it will show up in the Macro Builder interface. But to be honest, I very seldom use that thing. It's too limiting and fiddly.

This thread at WSL will turbocharge your macro-building skills:
https://www.steakunderwater.com/wesuckl ... f=6&t=1581
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

cyberfyber

  • Posts: 39
  • Joined: Wed Mar 03, 2021 4:56 am
  • Real Name: Luis Diaz

Re: Is creating Macros for varying frame rates customary?

PostMon May 03, 2021 3:50 pm

Bryan Ray wrote:If you add a User Control to one of the tools in the macro, it will show up in the Macro Builder interface. But to be honest, I very seldom use that thing. It's too limiting and fiddly.

This thread at WSL will turbocharge your macro-building skills:
https://www.steakunderwater.com/wesuckl ... f=6&t=1581


Awesome! Thanks again Bryan!
DR 18 Studio
Win 11 / Ryzen 5 5950x / B550 Tomahawk / 128 GB Ram / 2 x m.2 nvme drives / 1 x HDD / 1 x SSD / EVGA 850w / RTX 3070TI
Offline

cyberfyber

  • Posts: 39
  • Joined: Wed Mar 03, 2021 4:56 am
  • Real Name: Luis Diaz

Re: Is creating Macros for varying frame rates customary?

PostTue May 04, 2021 4:22 am

John Holt wrote:When I have this arise I add an expression "comp:GetPrefs("Comp.FrameFormat.Rate"))" to get the fps of the timeline that way it recalculates.

Check out my post and you might get a few ideas. https://another-davinci-resolve-blog.bl ... sions.html


Hello again John.
Well, tried it out and didn't get too far in deciphering how to apply it to my needs.
Tried incorporating it into a TimeStretcher and didn't get anywhere. Couldn't think of where else to use it with my limited knowledge thus far; and not to say that I was even barking up the right tree with that one. lol.

BUT, because of all that, I discovered KeyFrame Stretcher which worked perfectly. With my animation macros set at 24 fps they could only be stretched out thus accommodating other frame rates.

and so, that worked nicely. :-)
DR 18 Studio
Win 11 / Ryzen 5 5950x / B550 Tomahawk / 128 GB Ram / 2 x m.2 nvme drives / 1 x HDD / 1 x SSD / EVGA 850w / RTX 3070TI
Offline

les3783

  • Posts: 5
  • Joined: Mon Oct 24, 2022 1:31 pm
  • Real Name: Alexey Gubchenko

Re: Is creating Macros for varying frame rates customary?

PostThu Nov 10, 2022 1:04 pm

cyberfyber wrote:BUT, because of all that, I discovered KeyFrame Stretcher which worked perfectly. With my animation macros set at 24 fps they could only be stretched out thus accommodating other frame rates.

and so, that worked nicely. :-)

Hey, could you please explain that? I assume you were trying to make animation responsive to timeline frame rate, right? So 1second animation is always 1second, no matter what the timeline frame rate. Did you figured out how to do it?

Return to Fusion

Who is online

Users browsing this forum: No registered users and 41 guests