Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Using Index Function to get source Material from Composition

  • Using Index Function to get source Material from Composition

  • Oskar Ziemba

    November 15, 2021 at 2:36 pm

    Hello forum,

    i want to do a logo reveal via a flipping book. (I added a picture to illustrate it) So i want to create a flipbook effect, where the pages are seen from the side so that the logo reveals while the pages stack up from bottom to top.

    The Pages are filled with images that are visible, while the pages flip down.

    I wanted to use the index function to get the source material for the Images from one subsequence, where i either use markers or the index of the stacked layers to define which image is to be used. Is that possible? And if so, what kind of expression would i need to do that?

    I hope you can understand what i mean.

    Thanks in advance for all replies 🙂

    Oskar

  • Meng Zhiqun

    November 15, 2021 at 3:40 pm

    Expressions can only be applied to properties which can be animated. So I’m not sure if it’s as how you think it to be sadly.

  • Dan Ebberts

    November 15, 2021 at 5:04 pm

    If you have the images in a sequence, one image per frame, then you could use a time remapping expression to control which frame is displayed based on some calculation for which page is currently flipping. Then you could, for example, use layer markers to advance to the next frame/page with a time remapping expression like this:

    m = marker;

    n = 0;

    if (m.numKeys > 0){

    n = m.nearestKey(time).index;

    if (time < m.key(n).time) n--;

    }

    framesToTime(n)

  • Oskar Ziemba

    November 15, 2021 at 7:21 pm

    Thank you for your reply, i will try that out tomorrow. It’s late in Europe.

    All the best Oskar

  • Oskar Ziemba

    November 15, 2021 at 7:23 pm

    Thank you for your reply, i didn’t know that. If Dans Answer doesn’t work, i’ll do it in C4D with a cloner 🙂

    All the best Oskar

Viewing 1 - 5 of 5 posts

Log in to reply.

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