Forum Replies Created

Page 278 of 287
  • Ok, so much for trying to do it without actually trying to see if it works…

    After actually trying it, it is definitely more complicated than I thought. Since the rotation is tied to the Time value, it gets tricky to do what you want with the current method. It would be better to animate the slider to represent time. If you use Time, you will have to sample all previous frames for what the slider value was and add them all up. While it can be done, it is inefficient.

    So, if you use the slider to represent time, the following does it:

    t = effect("Slider Control")("Slider");
    wholeSecond = Math.floor(t);
    rotateDuration = 0.2;
    anglePerSecond = 6; // 360 / 60
    startAngle = wholeSecond * anglePerSecond;

    linear(t, wholeSecond + 0.8, wholeSecond + 1, startAngle, startAngle + anglePerSecond)

    Unfortunately, you’ll have to track the time usage yourself if done this way. For instance, if you wan to speed up between seconds 5 and 6, the keyframed slider values would be:

    0 seconds: 0
    5 seconds: 5
    6 seconds: 9 (time advances 4 seconds within 1 second)
    10 seconds: 13

  • Ok, I see the problem. Try putting the slider reference and “*” right before “time” inside the parenthesis.

  • Kalleheikki Kannisto

    August 19, 2015 at 5:33 pm in reply to: Locating the center of radial gradient?

    If you’re not trying to get a mathematically perfect alignment, you can select the fill with the gradient tool, which shows the center point, put two guides to show the location then use the bounding bow of the graphic to align it to the guides.

  • Should work if you pick whip the slider to the beginning of the last line (before “linear”)and add a multiplication “*” in between.

  • Don’t know about Amortype, but if you were using the xRotation value of the type layer itself, the expression for opacity would be

    if(transform.xRotation>90){0}else{100}

    That assumes at least two things, one being that positive 90 degrees is the correct number, not negative, as well as that the camera is perfectly aligned to the same 90 degrees angle from the text rotation point.

    If the camera position is not correct for this to work, another option is to just keyframe the opacity at the point where it needs to appear.

    Third option would be to come up with an expression that takes the camera position in relation to the text into account to calculate the cutoff angle. That’s definitely more involved, and not knowing how Amortype deals with transformations, futile for me to try.

  • Kalleheikki Kannisto

    August 17, 2015 at 7:30 pm in reply to: Video distortion, warp.

    On second thought, I would recommend Trapcode Mir, it can do what I describe (once you have your bad tv distortion footage created).

    Setting the Fractal frequency of Mir to 0 (and x and y scale to 0) you can use any image or footage to offset the surface in 3D. And you can map the same image/footage as texture on that surface.

  • Kalleheikki Kannisto

    August 17, 2015 at 5:48 pm in reply to: Particular burst

    B. particles go out to one side…

    You can animate a light along the general route you want the particles to follow and set that as Motion Path.

  • Actually, the method I was going to suggest is the same that Cassius suggests above for C4D, so if you already have experience in Cinema 4D, that is probably the way to go. I don’t have experience in C4D, but I would have done it in a similar fashion in Element, that is: create two grid shapes (3D objects) that form the beginning and end shapes, then animate between them. The shapes need to have the same number of vertices (which means same number of squares in this case), otherwise some of the images will be missing. Element (and apparently C4D) can populate particles for each vertex point and animate between two (or more) such shapes.

  • Oh, sorry, I misunderstood the question: Keep increasing, not just increase once.

    In that case, this would be the code:

    v = value;
    fd = thisComp.frameDuration;
    n=0;
    inc=1;
    while(inc == 1){
    if([pick-whip a property value here].valueAtTime(time-fd*n)>=2){
    n=n+1}else{
    inc = 0}
    }
    value = value + 150*n

    This version keeps increasing value 1 as long as value two>= 2 and resets value 1 to original (or keyframed) value when value 2 falls below 2.

    If you need the value to keep increasing through the whole duration of the footage whenever above the threshold, you’ll need the while loop to check for values for ALL preceding frames in the comp, (until time-fd*n<= 0) and increment n for every frame the condition is met.

  • Kalleheikki Kannisto

    August 16, 2015 at 4:17 pm in reply to: Video distortion, warp.

    You need to create a 3D elevation map from the grayscale image and use the same image as texture. Then add some lighting. How to achieve that automatically within After Effects for footage, no idea. If I were to do this, I would use Photoshop 3D, create an action and batch apply it to an image sequence. Not a very fast method, but you can leave it running the batch overnight.

Page 278 of 287

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