Forum Replies Created

Page 63 of 277
  • Mike Clasby

    September 5, 2007 at 9:13 pm in reply to: Water Drop sliding down the camera lens

    Here is an earlier post for a raindrop running down an apple, using Blobbyize and a masked layer (drop shape) as alpha:

    https://forums.creativecow.net/readpost/2/898170

    It makes a nice drop, but, if you sub in our vid layer (what the lens sees) it will look like the drop is running down the inside of the lens, or like a drop was running down the inside of a window. What you want I think, is a drop running dowthe outside of our lens, not the inside, and I can’t get the shading to reverse, so that the brightness is on the outside of the drop, which is how I think it should look to be correct.

  • Mike Clasby

    September 5, 2007 at 6:10 pm in reply to: expression increase number by X value

    If you did it with AE’s Convert Audio to Keyframes (it creates a new layer named “Audio Amplitude”), it would look like this expression (on “Transition Completion” of the effect Linear Wipe):

    step = 4;
    minAudio = 0;//minimum for Audio Amplitude to kick in
    maxAudio = 25; //maximum for audio Amplitude
    minValue = 0; //minimum value you want for Transition Completion
    maxValue = 100; //maximum value you want for Transition Completion

    amount = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)/step;

    Math.floor(linear(amount,minAudio,maxAudio,minValue,maxValue))*step

    If you did it with AE’s Convert Audio to Keyframes, it creates a new layer named “Audio Amplitude” (that is literally the total Loudness of the clip, not broken into frequencies like SoundKeys does), and the expression connects Transition Completion to that. You need to look at the graph of the Audio Keyframes and pickout the min and max audio keyframes and plug those in.

    I don’t have soundkeys, but with the demo version it would look like this, on “Transition Completion”:

    step = 4;
    a = thisComp.layer(“Black Solid 1_soundkeys”).effect(“Sound Keys”)(“Output 1”)/step;
    Math.floor(a)*step

    The layer I had soundkeys applier to was named “Black Solid 1_soundkeys”, so plug your layer name into there.

    Since you said there were 24 segments, I used 4 pixels as the step.

  • Mike Clasby

    September 5, 2007 at 4:58 pm in reply to: scripting noob needs help

    Dan has a section named “Scripting” here:

    https://www.motionscript.com/

    The “Other Resources” contains some great links. Some of them have batch conversion, methinks.

    I like this too:

    https://www.nabscripts.com/Downloads/downloads_en_1.php

  • Mike Clasby

    September 5, 2007 at 4:49 pm in reply to: opacity delay

    I just had a Copy/Paste malfunction, here is all of it.

    This expression on Opacity should do what you want (Copy the expression, Alt-click the opacity Stopwatch, Paste, then click outside the expression box):

    delay = 5; //number of frames to delay
    op = thisComp.layer(“Leader”).opacity;
    d = delay*thisComp.frameDuration;
    op.valueAtTime(time – d)

    It assumes the first layer you made is named “Leader”, change the “Leader” in line 2 to whatever you leader layer is named. Actually line 2 should be what you had after the pickwhip you did, except with your layer name, and we made it a variable.

    This expression was reassembled (hacked) form a Dan Ebberts expression from here:

    https://www.motionscript.com/mastering-expressions/follow-the-leader.html

    Those expression are fro trails so they use index-1 which goes off their stacking order, but the expression above will work in any layer arrangement or order.

    Dan’s site is fantastico:

    https://www.motionscript.com/

  • Mike Clasby

    September 5, 2007 at 4:48 pm in reply to: opacity delay

    delay = 5; //number of frames to delay
    op = thisComp.layer(“Leader”).opacity;
    d = delay*thisComp.frameDuration;
    op.valueAtTime(time – d)

  • Mike Clasby

    September 5, 2007 at 4:43 am in reply to: Video velocity

    Andrew has a little “300” thing going on here:

    29. 300-like Speed Ramps & More!

    https://www.videocopilot.net/videotutorials/timeremap/index.htm

    It’s done with timeremapping, but there are lots of tricks, which Andrew shares.

    Is that what you want?

  • Mike Clasby

    September 5, 2007 at 4:38 am in reply to: expression increase number by X value

    I totally agree with Rutger. What are you trying to do?

    Here is an expression when put on Rotation that steps form 0 to 100 in increments of 12. The rotation on the layer was keyframed from 0 to 360 degrees, and the expression breaks the change into 12 degree increments, stopping at 100 (degrees).

    step = 12;
    r = rotation/step;
    myR = Math.floor(r);
    StepR = myR*step;
    if (StepR > 100) 100 else StepR

    It would really help if we knew what you wanted to do.

  • Mike Clasby

    September 5, 2007 at 2:24 am in reply to: elastic animation

    Do you mean the Bulge that’s gerenrated by a magnifying glass.
    Aharon has a tut here;

    https://library.creativecow.net/articles/rabinowitz_aharon/CC_Magnify.php

    There are a few expressions used to keep things centered.

    Is that what you want?

  • Mike Clasby

    September 3, 2007 at 8:50 pm in reply to: Wood Alive

    In your example I think it would look good to play up the misty aspect.

    As a test I did fractal noise on a New Black Solid, chased with Knoll Unmult (to make the dark areas of fractal noise transparent). Knoll is a freebie, here:

    https://www.redgiantsoftware.com/unmult.html

    On a new Black Solid above, add Fractal Noise
    (animate the Transform>Offset within the plugin
    Unclick Uniform Scaling, animate with sliders (increase the Scale width 4 to 5 times as much to get a streaking flowing mist
    Evolution, animate over time for organic movement
    Opacity: 30-40%

    On top of all that I added a duplicate of the Woods, masked off the tree trunks, feathered it so the mist wrapped the trunks a bit, and varied the opacity of the mask depending on how far the tree is into the woods (less transparent the farther in), and it looks nice, like a light mist flowing through the woods.

    Alternatively try muted godrays coming into the woods, or both, mist and rays.

  • Mike Clasby

    September 3, 2007 at 8:02 pm in reply to: Stopwatch Effect???

    If you mean an Old School sweep second hand (that snaps at each second) add this expression to the rotation of the Second Hand:

    Math.floor(time)*6

    Move the anchor point of the second hand to wherever you want it to rotate from with the Pan Behind Tool.

Page 63 of 277

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