Forum Replies Created

Page 29 of 46
  • Colin Braley

    February 20, 2006 at 11:44 pm in reply to: announcement: new after effects script site

    Nice site, I like it. The consolidate_sequence_renders script should come in handy. That script with the vertabra was strange but a cool idea nonetheless. Good job.,
    ~Colin

  • Colin Braley

    February 19, 2006 at 5:27 am in reply to: How to use Scale:Velocity in expressions

    Well if you want to really base blur level on the velocity of the scale property you have to apply an expression like this:

    //Begin Expression
    other = thisComp.layer(“square”);
    s1 = other.scale.velocityAtTime( time )[0];
    s2 = other.scale.velocityAtTime( time )[1];
    (s1 + s2)/2
    //End expression

    this expression takes the velocity of the x scale of “other layer” and the velocity of the y scale of “other layer” and averages them toghether. However, this may not be what you want because if scale is decreasing velocity will be a negative number, and you can’t have a negative blur factor. After effects will give you a value of zero instead for blur factor. In order to compensate for this you would use an expression like the following:

    //Begin
    other = thisComp.layer(“square”);
    s1 = other.scale.velocityAtTime( time )[0];
    s2 = other.scale.velocityAtTime( time )[1];
    (Math.abs(s1 + s2))/2
    //End

    in the second expression, it does not matter if scale is increasing or decreasing, all that matters is the speed scale is changing at (the speed)

    ~Colin

  • Colin Braley

    February 19, 2006 at 5:27 am in reply to: How to use Scale:Velocity in expressions

    Well if you want to really base blur level on the velocity of the scale property you have to apply an expression like this:

    //Begin Expression
    other = thisComp.layer(“square”);
    s1 = other.scale.velocityAtTime( time )[0];
    s2 = other.scale.velocityAtTime( time )[1];
    (s1 + s2)/2
    //End expression

    this expression takes the velocity of the x scale of “other layer” and the velocity of the y scale of “other layer” and averages them toghether. However, this may not be what you want because if scale is decreasing velocity will be a negative number, and you can’t have a negative blur factor. After effects will give you a value of zero instead for blur factor. In order to compensate for this you would use an expression like the following:

    //Begin
    other = thisComp.layer(“square”);
    s1 = other.scale.velocityAtTime( time )[0];
    s2 = other.scale.velocityAtTime( time )[1];
    (Math.abs(s1 + s2))/2
    //End

    in the second expression, it does not matter if scale is increasing or decreasing, all that matters is the speed scale is changing at (the speed)

    ~Colin

  • Colin Braley

    February 18, 2006 at 2:26 pm in reply to: Random Frames from a movie clip – How to ?
  • Colin Braley

    February 18, 2006 at 2:26 pm in reply to: Random Frames from a movie clip – How to ?
  • Colin Braley

    February 15, 2006 at 11:27 am in reply to: brush question?

    Sorry, AE Con’t use brushes from Photoshop yet. It would be a great feature though; submit one of those feature requests to Adobe 🙂

    ~Colin

  • Colin Braley

    February 15, 2006 at 2:50 am in reply to: Parenting FOCUS point to object!

    If all you want is to make the focus distance be equal to the distance between a camera and a null all you need to do is add this expression to focus distance:

    nullLayer = thisComp.layer(“Null Object”);
    length(this.position, nullLayer.position)

    adjust the name of the layer “Null Object” and you should be set.

    ~Colin

  • Colin Braley

    February 15, 2006 at 2:50 am in reply to: Parenting FOCUS point to object!

    If all you want is to make the focus distance be equal to the distance between a camera and a null all you need to do is add this expression to focus distance:

    nullLayer = thisComp.layer(“Null Object”);
    length(this.position, nullLayer.position)

    adjust the name of the layer “Null Object” and you should be set.

    ~Colin

  • Colin Braley

    February 14, 2006 at 12:08 am in reply to: [HELP] Displacement Maps

    I’m thinking you forgot to precompose your layer with fractal noise on it. Precompose that layer with the “move all attributes” button selected. Then reset the displacement map. That should do it. If you don’t understand this process try looking in the help doc’s about “rendering order.”
    ~Colin

  • Colin Braley

    February 8, 2006 at 10:50 pm in reply to: MAC OS Dock effect

    Heres an expression for scale that should do the scale part for you:

    mouse_layer = thisComp.layer(“mouse layer”);//Mouse layer
    beginScale = 100;//Scale begins at this
    endScale = 250;//Scale ends at this
    beginDistance = 200;//Distance to begin magnifying in pixels
    endDistance = 0;//Distance to end magnifying in pixels
    //–Don’t modify below here
    dis = length(this.position, mouse_layer.position);
    val = ease(dis, beginDistance, endDistance, endScale, beginScale);
    [val, val]

    This question has been asked a few times, search the archives for it. Also, you say that you want to alter the position of these layers too? I could probably help you out if you provide more info about how the layers move. I use Windows so I don’t really remember exactly what the Mac Dock looks like.
    ~Colin

Page 29 of 46

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