Jump to: Board index » General » Fusion

How to rotate item for duration of clip?

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

rsf123

  • Posts: 434
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

How to rotate item for duration of clip?

PostMon Jun 24, 2019 7:44 am

If I paste a PNG graphics file, I know how to make it rotate -- go to the Inspector, in the Transform window, click to make the diamond red, and change the angle etc. etc.

However, if the clip is, say, 10 minutes long, the result of the above method is to cause the entire rotation to occur spanning the duration of 10 minutes.

Instead, what I want to achieve is to get the graphic image to continuously rotate for the entire duration of the clip, e.g. 10 minutes.

How can that be done?
Offline
User avatar

Sergey Mirontsev

  • Posts: 256
  • Joined: Sun Mar 12, 2017 9:18 am
  • Location: Moscow, Russia

Re: How to rotate item for duration of clip?

PostMon Jun 24, 2019 10:51 am

By expression.
Code: Select all
time * speed
(time * 1.5 at example)

exp01.png
exp01.png (10.08 KiB) Viewed 3944 times
Blackmagic Design Certified Master Trainer

Blackmagic Pocket Cinema Camera (Samyang 12mm Cine, 35mm Cine)
DaVinci Resolve Studio 17.4.4.0007
Speed Editor 1.4.1
Windows 10 Pro 21H1, i7-7700, 32Gb RAM, SSD, GeForce GTX 1080 Ti 11Gb (471.68 Studio)
Offline

rsf123

  • Posts: 434
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: How to rotate item for duration of clip?

PostMon Jun 24, 2019 4:01 pm

Thanks, but that field that appears below the angle dial, I cannot locate that either in the Edit tab or the Fusion tab. I thought it would be in the Edit tab since I am manipulating a PNG file?

Not sure how to use code, since I'm a newbie. I tried copying and pasting it in, but did not seem to produce an effect.
Offline
User avatar

Bryan Ray

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

Re: How to rotate item for duration of clip?

PostMon Jun 24, 2019 5:20 pm

To set up a control to use an expression, right-click the label and choose "Expression." The expression field will appear. You can also type and equals sign ( = ) into the numeric field, and that will also activate the expression.

If you want to connect a control to another control, you can drag the '+' button to the other control, and its name will appear in the field, much like the pick whip in After Effects, if you've ever done expressions there.

Note that you will no longer be able to scrub the control to set its value—it will be controlled only be the math formula in the expression.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

rsf123

  • Posts: 434
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: How to rotate item for duration of clip?

PostTue Jun 25, 2019 7:29 am

Hi, I'm really new at video editing, so when you say "right-click the label", it's not clear to me what is the "label".

I had a go right-clicking everything I could think of as being a label, but didn't come up with the menu item you said. I even searched the Davinci Resolve Manual for the word "label", but didn't figure it out.
Offline
User avatar

Bryan Ray

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

Re: How to rotate item for duration of clip?

PostTue Jun 25, 2019 3:53 pm

The label is the visible text name of the control. In this case, just right-click "Angle", and you'll get a context menu. "Expression" is the last item in the menu.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

rsf123

  • Posts: 434
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: How to rotate item for duration of clip?

PostThu Jun 27, 2019 1:08 pm

Bryan Ray wrote:The label is the visible text name of the control. In this case, just right-click "Angle", and you'll get a context menu. "Expression" is the last item in the menu.


I tried that. In the Edit tab, my attempt at right-clicking the words ROTATIONAL ANGLE in the Inspector/Transfor panel does not cause a menu or anything to change.
Attachments
test.jpg
test.jpg (29.12 KiB) Viewed 3834 times
Offline

Sander de Regt

  • Posts: 3586
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: How to rotate item for duration of clip?

PostThu Jun 27, 2019 1:49 pm

Right. You're posting this in the Fusion forum, not the Resolve-Fusion page forum, so most people assumed you were asking a Fusion or Fusion page related question. The inspector you're referring to is on the Edit-page, so it won't perform any Fusion-functionality. So I guess you were in the wrong (sub)forum all along.
If you want to do it in the Edit-page I can't help you, since I don't know too much about Resolve.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

iddos-l

  • Posts: 799
  • Joined: Sat Mar 30, 2019 7:55 pm
  • Real Name: iddo lahman

Re: How to rotate item for duration of clip?

PostThu Jun 27, 2019 2:21 pm

I can’t think of a good way to do what you are asking in the edit inspector menu.

If you’d asked that on the resolve sub forum I would probably point you to fusion for a solution.

So maybe you ought to think of doing it in the fusion page using a transform.
You already have the answers right here.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 61 guests