Forum Replies Created

Page 19 of 66
  • David Cabestany

    May 6, 2016 at 3:19 am in reply to: Divide by zero? error on first frame

    I tested the variables separately, a and t. They both animate when they are one their own.
    It’s the 3rd variable, p which is staying on 19.57, but I don’t get why, both a and t are changing their values over time, based on the slider.

  • David Cabestany

    May 6, 2016 at 3:14 am in reply to: Divide by zero? error on first frame

    But the slider is animating over time, how come the value does not reflect this?
    The other layer is doing it and has the same instruction, only looking at different sliders, which in turn are also deriving their animation from the same original set of keyframes.

  • David Cabestany

    May 6, 2016 at 1:06 am in reply to: Divide by zero? error on first frame

    I revised the expression further.

    It’s the weirdest thing. In one layer it kind of works (although returning inaccurate values), in the other it’s stuck in one number, the final value.
    I sent it to Tim over at Adobe at his request, but here’s a link in case you want to check it.

    https://dl.dropboxusercontent.com/u/35786640/percentBug.aep

    The soloed layers are the ones with this expression.

    Best,
    D.

    a=thisComp.layer("183").effect("Slider Control")("Slider");
    t=a+thisComp.layer("752").effect("Slider Control")("Slider");
    p=(a*100)/t;
    Math.round(p)+"%";

  • David Cabestany

    May 5, 2016 at 10:52 pm in reply to: Divide by zero? error on first frame

    Ok, so I revised my expression to this.

    The problem now is that the amount is stuck, meaning it won’t update as the sliders move.
    I checked each part of the expression using a text layer and everything works, but when I put it together like this it stays fixed on 20(%) which is the final value the slider is supposed to reach.

    D.

    a=thisComp.layer("183").effect("Slider Control")("Slider");
    t=thisComp.layer("935").effect("value")("Slider");
    p=(a*100)/t;
    m=Math.round(p);
    m+"%";

  • If you don’t know, then there’s no hope for the rest of mankind…

    Thanks a lot anyway, I really appreciate that you took the time to look at this.

    Best,
    D.

  • Will do now. I didn’t want to post it without you agreeing first. There was an old version, but this is the latest one:

    https://dl.dropboxusercontent.com/u/35786640/VIDS_esfera%20tarjetas.aep
    https://dl.dropboxusercontent.com/u/35786640/footageSphere.zip

    It’s a stripped down version which only includes the spheres comp, the second link is the linked footage.

    Thanks a lot!.
    D.

  • Hey Dan,

    Still tinkering with this sphere. I finally got the faces to look the way they are supposed to, but now some of the cards randomly flip depending on god knows what. It happens at the end, so my guess the unwanted flipping is related to the global position of each card, as the null controlling them is rotating, weirdest of all is is not all the cards that are on the “back of the sphere rotate, just a few, so I’m a bit perplexed.

    Would you mind taking a look at the file and see if there is anything out of place?

    D.

  • David Cabestany

    April 30, 2016 at 10:40 pm in reply to: Change objects in a sphere to show the back face

    Nah, it didn’t work. Neither changing the sign nor swapping the parameters, as I zoom out (decreasing the radius of the sphere) they all flip sides at one frame.

    Best,
    D.

  • David Cabestany

    April 30, 2016 at 10:31 pm in reply to: Change objects in a sphere to show the back face

    Hey, it’s me again. Sorry for all the extra posting. I just figured it out,

    Change the + sign to – so instead of

    v = fromWorldVec(toWorld(anchorPoint) – parent.toWorld(parent.anchorPoint));
    lookAt(position,position+v)

    you have

    v = fromWorldVec(toWorld(anchorPoint) – parent.toWorld(parent.anchorPoint));
    lookAt(position,position-v)

    Why? No idea. I’m sure Dan can answer that.

    Thanks everyone!
    D.

  • David Cabestany

    April 30, 2016 at 10:28 pm in reply to: Change objects in a sphere to show the back face

    Also, I just noticed one thing, the backs only show if I scale the radius of the sphere way down, otherwise it still shows the fronts only, that’s why in my outer comp it was showing only faces. It had nothing to do with the collapsed transformations.

    Anyway, her’s a link to the file, if anyone wants to check it out:

    https://dl.dropboxusercontent.com/u/35786640/esfera%20tarjetas/VIDS_esfera%20tarjetas.aep

    Best,
    D.

Page 19 of 66

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