FORUMS: list search recent posts

Looping Multiple Layers with Different Lengths

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eran Amir
Looping Multiple Layers with Different Lengths
on Dec 31, 2013 at 3:46:42 pm

Hi Everybody,

I have a comp with around 100 layers of different lengths,
and I want to have all the layers loop during the entire comp duration.
I am familiar with the loop expression, but haven't found a way to apply it to multiple layers with different lengths without having to manually correct the time remapping keyframes for each layer.

Does anyone have an idea how I can do this?

Thanks!
Eran.


Return to posts index

Dave LaRonde
Re: Looping Multiple Layers with Different Lengths
on Dec 31, 2013 at 5:40:16 pm

Highlight Footage. Go File>Interpret>Main. Set the looping to as many times as you deem necessary. Go back to the comp and extend the layers' out points by whatever means you'd like. Personally, I'd go to the end of the comp, select all, then use the opt/alt-] keyboard shortcut.

This trick will work for footage layers in a comp. How about nested comps? You'll have extra work to do, and you can't do it automatically.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Walter Soyka
Re: Looping Multiple Layers with Different Lengths
on Dec 31, 2013 at 9:11:48 pm

[Eran Amir] "I am familiar with the loop expression, but haven't found a way to apply it to multiple layers with different lengths without having to manually correct the time remapping keyframes for each layer."

Instead of using loopOut, try the following expression for time-remapping:

// loop via time-remapping without adjusting default keyframes
if (numKeys < 2) value else {
timeInFrames = timeToFrames(key(1).value);
timeOutFrames = timeToFrames(key(2).value);
localTimeFrames = timeToFrames(time - inPoint);
framesToTime((localTimeFrames % (timeOutFrames-timeInFrames)) + timeInFrames);
}


Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events


Return to posts index


Eran Amir
Re: Looping Multiple Layers with Different Lengths
on Jan 1, 2014 at 5:01:50 pm

Thanks! Both techniques work great!


Return to posts index

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