Return-Path: Received: from mail-lb0-f169.google.com ([209.85.217.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4830652 for AE-List@media-motion.tv; Thu, 30 Aug 2012 20:11:47 +0200 Received: by lbon3 with SMTP id n3so642046lbo.28 for ; Thu, 30 Aug 2012 11:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=T0gQ0YsZu9QUrhFSf4OjaTvm6FqxrS0TfB/RNdv3s40=; b=iE7kiy7YINKatDuql91s2csMPluMzlHn1JSkGuYe4anVWrVVdOfds6gc6rXGnUMP+j W/BX7MNw8tUrXgD0QmJ+7KYojeJnHG5QJO3tJn2bk3PlFyRncwR8ZQwD60q8jzNd6qtj pGMIFwlmgPnWKP6it4Q9UaQmRNarQriIL2r9Qi2Ps7V16WYGoiUQzzUDGlL9YJ2KHkT2 LfRRp2Q3em96Q0sTUr7Dql2intqFu6hHoEMmpmPMdR8W1wbN62BWEw88xmOlq75m/L/S QXRb+Aqbf2x7ublgIGqEl5BJhI2zhe7NaVYx/2xEfyEfzIKJwZtrjGY8DW6Dm0yXrv5n xIBA== Received: by 10.152.112.136 with SMTP id iq8mr4119359lab.18.1346350359025; Thu, 30 Aug 2012 11:12:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.148.194 with HTTP; Thu, 30 Aug 2012 11:11:57 -0700 (PDT) In-Reply-To: References: From: Teddy Gage Date: Thu, 30 Aug 2012 14:11:57 -0400 Message-ID: Subject: Re: [AE] building a dynamic node-like effect in AE To: After Effects Mail List Content-Type: multipart/alternative; boundary=f46d0408d7efe4982604c87f9e22 --f46d0408d7efe4982604c87f9e22 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable dude that rocks. I'm almost there. First problem was that fold position expects two values so I changed it a bit, keeping y constant startTime =3D this.inPoint; transDur =3D 15; startX =3D -1300; xOffset =3D 5000; [linear(time, startTime, startTime + framesToTime(transDur), startX, startX + xOffset), value[1]] The second issue I'm now having is that even though "this.inPoint" is supposed to start at the layer's inpoint, I still have to scrub the layer back in time to find out where it is actually starting the transition. Is there another pointer besides this.inPoint? I tried thisLayer.inPoint and it was still starting the transition back at the zero mark, even if the layer didn't start being visible until 30 seconds in. This could be because I split the layers (they are stills) and it's looking at the origin in point and not the actual in point in the composition. does that make any sense? On Wed, Aug 29, 2012 at 6:31 PM, Zack Lovatt wrote: > This was written right-quick on a subway trip, but consider something > along the lines of... > > startTime =3D this.inPoint; > transDur =3D 30; > startX =3D 0; > xOffset =3D 1000; > > linear(time, startTime, startTime + framesToTime(transDur), startX, start= X > + xOffset) > > Where transDur is the duration of the transition, startX is the beginning > X value and xOffset is the amount to move X. > On Aug 29, 2012 4:57 PM, "Teddy Gage" wrote: > >> Thanks Chris! Both the suggestion and the script are very close to what >> I want and solve a bunch of problems (like having the back page color or >> page turn width changes ripple through the project). My only issue now i= s >> that by key-framing the page turn, the instanced effect creates the >> transition on a new layer where it is in time on the original layer. I n= eed >> these layers staggered in time so that's not going to work. Could anyone >> figure out an expression to change the fold position on the x-axis as a >> function of the layer's in point? I know there's an auto-fade opacity by >> layer in/out expression, maybe telling it to take 30 frames from layer i= n >> to travel 1000 units in X would work. Then I could instance that effect >> with the expression and maybe it would change the rest of them at the sa= me >> time...? >> >> On Wed, Aug 29, 2012 at 4:39 PM, Chris Meyer wrot= e: >> >>> If you make one instance of this - a master control layer, and slave >>> layer with expressions that point back to the control layer - then you = can >>> select the effects, expressions, etc. on the slave layer and save it as= an >>> animation preset. Then when you apply that animation preset to a new sl= ave >>> layer inside the same composition, it too will point to the same master= as >>> the original. (Same will happen if you just duplicate the slave layer, = then >>> swap out its source.) >>> >>> If these slaves will be in other compositions, then when you create you= r >>> first slave, put it in another composition, pointing back to the master >>> layer in the master comp. You can wire expressions across comps by havi= ng >>> both Timeline panels open at the same time (just drag one timeline's ta= b >>> above the others, and a new frame will be created in the UI), then foll= ow >>> the above. >>> >>> What might also be of use is someone has created a script that creates >>> an "instance" of an effect where every parameter of an effect applied t= o a >>> slave will be attached to every corresponding parameter of a master - s= aves >>> a lot of pick-whipping if you need to set up a lot of parameters, inste= ad >>> of just a few expression controls. Let me see what that thing was >>> called=85here it is: http://aescripts.com/ft-effect-instance/ >>> >>> good luck - >>> Chris >>> >>> P.S. Our books, if you have them, tend to show examples of having one >>> master layer control multiple slave layers using expressions. >>> >>> >>> >>> On Aug 29, 2012, at 2:20 PM, Teddy Gage wrote: >>> >>> Hello, I have a project which is basically a glorified power point >>> presentation. I say node-like because I want one effect instance to cha= nge >>> multiple layers with the effect, like in a node based compositor. I hav= e >>> hundreds of images that come onscreen more or less one-by-one, many of >>> which will use pretty basic transitions. My desire is to build a few ni= ce >>> "stock transitions" (like 3) using expressions, and anywhere I drop the= se >>> on a layer, its properties can be controlled by a single set of sliders= or >>> keyframes. For example, I have CC page turn on many of them, and I want= to >>> animate the fold position moving in. I want to be able to drop this eff= ect, >>> or effect + expression or preset, onto any layer, and have it automatic= ally >>> begin the transition from the layer in-point. Additionally, every insta= nce >>> of the effect in the project is controlled by a master slider or master= set >>> of keyframes in case the client wants to tweak the timing. This way it = will >>> ripple through my 100+ layers instead of having to manually change ever= y >>> keyframe. I have some basic expression knowledge, but every time I thin= k >>> I'm close to figuring this out it eludes me. This may be way more >>> complicated than I'm thinking, or way less. Thanks, >>> TG >>> >>> -- >>> Animator & Editor >>> www.teddygage.com >>> Brooklyn >>> >>> >>> >> >> >> -- >> Animator & Editor >> www.teddygage.com >> Brooklyn >> >> --=20 Animator & Editor www.teddygage.com Brooklyn --f46d0408d7efe4982604c87f9e22 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable dude that rocks. I'm almost there. First problem was that fold position= expects two values so I changed it a bit, keeping y constant

startT= ime =3D this.inPoint;
transDur =3D 15;
startX =3D -1300;
xOffset = =3D 5000;

[linear(time, startTime, startTime + framesToTime(transDur), startX, st= artX + xOffset), value[1]]

The second issue I'm now having is th= at even though "this.inPoint" is supposed to start at the layer&#= 39;s inpoint, I still have to scrub the layer back in time to find out wher= e it is actually starting the transition. Is there another pointer besides = this.inPoint? I tried thisLayer.inPoint and it was still starting the trans= ition back at the zero mark, even if the layer didn't start being visib= le until 30 seconds in. This could be because I split the layers (they are = stills) and it's looking at the origin in point and not the actual in p= oint in the composition. does that make any sense?

On Wed, Aug 29, 2012 at 6:31 PM, Zack Lovatt= <zack@zacklovatt.com> wrote:

This was written right-quick on a subway trip, but consider something al= ong the lines of...

startTime =3D this.inPoint;
transDur =3D 30;
startX =3D 0;
xOffset =3D 1000;

linear(time, startTime, startTime + framesToTime(transDur), startX, star= tX + xOffset)

Where transDur is the duration of the transition, startX is the beginnin= g X value and xOffset is the amount to move X.

On Aug 29, 2012 4:57 PM, "= ;Teddy Gage" <teddygage@gmail.com> wrote:
Thanks Chris! Both the suggestion and the script are very close to what I w= ant and solve a bunch of problems (like having the back page color or page = turn width changes ripple through the project). My only issue now is that b= y key-framing the page turn, the instanced effect creates the transition on= a new layer where it is in time on the original layer. I need these layers= staggered in time so that's not going to work. Could anyone figure out= an expression to change the fold position on the x-axis as a function of t= he layer's in point? I know there's an auto-fade opacity by layer i= n/out expression, maybe telling it to take 30 frames from layer in to trave= l 1000 units in X would work. Then I could instance that effect with the ex= pression and maybe it would change the rest of them at the same time...?
On Wed, Aug 29, 2012= at 4:39 PM, Chris Meyer <chris@crishdesign.com> wrote:<= br>
If you make one insta= nce of this - a master control layer, and slave layer with expressions that= point back to the control layer - then you can select the effects, express= ions, etc. on the slave layer and save it as an animation preset. Then when= you apply that animation preset to a new slave layer inside the same compo= sition, it too will point to the same master as the original. (Same will ha= ppen if you just duplicate the slave layer, then swap out its source.)

If these slaves will be in other compositions, then when you= create your first slave, put it in another composition, pointing back to t= he master layer in the master comp. You can wire expressions across comps b= y having both Timeline panels open at the same time (just drag one timeline= 's tab above the others, and a new frame will be created in the UI), th= en follow the above.

What might also be of use is someone has created a scri= pt that creates an "instance" of an effect where every parameter = of an effect applied to a slave will be attached to every corresponding par= ameter of a master - saves a lot of pick-whipping if you need to set up a l= ot of parameters, instead of just a few expression controls. Let me see wha= t that thing was called=85here it is:=A0http://aescripts.com/ft-effect-instance= /

good luck -
Chris

P.= S. Our books, if you have them, tend to show examples of having one master = layer control multiple slave layers using expressions.



On Aug 29, 2012, at 2:20 P= M, Teddy Gage wrote:

=A0=A0 Hello, I hav= e a project which is basically a glorified power point presentation. I say = node-like because I want one effect instance to change multiple layers with= the effect, like in a node based compositor. I have hundreds of images tha= t come onscreen more or less one-by-one, many of which will use pretty basi= c transitions. My desire is to build a few nice "stock transitions&quo= t; (like 3) using expressions, and anywhere I drop these on a layer, its pr= operties can be controlled by a single set of sliders or keyframes. For exa= mple, I have CC page turn on many of them, and I want to animate the fold p= osition moving in. I want to be able to drop this effect, or effect + expre= ssion or preset, onto any layer, and have it automatically begin the transi= tion from the layer in-point. Additionally, every instance of the effect in= the project is controlled by a master slider or master set of keyframes in= case the client wants to tweak the timing. This way it will ripple through= my 100+ layers instead of having to manually change every keyframe. I have= some basic expression knowledge, but every time I think I'm close to f= iguring this out it eludes me. This may be way more complicated than I'= m thinking, or way less. Thanks,
TG

--
Animator & Editor
= www.teddygage.com
Brooklyn





--
Animator & Editor=
www= .teddygage.com
Brooklyn




--
Animator & Editor
www.teddygage.com
Brooklyn

--f46d0408d7efe4982604c87f9e22--