Colin Braley
Forum Replies Created
-
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 -
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 expressionthis 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
//Endin 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
-
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 expressionthis 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
//Endin 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
-
-
-
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
-
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
-
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
-
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 -
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