From: "Teddy Gage" Received: from mail-qc0-f181.google.com ([209.85.216.181] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5524748 for AE-List@media-motion.tv; Sun, 13 Jul 2014 20:50:15 +0200 Received: by mail-qc0-f181.google.com with SMTP id x13so2725294qcv.40 for ; Sun, 13 Jul 2014 11:50:15 -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=MegQkDb1sEpFo5QZrIz1McFDl1FeqK8oiJyKLGAS674=; b=VQlSpFiz98sJNc9ZS1zzbjkGa6MSmBtP2SGngWi0kve7NDhrI+04sD07skBCl6cRsx 76JF4RkE/k/W9H4DgsML/Shs0MJjpogSxymC27JYzbZJ5Yz8Ea1CDrfFFyCDGxPT1onm CGqQ4C1Ao8M9x28jncXBFmJPtVw030nkbA+o3Hr/LGbFpnZfgQa/gpd8Mrlc00GvNaRp 6T09jbGPOJRcjrYa8zzmq1x8rHeqX1072VvPQhHPHUu4OSEUkSo6rRsTHY00s88ZK9GS EPweD7MtwXtHHFGZqZJUbKzqRT6TR95IkJovuBSAFD4DmthKH/zv6O9AkmAOIFT8Y3ID 4yMg== X-Received: by 10.140.48.161 with SMTP id o30mr17746104qga.68.1405277415070; Sun, 13 Jul 2014 11:50:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.198.132 with HTTP; Sun, 13 Jul 2014 11:49:34 -0700 (PDT) In-Reply-To: References: Date: Sun, 13 Jul 2014 14:49:34 -0400 Message-ID: Subject: Re: [AE] Applying a slider control to an overall set of keyframes To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a1135086e22e3b004fe17a5b1 --001a1135086e22e3b004fe17a5b1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That's awesome. Thanks folks! On Sat, Jul 12, 2014 at 3:05 PM, Zack Lovatt wrote: > Chris's expression would do what you're looking for. Set 'minx=3D' and > 'miny=3D' to whatever you want the minimum value to be. As your slider go= es > from 0 to 100, the value will change from [minX, miny] to the keyed value= . > > Zack Lovatt > 416.786.4129 > www.zacklovatt.com > > > On 12 July 2014 11:18, Teddy Gage wrote: > >> Ha, I wrote that after a few gin and tonics myself, so maybe it wasn't >> clear. Basically, this is a followup from the realistic camera shake >> thread. I have a camera with hundreds / thousands of shake keyframes >> extrapolated from the 3D camera tracker. That is parented to a null that= is >> making the actual camera path and motion, which is smooth. What would be= a >> good way to scale up or scale down the amount of shake on the camera as >> needed? Also maybe the best way to smooth / interpolate those keys, as s= ome >> are quite juddery? >> >> >> On Fri, Jul 11, 2014 at 11:09 PM, Rendernyc >> wrote: >> >>> Looks like I misread your email teddy while I was having a beer and >>> holding a baby=E2=80=A6 my mistake :) >>> >>> Rereading now and do you want to use the slider as a multiplier? So whe= n >>> the slider is at 1 the object is on the path... At 0 the object would b= e at >>> 0,0,0 at 2 the object would be double the position of the current tim= e? >>> >>> On Jul 11, 2014, at 8:57 PM, "Chris Zwar" >>> wrote: >>> >>> Not sure I understand 100%, but it sounds like you would use a slider t= o >>> control the interpolation between the layers actual position, and a min= imum >>> or maximum amount. So if you have a slider called "Amount 0-100" your >>> position expression would be: >>> >>> p=3Dtransform.position; >>> x=3Dp[0];y=3Dp[1]; >>> >>> minx=3D0;miny=3D0; >>> >>> slider=3Deffect("Amount 0-100")("Slider"); >>> x=3Dlinear(slider,0,100,minx,x); >>> y=3Dlinear(slider,0,100,miny,y); >>> >>> [x,y] >>> >>> >>> Is this what you mean? >>> >>> >>> -Chris >>> >>> >>> On 12/07/2014, at 10:07 AM, Teddy Gage wrote: >>> >>> Not even sure this is possible. But say you have an object on a motion >>> path with hundreds of keys (not able to be reproduced by expressions). >>> Would it be possible to put an expression on a slider linked to those >>> keyframes to dynamically control, say, the absolute minimum and maximum >>> values the object travels on the x axis? >>> >>> Sort of like scaling the entire motion path of keys in one or all >>> directions, but tying that to a slider, so that when the slider is at 0= , >>> there is no motion. ie it clamps all values to 0. >>> >>> There is probably an easier way to do this but I was wondering if this >>> it was possible like this. Thanks, >>> -TG >>> >>> -- >>> _____________________________ >>> VFX & Motion Graphic Artist >>> teddygage dot com >>> >>> >>> >> >> >> -- >> _____________________________ >> VFX & Motion Graphic Artist >> teddygage dot com >> > > --=20 _____________________________ VFX & Motion Graphic Artist teddygage dot com --001a1135086e22e3b004fe17a5b1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That's awesome. Thanks folks!


