Forum Replies Created

Page 37 of 277
  • Filip Vandueren

    May 5, 2022 at 11:26 am in reply to: Hide Light Source but keep the lighting

    Hi Vasco,

    maybe you should start with saying what plug-ins you are using.

    After Effects lights are always invisible, they don’t cast any visible rays, so you are probably using something like lux ? Or a lightfactory preset or other lens flare that is linked to the light’s position using expressions ?

    If we’re even guessing what you are using, then we can’t offer a solution.

  • Hi Adam, this doesn’t implement the blinking of the final character, that could be added with a textanimator, but I hope this can send you on your way:

    const message = "123 Typing T9 style texts inside of after effects.".toUpperCase();
    const multitaps = { "B": "AB", "C": "ABC", "2": "ABC2", "E": "DE", "F": "DEF", "3": "DEF3", "H": "GH", "I": "GHI", "4": "GHI4", "K": "JK", "L": "JKL", "5": "JKL5", "N": "MN", "O": "MNO", "6": "MNO6", "Q": "PQ", "R": "PQR", "S": "PQRS", "7": "PQRS7", "U": "TU", "V": "TUV", "8": "TUV8", "X": "WX", "Y": "WXY", "Z": "WXYZ", "9": "WXYZ9"};
    let steps = [];
    let result = "";
    for (let character of message) {
    let keypresses = multitaps[character];
    if (keypresses == undefined) {
    result += character;
    steps.push(result);
    } else {
    for (let keypress of keypresses) {
    steps.push(result + keypress);
    }
    result+= character;
    }
    }
    let f = timeToFrames(time/5);
    steps[f-1];
  • Filip Vandueren

    May 4, 2022 at 9:42 am in reply to: Text Expression help

    Parent the Name to the title, and give the position of Name this expression:

    [25 + parent.sourceRectAtTime().width-thisLayer.sourceRectAtTime().left, 0];

    it will position it exactly 25 pixels to the right of the title. Adjust that margin to suit your fontsize.

    Or use something like this, if you want to automatically base the spacing on the fontsize of the title:

    [parent.text.sourceText.style.fontSize*.5 + parent.sourceRectAtTime().width-thisLayer.sourceRectAtTime().left, 0]
  • Filip Vandueren

    May 4, 2022 at 9:33 am in reply to: Count bounces of DVD logo

    Hello Ana,

    I’m assuming you used this expression of mine forma few years ago:

    hSpeed= 1111;
    vSpeed= 345;
    hMargin= 150;
    vMargin= 75;
    cw=thisComp.width - hMargin*2;
    ch=thisComp.height -vMargin*2;
    // calculate the layer moving at a constant speed
    x = value[0] - hMargin + time*hSpeed;
    y = value[1] - vMargin + time*vSpeed;
    // keep the layer in bounds
    x = Math.abs(x);
    x%=2*cw;
    x = x>cw ? (2*cw)-x : x;
    y = Math.abs(y);
    y%=2*ch;
    y = y>ch ? (2*ch)-y : y;
    [x,y]+[hMargin,vMargin]

    You can count the bounces by using similar Math instead of actually look at the values of the keyframes.

    this would work:

    hSpeed= 1111;
    vSpeed= 345;
    hMargin= 150;
    vMargin= 75;
    cw=thisComp.width - hMargin*2;
    ch=thisComp.height -vMargin*2;
    startPos = position.valueAtTime(0);
    // calculate the layer moving at a constant speed
    x = startPos[0] - hMargin + time*hSpeed;
    y = startPos[1] - vMargin + time*vSpeed;
    hBounces = Math.floor(x/cw);
    vBounces = Math.floor(y/ch);
    totalBounces = hBounces + vBounces;
  • Filip Vandueren

    April 30, 2022 at 12:43 pm in reply to: Keyframe mogrt in Premiere
  • I wrote an animation preset with some expressions that can solve this:

    https://imgur.com/gallery/9oRKx7R

    this version only works on static text, so doesn’t update if the text is also animated by some text animators.

    In this Demo of V2 (which would support text animators, but I’m not willing to release yet) you can see how I did something similar: I mapped an animated emoji layer on top of another character in the text-layer. This can be done with V1 as well

    https://imgur.com/gallery/I7uVARU

    quick demo of v2 of subSourceRect

  • It probably has more to do with the number of comps: if you’ve added the csv to the timeline in each of those precomps, after effects creates a property in the timeline for every single datapoint in the csv, each with an expression. That quickly adds up to possibly thousands of properties.

    Just having Lots of keyframes (corner pin tracking, or converting lots of things expression to keyframes) can also quickly balloon the file size

  • Filip Vandueren

    April 25, 2022 at 9:49 am in reply to: text colour based on position/index in word

    Hi Christian, you need a different kind of selector: remove the “Range selector” and add an “Expression Selector”, then apply the expression there.

    An expression on Amount of a range cannot calculate different amounts for different characters/words/lines.

  • Filip Vandueren

    April 19, 2022 at 2:16 pm in reply to: Toggle transparency

    He’s on the After Effects forum.
    If you make a donation and ask him nicely, he might show you the trick 🙂

    Or just run his script from your script.

  • Filip Vandueren

    April 19, 2022 at 11:59 am in reply to: Toggle transparency
Page 37 of 277

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