Forum Replies Created

Page 1071 of 1081
  • Dan Ebberts

    June 17, 2005 at 3:56 pm in reply to: Using “clamp” in a wiggle expression to limit

    Do you want it to just sit on the “floor” until the wiggle goes above that value, or do you want some other behavior?

    Dan

  • Dan Ebberts

    June 13, 2005 at 4:18 pm in reply to: Light layer, no light

    If you’re saying you can’t see the light itself, that’s normal. AE lights aren’t visible unless apply Trapcode’s Lux plugin.

    If you’re saying the light doesn’t cast light on anything, you have to have a 3D layer in position to receive the light an have its “Accepts Lights” switch turned on.

    Other than that I don’t know what the problem could be.

    Dan

  • Dan Ebberts

    June 13, 2005 at 2:39 pm in reply to: Flare following a light

    The only thing I can think of is if your comp is rectangular pixels and your solid is square pixels, the positions won’t match up. In that case you have to adjust the x coordinate of the lens flare like this:

    p = thisComp.layer(“Light 1”).toComp([0,0,0]);
    [p[0]*thisComp.pixelAspect,p[1]]

    Dan

  • Dan Ebberts

    June 11, 2005 at 6:08 pm in reply to: A question about parenting.

    You may be looking for an expression that maintains the spatial relationship of the two layers. If so, you need an expression like this for the child’s position:

    p = thisComp.layer(“parent”).position;
    deltaAtZero = p.valueAtTime(0) – position.valueAtTime(0);
    p – deltaAtZero

    Where “parent” is the name of your parent layer. Now you can move the parent layer and the child will follow, but you can independently rotate or scale the parent.

    Dan

  • Dan Ebberts

    June 11, 2005 at 6:08 pm in reply to: A question about parenting.

    You may be looking for an expression that maintains the spatial relationship of the two layers. If so, you need an expression like this for the child’s position:

    p = thisComp.layer(“parent”).position;
    deltaAtZero = p.valueAtTime(0) – position.valueAtTime(0);
    p – deltaAtZero

    Where “parent” is the name of your parent layer. Now you can move the parent layer and the child will follow, but you can independently rotate or scale the parent.

    Dan

  • Try something like this:

    
    threshold = 10;
    audio = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
    
    f = Math.round(time/thisComp.frameDuration);
    frameCount = 0;
    for (i = 0; i <= f; i++){
      if(audio.valueAtTime(i*thisComp.frameDuration) > threshold) frameCount++;
    }
    frameCount*thisComp.frameDuration
    
    

    It will bog down if your comp is too long.

    In that case you might want to consider using a script.

    Dan

  • Try something like this:

    
    threshold = 10;
    audio = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
    
    f = Math.round(time/thisComp.frameDuration);
    frameCount = 0;
    for (i = 0; i <= f; i++){
      if(audio.valueAtTime(i*thisComp.frameDuration) > threshold) frameCount++;
    }
    frameCount*thisComp.frameDuration
    
    

    It will bog down if your comp is too long.

    In that case you might want to consider using a script.

    Dan

  • Dan Ebberts

    June 10, 2005 at 8:22 pm in reply to: quick expression question

    Just change your second line to:

    [value[0],temp]

    Dan

  • Dan Ebberts

    June 10, 2005 at 8:22 pm in reply to: quick expression question

    Just change your second line to:

    [value[0],temp]

    Dan

  • Dan Ebberts

    June 9, 2005 at 4:38 am in reply to: Effect like a projector breaking down

    Are you talking about when film gets stuck in the projector and melts? AE 6.5 Pro has CC Burn Film which can get you started.

    Dan

Page 1071 of 1081

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