Forum Replies Created

  • Thank you for taking the time to respond Tomas! Nice solution.

    I’ve used that method before and It does help me accomplish what I’m going for. The file I shared is a really dumbed down version of what I’m actually doing. The reason I wanted to use Set Matte is that I need to mask out 10-15 layers using that base mouth shape. So the solution feels a little clunky in my scenario because I will just have to duplicate the mouth matte 10-15 times for my final result. However, based on what you said about the render order and some other things I’ve now read, I think you’re right. This is probably the only way to do it.

    Thanks again.

  • Thanks, Dan. That pointed me in the right direction!

  • Hi Dan,

    I’m amazed by this script, I’ve been looking for something like this for a long time. I’m using the code to create dynamic underlines that change automatically with the width of the text. I’m parenting one null object to the position of the left aligned text and using your code to parent another null object to the ragged right side of the text. I’m then using the connect layers plugin to create a stroke that connects the two null objects (thus creating the underline). It seems to be the perfect way to solve my need for dynamic underlines, but the one issue I’m having is once I’ve pasted your script it becomes very taxing on my CPU and doesn’t end up helping me save the time I was hoping to save. My laptop is not very beefy, but I’m baffled because the script seems pretty simple and I feel like I’ve used much more complicated scripts without this kind of lag. Any suggestions?

    MacBook Pro (Retina, 15-inch, Late 2013)
    2.3 GHz Intel Core i7
    16 GB 1600 MHz DDR3
    NVIDIA GeForce GT 750M 2048 MB
    Intel Iris Pro 1536 MB

    L = thisComp.layer("My name is Jonas.");
    for (i = thisComp.width; i >= 0; i--){
    temp = L.sampleImage([i,thisComp.height/2],[0.5,thisComp.height/2],true,time);
    if (temp[3] > 0) break;
    }
    [i,value[1]]

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