Mailing List AE-List@media-motion.tv ? Message #54587
From: Mathias Möhl <AE-List@media-motion.tv>
Subject: Re: [AE] Applying a slider control to an overall set of keyframes
Date: Mon, 14 Jul 2014 09:27:35 +0200
To: After List <AE-List@media-motion.tv>
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’s 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öhl
Marlow 52 , 18551 Sagard, Germany
Phone +49 (0)38302 - 88 75 61
info@mamoworld.com



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=' and 'miny=' 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… 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=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 <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




--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com




--
_____________________________
VFX & Motion Graphic Artist
teddygage dot com

 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster