From: "Zack Lovatt" Received: from mail-la0-f50.google.com ([209.85.215.50] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5526028 for AE-List@media-motion.tv; Tue, 15 Jul 2014 23:14:59 +0200 Received: by mail-la0-f50.google.com with SMTP id pv20so4710036lab.23 for ; Tue, 15 Jul 2014 14:15:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=LEk4dIvMw4ovB7qAGt4UQBFMci8r+xMKaFR5mwWGMfY=; b=dgWOxnaacwItwfLN6RwhzIBvPyYYlEHshUNxMDWOx/gPr4RZyYqh2SaFogVSh6vXhl 9pW7+QCpPKSyeX+V0/a+I/DYbXFVwkf8TbaSJ+rsktTdwvfMZctq+UuJCtTevNrd5qfa UjvBdWiUxCipGk5JKMMhBMacNjOVGp74kQIYGMdlUj3anuDRTx4ycV3q9td+wpqTa/qN Toghn7QNVztdMz5LUpl3pr6hVq2mGe5jcunnS2ySkHgFHsnJukPMDHxyCk1W+1W/SOvD efvWK9NKUMy3brRw7g05kQ5JDW9yyer0m006hfvGFQf+E3llHDs2FQoTfI0n6TgUxqgb 7ltw== X-Gm-Message-State: ALoCoQm9xMnUFHlOGsjGoZ1RvOdmH9FxPgNg06BAq47Lio1xTiE9R2MaZJGN+rcZGoXpO8wyU9G6 X-Received: by 10.112.209.73 with SMTP id mk9mr4593433lbc.64.1405458900145; Tue, 15 Jul 2014 14:15:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.57.1 with HTTP; Tue, 15 Jul 2014 14:14:20 -0700 (PDT) X-Originating-IP: [184.175.39.233] In-Reply-To: References: Date: Tue, 15 Jul 2014 17:14:20 -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=001a11c335367d6cb004fe41e69e --001a11c335367d6cb004fe41e69e Content-Type: text/plain; charset=UTF-8 That looks as if it'd work! Zack Lovatt 416.786.4129 www.zacklovatt.com On 15 July 2014 17:09, Teddy Gage wrote: > Chris I think so, exactly. Now to translate that expression into 3D array > I would write it like this? Look right? > > p=transform.position; > x=p[0];y=p[1];z=p[2]; > > minx=0;miny=0;minz=0; > > slider=effect("Amount 0-100")("Slider"); > x=linear(slider,0,100,minx,x); > y=linear(slider,0,100,miny,y); > z=linear(slider,0,100,minz,z); > [x,y,z] > > > > On Fri, Jul 11, 2014 at 8:57 PM, Chris Zwar > wrote: > >> Not sure I understand 100%, but it sounds like you would use a slider to >> control the interpolation between the layers actual position, and a minimum >> or maximum amount. So if you have a slider called "Amount 0-100" your >> position expression would be: >> >> p=transform.position; >> x=p[0];y=p[1]; >> >> minx=0;miny=0; >> >> slider=effect("Amount 0-100")("Slider"); >> x=linear(slider,0,100,minx,x); >> y=linear(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 > --001a11c335367d6cb004fe41e69e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That looks as if it'd work!

Zack Lovatt
416.786.4129


On 15 July 2014 17:09, Teddy Gage <AE-List@media-motion.tv> wrote:
Chris I think so, exactly. Now to translate that expressio= n into 3D array I would write it like this? Look right?

=
x=3Dp[0];y=3Dp[1];z=3Dp[2];

minx=3D0;miny=3D0;minz=3D0;

slider=3Deff= ect("Amount 0-100")("Slider");
y=3Dlinear(slider,0,100,miny,y);<= /div>
z=3Dlinear(slider,0,100,minz,z);
[x,y,z]


On Fri, Jul 1= 1, 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 control th= e interpolation between the layers actual position, and a minimum or maximu= m amount. =C2=A0So if you have a slider called "Amount 0-100" you= r 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 su= re this is possible. But say you have an object on a motion path with hundr= eds of keys (not able to be reproduced by expressions). Would it be possibl= e to put an expression on a slider linked to those keyframes to dynamically= control, say, the absolute minimum and maximum values the object travels o= n 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




--
_= ____________________________
V= FX & Motion Graphic Artist
teddygage dot com

--001a11c335367d6cb004fe41e69e--