Forum Replies Created

  • Michael Natkin

    March 10, 2010 at 9:43 pm in reply to: Slow Code

    Hey, I’m really glad to hear that worked out for yoU!

    Michael Natkin
    Sr. Software Engineer
    Adobe After Effects

  • Michael Natkin

    January 11, 2010 at 10:36 pm in reply to: Slow Code

    Not sure there is much I’ll be able to do. Maybe here’s one idea. If you are using that same expression a bunch of times, create a dummy layer (like a NULL) and put that as the expression on some Expression Control properties there. You’d have to modify it to read from the layer you are interested in. Now point all the expressions that use that to pull their value from the other layer. That may give you better expression caching behavior. Again, this is only going to help if you have that same expr repeated on multiple properties of one layer right now.

    Michael Natkin
    Sr. Software Engineer
    Adobe After Effects

  • Michael Natkin

    January 11, 2010 at 9:59 pm in reply to: Slow Code

    I don’t think it should get slower as the current time increases. It uses a binary search to find them. I could also be wrong that that is your problem, it is an unproven but educated guess. Unfortunately if that is true, you would have to divide your comp up a lot to make a signficant difference by reducing the total number of markers per comp. Maybe if you give us the background of why there are 1000s of markers we could suggest a different approach?

    Michael Natkin
    Sr. Software Engineer
    Adobe After Effects

  • Michael Natkin

    January 11, 2010 at 7:28 pm in reply to: Oval Mask, too oval.

    I’m not completely sure I understand what you are asking, but if your point is that the “circle” in the second one isn’t exactly perfect, you are correct. The circle is made with Bezier curves, which can’t actually represent a perfect circle. Here is a reference:

    https://www.whizkidtech.redprince.net/bezier/circle/

    Michael Natkin
    Sr. Software Engineer
    Adobe After Effects

  • Michael Natkin

    January 11, 2010 at 7:14 pm in reply to: Slow Code

    Ah, in that case the likely culprit is nearestKey. Is it faster when there are less markers?

    Michael Natkin
    Sr. Software Engineer
    Adobe After Effects

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