• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Linear wipe through multiple layers

New Here ,
Nov 13, 2014 Nov 13, 2014

Copy link to clipboard

Copied

Hi, I am trying to set up a project where by i can drop multiple stills images into a comp and have a linear wipe go through them one by one, all controlled by expressions.

similar to vfx breakdown's you get on Youtube

MPC Prometheus VFX breakdown! - YouTube

Being an intrepid novice to expressions I though "I can do that, no problem!"

So I have a comp with the images in it and another comp with the wipe effect in it. Inside the wipe effect comp I have 2 layers, a null with two sliders and a solid with a linear wipe effect.

wipeEffectComp.png

The first slider (called pause) controls the length of time before the wipe effect begins and 2nd (called wipeSpeed) controls speed of the wipe:

if (time < thisComp.layer("Controls Wipe").effect("pause")("Slider")){

0

}else{

((time - thisComp.layer("Controls Wipe").effect("pause")("Slider")) * thisComp.layer("Controls Wipe").effect("wipeSpeed")("Slider"))

}

This works great I can apply a set channels effect to each image layer that takes its alpha channel from the comp with the wipe effect.

footageComp.png

But this is just the first step after this I have become stumped, searching the web unsuccessfully for information, I hope I can get some advice here.

What I think needs to happen next is once the transition % for the wipe has reached 100 the time (play head for the comp) needs to go back to frame 0 and the whole process begins again.

Each time the cycle has run the upper most layer in the stack, that is visible, needs to be made invisible, that way each new layer below can be revealed and the whole layer stack is played through sequentially.

I hope that makes sense and there is someone out there that can help. Thanks for your time.

Felix

TOPICS
Expressions

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation