Return-Path: Received: from mail-lpp01m010-f41.google.com ([209.85.215.41] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4830751 for AE-List@media-motion.tv; Thu, 30 Aug 2012 21:46:20 +0200 Received: by lahd3 with SMTP id d3so1641912lah.28 for ; Thu, 30 Aug 2012 12:47:12 -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=mhSuhSD1WzsJV5kF7gBw2Y0MZRVJVr+khsqq3YAwGAM=; b=u65+IOis3GQrmvOkx6KBQdLI2gBT3qop1/nu6LMKleQlTDorfw+h/4JSlFHR/eo5xZ OM7LMAHdf9jUP4aNK6gjsXc3xAO545INCPQnvnr93wXCOqSkoSr9dfx5QJj+1NfPZxtj n8GL//wQ1pytW/wSzLreSbPSsKHMXN+OB0bJKFQYOHkjGhOZG/TpPI+AcDcq/qi6nRd1 AQbG3hb2/Kxj9ZEzu1/RgUJE5zigEvm9qjj1ctkaL/xlXOfH0oDuW5aLi0fp6RpILhRI GlKtgWzQuTewrKNCwx3cPS1dGlim8vH1Y4/vcHAXqsXsUUfsPIfDS3fn6i6BEzSyCFDN 2XgA== Received: by 10.112.30.8 with SMTP id o8mr1785969lbh.132.1346356032083; Thu, 30 Aug 2012 12:47:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.148.194 with HTTP; Thu, 30 Aug 2012 12:46:31 -0700 (PDT) In-Reply-To: References: From: Teddy Gage Date: Thu, 30 Aug 2012 15:46:31 -0400 Message-ID: Subject: Re: [AE] building a dynamic node-like effect in AE To: After Effects Mail List Content-Type: multipart/alternative; boundary=bcaec55400960898fc04c880f14c --bcaec55400960898fc04c880f14c Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I got it, using ft-instance script and animation presets, thanks for the help guys. This is going to be a huge time saver. On Thu, Aug 30, 2012 at 2:11 PM, Teddy Gage wrote: > 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 becau= se > 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, >> startX + 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" wrote: >> >>> Thanks Chris! Both the suggestion and the script are very close to wha= t >>> I want and solve a bunch of problems (like having the back page color o= r >>> page turn width changes ripple through the project). My only issue now = is >>> 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 = need >>> these layers staggered in time so that's not going to work. Could anyon= e >>> 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 b= y >>> layer in/out expression, maybe telling it to take 30 frames from layer = in >>> 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 s= ame >>> time...? >>> >>> On Wed, Aug 29, 2012 at 4:39 PM, Chris Meyer wro= te: >>> >>>> 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 a= s an >>>> animation preset. Then when you apply that animation preset to a new s= lave >>>> layer inside the same composition, it too will point to the same maste= r 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 >>>> your first slave, put it in another composition, pointing back to the >>>> master layer in the master comp. You can wire expressions across comps= by >>>> having both Timeline panels open at the same time (just drag one timel= ine's >>>> tab above the others, and a new frame will be created in the UI), then >>>> follow 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 = to a >>>> slave will be attached to every corresponding parameter of a master - = saves >>>> a lot of pick-whipping if you need to set up a lot of parameters, inst= ead >>>> 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 ch= ange >>>> multiple layers with the effect, like in a node based compositor. I ha= ve >>>> 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 n= ice >>>> "stock transitions" (like 3) using expressions, and anywhere I drop th= ese >>>> on a layer, its properties can be controlled by a single set of slider= s or >>>> keyframes. For example, I have CC page turn on many of them, and I wan= t to >>>> animate the fold position moving in. I want to be able to drop this ef= fect, >>>> or effect + expression or preset, onto any layer, and have it automati= cally >>>> begin the transition from the layer in-point. Additionally, every inst= ance >>>> of the effect in the project is controlled by a master slider or maste= r 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 eve= ry >>>> keyframe. I have some basic expression knowledge, but every time I thi= nk >>>> 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 >>> >>> > > > -- > Animator & Editor > www.teddygage.com > Brooklyn > > --=20 Animator & Editor www.teddygage.com Brooklyn --bcaec55400960898fc04c880f14c Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I got it, using ft-instance script and animation presets, thanks for the he= lp guys. This is going to be a huge time saver.

On Thu, Aug 30, 2012 at 2:11 PM, Teddy Gage = <teddygage@gmail.com> wrote:
dude that rocks. I'm almost there. First problem was that fol= d 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, 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&q= uot; <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:
If you make one instance of this -= a master control layer, and slave layer with expressions that point back t= o 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 th= at animation preset to a new slave layer inside the same composition, it to= o will point to the same master as the original. (Same will happen if you j= ust 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.co= m
Brooklyn




--
Animator & Ed= itor
www.teddygage.com
Brooklyn




--
Animator & Editor
www.teddygage.com
Brooklyn

--bcaec55400960898fc04c880f14c--