Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions trigger an effect

  • Posted by Spaceman —> on March 19, 2009 at 1:00 pm

    Hope i’m not double posting. Apologies if i am…
    My question is.
    How would you trigger an effect (expression) using the luminance change of a footage clip? For example, if i had footage of waves breaking, how would i use the change to white of the waves to trigger an effect??
    thanks in advance.

    the chairman

    Spaceman —> replied 17 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 19, 2009 at 3:49 pm

    You should be able to use sampleImage() to detect the color change. If you’re triggering a time-based effect, your expression will need to go back through time, frame-by-frame until you find the most recent frame where the color transitioned to the target color. That will tell you how far into the effect you should be at the current frame. Also, the smaller you can make the sample size, the faster it will render.

    Dan

  • Spaceman —>

    March 20, 2009 at 9:24 am

    thank you for your time and thought Dan.
    the chairman

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy