Page 1 of 1

Why doesn't this expression work?

PostPosted: Thu Oct 06, 2016 7:51 pm
by Borek Lupoměský
I use expression:
Code: Select all
time/(GlobalOut-GlobalIn)

To convert clip's frame range to value falling into interval <0;1>. For some reason Fusion refuses to take the result for Width, Height etc. When I have it display it with Text() in Text+, it displays correct results. What's wrong with it?

Re: Why doesn't this expression work?

PostPosted: Thu Oct 06, 2016 9:05 pm
by Chad Capeland
Where are you using it for Width and Height?

Re: Why doesn't this expression work?

PostPosted: Fri Oct 07, 2016 7:52 am
by Borek Lupoměský
Chad Capeland wrote:Where are you using it for Width and Height?

I am using it in Mask node (Mask Ellipse)... which I just realized is the problem. Mask nodes do not have GlobalIn/GlobalOut. I have to reference the parent node. Problem solved, sorry about not figuring this earlier.