Forum Replies Created

Page 3 of 66
  • David Cabestany

    September 20, 2022 at 4:40 pm in reply to: 2nd part of conditional statement not working

    Thanks Dan, the marker/keyframe mixup is definitely unintended, I only want to use keyframes for this.

    Basically a linear animation between keyframes 1 and 2 and then 0 after that.

  • perfect, let me try it now.

    Thanks a lot Dan.

  • Looks like I have some catch-up reading to do then.

    Thanks!

  • that did the trick. thanks a lot.

    is the last part before the linear expression a new format for using an if/else statement?

  • I’m trying to use it on a different comp with different properties, writing this:

    f=thisComp.layer(“cam ctrl”).transform.position[2];

    k1=f.key(2).value[2];

    k2=f.key(3).value[2];

    time < f.key(2).time ? 0 : linear(f,k1,k2,0,58);

  • Hey Dan, sorry to be a pest but I think I jumped the gun too fast, the expression is not working and instead is returning the error f.key is not a function.

    I tried making f different properties, such as position or rotation but nothing worked.

    I was looking at a different expression when I said this one worked. My bad.

  • Works great, thanks a lot Dan.

  • David Cabestany

    February 17, 2022 at 12:59 am in reply to: Flame vs. AfterEffects

    Hey guys, sorry to revive an almost 15-year-old thread but I wanted to gather opinions on finishing sessions in After Effects after virtually all the initial conditions in the original post have changed, Flame is no longer the crazy expensive tool it used to be and After Effects is far more powerful today than ever, machines are also a lot more capable and affordable. I even remember an Adobe featurette that showed how The Social Network was finished in After Effects and it had over 1000 shots with composites in them.

    I have been doing a lot of finishing using After Effects for the past couple of years (I come from a motion graphics background, so I really know AE very very well) but lately, I’ve been thinking if it would be worth learning a node-based system. Since I already own a copy of Davinci Studio for my colorwork I thought of delving into the Fusion page with more detail. I found that everything I can do there I can do way faster in AE and with the added benefit of using precomped elements and complex expressions, which, to my understanding, Fusion does not have (expressions in DaVinci are very basic and since every scene is isolated, you can use elements from one in another, of course, I could very well be wrong).

    So my question is, as I get more and more compositing work does it make sense to learn Fusion or even Nuke for that purpose, or am I better off staying with AE?


    Don’t kill me for reviving the thread!😬

  • David Cabestany

    July 30, 2021 at 6:41 pm in reply to: Update expression for newer JavaScript engine?

    oh may gaaaaaaaaaad! That was it, thank you so much Dan the man!

  • Try this one, it will repeat whatever keyframed animation you have at the beginning of the layer each time a marker is passed, if you need it to offset the animation rather than just repeating it then someone will have to tweak it a little bit.

    n = 0;

    if (marker.numKeys > 0){

    n = marker.nearestKey(time).index;

    if (marker.key(n).time > time) n–;

    }

    if (n > 0){

    valueAtTime(time-marker.key(n).time);

    }else{

    valueAtTime(0);

    }

Page 3 of 66

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