Exponential increase in speed of a layer/camera

Moderators: Disciple, zlovatt

Post Reply
nic_a_lie
Posts: 1
Joined: February 27th, 2005, 6:51 pm

Hi All,

I have set up a camera attached to a null to go through a series of layers in z space. It works fine, but i need the speed of the layers going by to increase over time. It works to a certain degree by precomposing my setup comp and using time-remap by tweaking the velocitty curves, but it's still not quite doing what effect I need. I know this might be a simple expression, but for some reason, I can't get my head around it.

Any help would be greatly appreciated, so I can meet my deadline!

Thanks.

N.
User avatar
Disciple
Posts: 137
Joined: June 5th, 2004, 8:05 am
Location: Los Angeles, CA
Contact:

Not sure if this would work, but maybe you could AE's exponential scale, and tie your camera move to the scale via expressions?

Just an idea

Alex
goldomega
Posts: 9
Joined: August 12th, 2005, 8:54 am
Location: Rochester, NH

Try putting this on your layers rather than precomposing them:

accellMultiplier=5;
x=position[0];
y=position[1];
z=position[2]+(time-(Math.exp(time*accellMultiplier)));


[x,y,z]


This expression causes your layer to move backwards in z space exponentially over time. accellMultiplier lets you affect when the curve reaches "terminal velocity." If you want to reverse the direction of the push, change the '+' before the parentheses in the z definition to a '-'.
Post Reply