On Sat, Jul 12, 2014 at 3:05 PM,= Zack Lovatt <AE-List@media-motion.tv> wrote:
Chris's expression woul= d do what you're looking for. Set 'minx=3D' and 'miny=3D= 9; to whatever you want the minimum value to be. As your slider goes from 0= to 100, the value will change from [minX, miny] to the keyed value.



On 12 July 2014 11:18, Teddy Gage <AE-List@media-motion.tv> wrote:
Ha, I wrote that after a few gin and tonics myself, so may= be it wasn't clear. Basically, this is a followup from the realistic ca= mera shake thread. I have a camera with hundreds / thousands of shake keyfr= ames extrapolated from the 3D camera tracker. That is parented to a null th= at is making the actual camera path and motion, which is smooth. What would= be a good way to scale up or scale down the amount of shake on the camera = as needed? Also maybe the best way to smooth / interpolate those keys, as s= ome are quite juddery?


On Fri, Jul 1= 1, 2014 at 11:09 PM, Rendernyc <AE-List@media-motion.tv> wrote:
Looks like I misread = your email teddy while I was having a beer and holding a baby=E2=80=A6 my m= istake :)

Rereading now and do you want to use the slider as a mu= ltiplier? So when the slider is at 1 the object is on the path... At 0 the = object would be at =C2=A00,0,0 =C2=A0at 2 the object would be double the po= sition of the current time?

On Jul 11, 2014, at 8:57 PM, "Chris Zwar" <= AE-List@media-= motion.tv> wrote:

Not sure I understand 100%, but it sounds like you would use a slider to co= ntrol the interpolation between the layers actual position, and a minimum o= r maximum amount. =C2=A0So if you have a slider called "Amount 0-100&q= uot; your position expression would be:

p=3Dtransform.position;
x=3Dp[0];y=3Dp[1];

minx=3D0;miny=3D0;

slider=3Deffect("Amount 0-100")("Slider");
x=3Dl= inear(slider,0,100,minx,x);
y=3Dlinear(slider,0,100,miny,y);

[x,y]


Is this what you mean?=C2=A0


-Chris


On 12/07/2014, at 10:07 AM, Teddy Gage <AE-List@media-motion.tv> wrote:
Not even sure this is pos= sible. But say you have an object on a motion path with hundreds of keys (n= ot able to be reproduced by expressions). Would it be possible to put an ex= pression on a slider linked to those keyframes to dynamically control, say,= the absolute minimum and maximum values the object travels on the x axis?= =C2=A0

Sort of like scaling the entire motion path of keys in one o= r all directions, but tying that to a slider, so that when the slider is at= 0, there is no motion. ie it clamps all values to 0.

There is probably an easier way to do this but I was wondering if this= it was possible like this. Thanks,
-TG

= --
_____________________________=
VFX & Motion Graphic Artist
teddyga= ge dot com




--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com




--
_____________________________
<= font style=3D"background-color:rgb(255,255,255)" color=3D"#6aa84f" size=3D"= 1" face=3D"georgia, serif">VFX & Motion Graphic Artist
teddygage dot com
--001a1135086e22e3b004fe17a5b1--