Expressions/Scripts/Presets

Moderators: Disciple, zlovatt

 
Rob.S
Topic Author
Posts: 1
Joined: Mon Sep 21, 2015 1:28 pm

Opacity Driven By Scale

Tue Sep 22, 2015 7:09 am

Hi guys,

What seems to be a simple task is driving me crazy and for the life of me I can not get this functioning how I want it to.

So to jump into things, I have a background pattern, that I have chopped up into individual icons, and their scale is being driven by a separate comp as a gradient wipes through them.

Image
Image


My intention is to have the icons be at 15% and increase to around 40/45% as the gradient wipes over it (Similar to the scale) but I can't seem to get it working properly. I have also tried parenting the opacity to the scale and attempted to clamp the values to a min/max that I want with little to no luck.

Image

Any help would be greatly appreciated as I've been racking my brain over this and I feel like this should be a simple thing unless there's something I'm missing. I can provide further info. if needed just let me know.

Thanks in advance all!
-Rob
 
JordieC
Posts: 4
Joined: Tue Jan 17, 2012 6:30 am

Re: Opacity Driven By Scale

Thu Sep 01, 2016 3:05 am

Not sure if this helps.

But maybe a work around works;

Pre-comp the (animated scaled) icons. turn the icons opacity in the pre-comp to 100%.
Go back to your main comp containing the gradient wipe. Lower the Pre-Comp's opacity to 15%.

Duplicate the gradient wipe effect and the Pre-Comp.
Change the duplicated Pre-Comp's opacity from 15% to 45%.

Use the gradient wipe effect as a track matte to reveal the duplicated pre-comp (45%) and to hide the original pre-comp (15%).

hope it works.

Who is online

Users browsing this forum: No registered users and 2 guests