Forum Replies Created

Page 3 of 4
  • Is this what you’re looking for?

  • Emre Anil

    January 25, 2017 at 4:25 pm in reply to: Total character in text

    Now I get it.. you want to display as “current/total”

    For the actual text layer, use a text animator for opacity (set to 0) and change range units to “Index”
    Connect “Start” of range animator to your Slider with expression:
    thisComp.layer("Null 1").effect("Slider")("Slider")
    Add this expression to “End” of range animator to set it to the text’s length:
    text.sourceText.length

    For the counter text add the following expression to source text:

    t = thisComp.layer("JAPANESE").text.sourceText.length;
    i = Math.round(thisComp.layer("Null 1").effect("Slider")("Slider"));
    if(i>t){
    i=t;
    i + "/" + t;
    }
    else if (i<0){
    i=0;
    i + "/" + t;
    }
    else
    i + "/" + t

  • Emre Anil

    January 25, 2017 at 3:11 pm in reply to: Total character in text

    Are you sure that “.length” is the problem?
    Your code seems perfectly working..

    Did you change the slider effect’s name to “Slider” or is it the default “Slider Control”?

  • Emre Anil

    January 25, 2017 at 10:33 am in reply to: Sketch like extruded shapes

    I’m glad it worked out for you.. Why don’t you just add the bottom as separate layer like the top one?

  • Emre Anil

    January 25, 2017 at 10:09 am in reply to: Replacing actuall position values using clamp?

    Unfortunately no..

    Because when you add an expression you create a second value for the property. As soon as you delete or disable the expression the property returns to it’s own value (which you could have changed while the expression was still active as I explained)

  • Emre Anil

    January 25, 2017 at 6:50 am in reply to: Replacing actuall position values using clamp?

    Actually that is not a problem, it’s how expressions work..

    When you set a value with expression you don’t actually change the value, you kinda enhance it with functions etc. but the actual value is always there and you can still mess with it. When you click to a value you see the actual one, not the one effected by the expression..

    when you disable the expression or delete it completely, the property is set to the actual value behind the expression.

  • Emre Anil

    January 24, 2017 at 6:44 pm in reply to: Sketch like extruded shapes

    For the vertical ones (cylindrical and cubic) make a seamless vertical pattern as base and make the top piece separately.

    You should have 2 pieces like in the image:

    Apply the RepeTile effect on the base layer and choose the top layer as parent.
    For the top layers position property add the following expression:

    posY = transform.position[1] - thisComp.layer("BASE").effect("CC RepeTile")("Expand Down");
    [value[0], posY]

    Move the top layer for positioning and animate the Expand Down property of base layer for height

    ** keep in mind: continuously rasterizing the layers seems to cause some gaps between repetitions..

  • Assuming your TARGET is on top of the Blue Solid in your first image and attached to your camera, you can add the following expression on the opacity of every comp in your grid. You need to tweak the distance values..

    if( Math.abs(this.transform.position[0] – thisComp.layer(“TARGET”).transform.position[0]) < 1920 &&
    Math.abs(this.transform.position[1] – thisComp.layer(“TARGET”).transform.position[1]) < 1080)
    100
    else
    0

    Hope this helps..

  • Emre Anil

    January 23, 2017 at 5:46 pm in reply to: Stretching objects only on x-axis without effecting y?

    You don’t need to apply the slider effect to a different layer.
    but if you do, you have to show the target layer first. Also i did change the slider names, sorry for the mislead..

    here’s the expression with the null objects and default slider names:

    X = thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”);
    Y = thisComp.layer(“Null 1”).effect(“Slider Control 2”)(“Slider”);
    [X, Y]

    You need to change the name of the target Null if you have more than one in your composition..

  • Emre Anil

    January 23, 2017 at 2:04 pm in reply to: Stretching objects only on x-axis without effecting y?

    I’m not really sure what you want to achieve but you can unlink X-Y scales (uncheck the constrain proportions box just left of the scale values) or link them to sliders (under expression controls effects). With sliders your X and Y scale key’s will be separate so it’ll be easier to animate.

    Also there is Transform effect under Distort, uncheck Uniform Scale and you get separate scale values and also skew option..

    For sliders put 2 slider effects for X and Y and use the expression on layers scale property:

    X = effect(“Slider X”)(“Slider”);
    Y = effect(“Slider Y”)(“Slider”);
    [X, Y]

Page 3 of 4

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