FORUMS: list search recent posts

Opacity fade in / out

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Olly Bea
Opacity fade in / out
on Nov 29, 2010 at 12:16:07 pm

Is there a expression so I don't need to keyframe in a 10 frame opacity fade in / out which is controlled by the layers in / out point.

What I am trying to achieve is that whenever I change the layers in / out point it will always fade in for 10 frames and fade out for 10 frames at the given start point / end point. I know its lazy but it sure would speed me up!

Many thanks

Olly



Return to posts index

Olly Bea
Re: Opacity fade in / out
on Nov 29, 2010 at 12:45:51 pm

Just found this, which is exactly what I need:

fadeInTime = .5; // fade in time (seconds)
fadeOutTime = .5;

Math.min(linear(time,inPoint,inPoint + fadeInTime,0,100),linear(time,outPoint - fadeOutTime,outPoint,100,0))


PERFECT!



Return to posts index

Karl Dreyer
Re: Opacity fade in / out
on Dec 9, 2010 at 9:16:34 am

Hi, your solution sounds great - but is related to in / outpoint. I´d need this smooth changes whenever an object randomely meets a moving hotspot. Any idea how to start it independently from in / outpoint?


Return to posts index

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