ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Quick question about expression

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Maxime Marquis
Quick question about expression
on Aug 25, 2009 at 3:50:44 pm

Hi,

I'm color correcting a music video which mainly consists in two different scenes intercutted (the band playing and a fiction part, I know how original!). All the edited footage is in one sequence.

I used an adjustment layer with the appropriate corrections and keyframed the opacity (0 or 100) so it fits with one of the scene (the band). Now I want to do the same with another adjustment layer for the other scene(fiction). The opacity will be the exact opposite of the first layer. (0 when 100, 1 when 99...). What expression can I use so I won't have to keyframe the second adjustment layer?

Thanks in advance


Return to posts index

Jon Geddes
Re: Quick question about expression
on Aug 25, 2009 at 4:44:51 pm

Just create an expression for the opacity of adjustment_layer_2 that says:

100 - opacity of adjustment_layer_1

obviously you will have to enter the proper syntax but I'm assuming you just wanted to know the logistics of the expression.

Jon Geddes
http://www.precomposed.com


Return to posts index

Maxime Marquis
Re: Quick question about expression
on Aug 26, 2009 at 2:21:43 am

Thanks guys, I tried Jon's way and it worked perfectly. Saved me a lot of time!


Return to posts index


Roland R. Kahlenberg
Re: Quick question about expression
on Aug 25, 2009 at 5:03:04 pm

The Interpolation method works well here.

Apply the following expression to the second Adjustment Layer's opacity property. Stuff in [ ... ] are instructions for you to follow.

//Start script
AdjOpq = [pickwhip to the first Adjustment Layer's opacity];
linear(AdjOpq,0,100,100,0)
//End Script

HTH
RoRK

broadcastGEMs - AEPro Volume 02 (Professional Adobe After Effects Project Files - Now Available).

Adobe After Effects Training in South East Asia.


Return to posts index

Jon Geddes
Re: Quick question about expression
on Aug 25, 2009 at 5:05:22 pm

That would also work.

Jon Geddes
http://www.precomposed.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]