Forum Replies Created

Page 1075 of 1081
  • Dan Ebberts

    May 6, 2005 at 6:11 pm in reply to: Bake keyframes in After Effects

    You should be able to do it with an expression, then using Animation > Keyframe Assistant > Convert Expression to Keyframes.

    If all you want to do is convert your existing animation to a keyframe at every frame, you just need to use this expression:

    value

    and then use the method above.

    Dan

  • Dan Ebberts

    May 6, 2005 at 6:11 pm in reply to: Bake keyframes in After Effects

    You should be able to do it with an expression, then using Animation > Keyframe Assistant > Convert Expression to Keyframes.

    If all you want to do is convert your existing animation to a keyframe at every frame, you just need to use this expression:

    value

    and then use the method above.

    Dan

  • If you wanted to show the x position value with a slider applied to the same layer, you could use:

    position[0]

    If you wanted to display it with a text layer you’d use this expression for the source text:

    thisComp.layer(“your layer”).position[0]

    Dan

  • If you wanted to show the x position value with a slider applied to the same layer, you could use:

    position[0]

    If you wanted to display it with a text layer you’d use this expression for the source text:

    thisComp.layer(“your layer”).position[0]

    Dan

  • Here’s a rough attempt, based on the info you’ve provided:

    lightNumber = index;
    range = 30;

    center = 72 – (lightNumber – 1)*36
    angle = thisComp.layer(“Null for Camera”).rotationY;
    on = ease(angle,center + range,center,0,100);
    off = ease(angle,center,center – range,100,0);
    Math.min(on,off);

    The first line is where you need to establish a relationship between the light number and it’s layer index. As written, it will work if Light 1 is Layer 1 (top of the layer stack). If not, you’ll have to do a different calculation. Since you didn’t specify, I set the range of turn on/turn off to be +/- 30 degrees. I simplified by using 36 degrees as the angle between lights.

    Dan

  • Here’s a rough attempt, based on the info you’ve provided:

    lightNumber = index;
    range = 30;

    center = 72 – (lightNumber – 1)*36
    angle = thisComp.layer(“Null for Camera”).rotationY;
    on = ease(angle,center + range,center,0,100);
    off = ease(angle,center,center – range,100,0);
    Math.min(on,off);

    The first line is where you need to establish a relationship between the light number and it’s layer index. As written, it will work if Light 1 is Layer 1 (top of the layer stack). If not, you’ll have to do a different calculation. Since you didn’t specify, I set the range of turn on/turn off to be +/- 30 degrees. I simplified by using 36 degrees as the angle between lights.

    Dan

  • Have you considered just parenting an arc of lights to the camera, with the outside ones dimmer than the ones nearer the camera?

    Dan

  • Have you considered just parenting an arc of lights to the camera, with the outside ones dimmer than the ones nearer the camera?

    Dan

  • There has to be a relationship between the layer index of the lights and the rotation of the null (it will make things easier if you can make the lights layers 1-10). So you just need to define that relationsip (eg, the camera lines up with Light 1 at layer index 1 when the null rotation is at ?? degrees, etc). Then we just need to know how far (in degrees) on either side of dead center you want the light to begin coming on and we can whip out an expression for it.

    Dan

  • There has to be a relationship between the layer index of the lights and the rotation of the null (it will make things easier if you can make the lights layers 1-10). So you just need to define that relationsip (eg, the camera lines up with Light 1 at layer index 1 when the null rotation is at ?? degrees, etc). Then we just need to know how far (in degrees) on either side of dead center you want the light to begin coming on and we can whip out an expression for it.

    Dan

Page 1075 of 1081

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy