From: "=?iso-8859-1?Q?Mathias_M=F6hl?=" Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5524952 for AE-List@media-motion.tv; Mon, 14 Jul 2014 09:28:01 +0200 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1405322856; l=14422; s=domk; d=mamoworld.com; h=In-Reply-To:To:References:Date:Subject:Mime-Version:Content-Type: From; bh=v2ZDr1N7+syMGsPW2NLNHS9gZUU=; b=V28lyFp6NT0gBTXACWUD8jPgSQ/jWYBQgpT/SA3OBJNeNaSYSPgCioZjXdJqnXQ5mvp YW9SCGi4IjOpZP1QIrLbytwz/PkOUkp4oBQE+B/OyrVjHNyX3meIj2dh002F3DdMEluTl ly+WAIz7KnT91XvkMUmoLuRijYHXQyghAuo= X-RZG-AUTH: :JWICemClevKDgu8HjcNJMjRl593UXLPRxATGwvl0czvlKPvWKaNvvwT7g2dQIT8= X-RZG-CLASS-ID: mo00 Received: from [192.168.14.35] (p5DC659E9.dip0.t-ipconnect.de [93.198.89.233]) by smtp.strato.de (RZmta 35.2 DYNA|AUTH) with ESMTPSA id D02bb6q6E7RaXTT (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Mon, 14 Jul 2014 09:27:36 +0200 (CEST) Content-Type: multipart/alternative; boundary="Apple-Mail=_2E274D90-7876-4812-9E34-5D19CC65A733" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [AE] Applying a slider control to an overall set of keyframes Date: Mon, 14 Jul 2014 09:27:35 +0200 References: To: After List In-Reply-To: X-Mailer: Apple Mail (2.1878.6) --Apple-Mail=_2E274D90-7876-4812-9E34-5D19CC65A733 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 If you need this for the position of a layer, you can do it also with = parenting instead of an expression. 1) parent your layer to a null, (and if it already has a parent, parent = the null to the previous parent). 2) set the anchor point of the null to the point around which you want = to scale, i.e. (minx,miny) in Chris=92s expression 3) use the nulls scale to control what you want (if you only want to = change the motion path in x, scale only in x) Cheers, Mathias mamoworld.com simplify your cgi Dr. Mathias M=F6hl Marlow 52 , 18551 Sagard, Germany Phone +49 (0)38302 - 88 75 61 info@mamoworld.com On 13 Jul 2014, at 20:49, Teddy Gage wrote: > That's awesome. Thanks folks! >=20 >=20 > 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 = goes from 0 to 100, the value will change from [minX, miny] to the keyed = value. >=20 > Zack Lovatt > 416.786.4129 > www.zacklovatt.com >=20 >=20 > 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 some are quite juddery? >=20 >=20 > 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=85 my mistake :) >=20 > Rereading now and do you want to use the slider as a multiplier? So = when the slider is at 1 the object is on the path... At 0 the object = would be at 0,0,0 at 2 the object would be double the position of the = current time? >=20 > On Jul 11, 2014, at 8:57 PM, "Chris Zwar" = wrote: >=20 >> 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: >>=20 >> p=3Dtransform.position; >> x=3Dp[0];y=3Dp[1]; >>=20 >> minx=3D0;miny=3D0; >>=20 >> slider=3Deffect("Amount 0-100")("Slider"); >> x=3Dlinear(slider,0,100,minx,x); >> y=3Dlinear(slider,0,100,miny,y); >>=20 >> [x,y] >>=20 >>=20 >> Is this what you mean?=20 >>=20 >>=20 >> -Chris >>=20 >>=20 >> On 12/07/2014, at 10:07 AM, Teddy Gage = wrote: >>=20 >>> 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?=20 >>>=20 >>> 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. >>>=20 >>> There is probably an easier way to do this but I was wondering if = this it was possible like this. Thanks, >>> -TG >>>=20 >>> --=20 >>> _____________________________ >>> VFX & Motion Graphic Artist >>> teddygage dot com >>=20 >=20 >=20 >=20 > --=20 > _____________________________ > VFX & Motion Graphic Artist > teddygage dot com >=20 >=20 >=20 >=20 > --=20 > _____________________________ > VFX & Motion Graphic Artist > teddygage dot com --Apple-Mail=_2E274D90-7876-4812-9E34-5D19CC65A733 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 If you = need this for the position of a layer, you can do it also with parenting = instead of an expression.
1) parent your layer to a null, (and = if it already has a parent, parent the null to the previous = parent).
2) set the anchor point of the null to the point = around which you want to scale, i.e.  (minx,miny) in Chris=92s = expression
3) use the nulls scale to control what you want (if = you only want to change the motion path in x, scale only in = x)

Cheers,
Mathias

=


mamoworld.com
simplify your = cgi

Dr. Mathias M=F6hl
Marlow 52 , 18551 = Sagard, Germany
Phone +49 (0)38302 - 88 75 61
info@mamoworld.com



<= /div>
On 13 Jul 2014, at 20:49, Teddy Gage = <AE-List@media-motion.tv> = wrote:

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 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 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 = 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 some are quite juddery?


On Fri, = Jul 11, 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=85 my mistake :)

Rereading now and do you want to use the slider as a = multiplier? So when the slider is at 1 the object is on the path... At 0 = the object would be at  0,0,0  at 2 the object would be double = the position 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 = 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=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

<= /div>

On 12/07/2014, at 10:07 AM, Teddy Gage <AE-List@media-motion.tv> = 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
=

<= /div>


--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com




--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com

= --Apple-Mail=_2E274D90-7876-4812-9E34-5D19CC65A733--