Forum Replies Created

Page 6 of 9
  • Lord Scales

    May 24, 2007 at 7:20 pm in reply to: flicker 3d light expression

    Yes

  • Lord Scales

    May 24, 2007 at 2:23 pm in reply to: flicker 3d light expression

    Try this, written by Dan Ebberts:

    segMin = 1.0; //minimum segment duration
    segMax = 1.5; //maximum segment duration
    flickerDurMin = .5;
    flickerDurMax = .8;

    end = 0;
    j = 0;
    while ( time >= end){
    j += 1;
    seedRandom(j,true);
    start = end;
    end += random(segMin,segMax);
    }
    flickerDur = random(flickerDurMin,flickerDurMax);
    if (time > end – flickerDur){
    seedRandom(1,false);
    random(100);
    }else{
    100
    }

  • Lord Scales

    May 23, 2007 at 10:31 pm in reply to: LayerSpace Transformations workshop

    Oh, but basically the LayerSpace Transformations are these: toComp (), fromComp (), toWorld ()

    Thinks in the World Space as a 2D environment and think in Comp Space as a 2D environment affected by the camera.

    Sorry with my explanations are not good, I am terrible at writing tutorials and explanations.

  • Lord Scales

    May 23, 2007 at 9:32 pm in reply to: LayerSpace Transformations workshop

    Try http://www.motionscript.com, you will get them easily.

    But an easy (and maybe wrong) way to illustrate the Layer Space Transformations is:

    Image Hosted by ImageShack.us

    And the 2 axis in the image above can be given converting the layer’s Anchor Points to the Comp Space (camera affect) or to the World Space (camera doesn’t affect).

  • Lord Scales

    May 23, 2007 at 6:19 pm in reply to: audio amplitude and scale range

    Hmm, good point. I created my example thinking in sampling a beat in the audio.

  • Lord Scales

    May 23, 2007 at 5:53 pm in reply to: audio amplitude and scale range

    [Dan Ebberts]
    maxAudio = 20; // whatever your maxium audio amplitude is
    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    linear(temp,0,maxAudio,[50,50],[150,150])”

    Dan, using this wouldn’t we get the same?

    minScale = 50;
    maxScale = 150;

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    fS = clamp (temp, minScale, maxScale);

    [fS, fS]

    It is more a test. I am not with AFX in this PC, so I just would like to know with clamp (v, limit1, limit2) cutoffs the value or “fill” it inside the limits.

  • Lord Scales

    May 20, 2007 at 5:52 pm in reply to: Random Scale Expression

    Try this Dan Ebberts tutorial: Random Pan and Scale:

    https://www.motionscript.com/mastering-expressions/random-3.html

    Lord Scales

  • Lord Scales

    May 19, 2007 at 3:47 pm in reply to: Fractal Noise

    Try Channel Combiner to create the Alpha Channel. It can create a sharp looking in the Fractal but sometimes it is pretty nice.

    Lord Scales

  • Lord Scales

    May 18, 2007 at 7:27 pm in reply to: How to find if a property is animated?

    I thought it could be once I use a lot of linear() function. But now I created a better and simplified expression to do the same and I am using less if them.

    I hate when it creates 1 keyframe to every single frame. I think they could make AFX more intelligent in this task of converting expressions to keyframes. It could take 1 or 2 seconds more but anyway it’d be better.

    While they don’t, I am going to use your strategy!

    Lord Scales

  • Lord Scales

    May 18, 2007 at 5:02 pm in reply to: How to find if a property is animated?

    Oh, thanks for help, but I already solved my problem changing completely the expression I was using.
    I just hope this new one wont take one year to render…

    amp = effect(“General Controls”)(“Flickering”);
    w = wiggle (2, amp);
    check = effect(“General Controls”)(“Use Light’s Intensity?”);
    idx = Math.round (effect(“General Controls”)(“Light Index”));
    l = thisComp.layer (idx);
    lPos = l.position;
    lInt = l.intensity;
    aC = thisComp.activeCamera;
    aCPos = aC.position;
    mInt = effect(“General Controls”)(“Intensity”) + w;
    lmInt = mInt + lInt + w;

    curDist = length (aCPos, lPos)
    maxLimit= 2500;
    minLimit = 0
    lmtedLen = clamp (curDist, minLimit, maxLimit);
    FI = linear (lmtedLen, minLimit, maxLimit, mInt, mInt/10);
    FII = linear (lmtedLen, minLimit, maxLimit, lmInt, lmInt/10);
    FIDiv = linear (FI, mInt, mInt/10, 15, 1);
    FIIDiv = linear (FII, lmInt, lmInt/10, 15, 1);
    finFI = linear (FI, mInt, mInt/10, mInt, mInt/FIDiv);
    finFII = linear (FII, lmInt, lmInt/10, lmInt, lmInt/FIIDiv);
    FIMult = linear (FI, mInt, 0, .2, 2);
    FIIMult = linear (FII, lmInt, 0, .2, 2);

    if (check == 1) {
    finFII*FIIMult
    } else {
    finFI*FIMult
    }

    This applied in a slider. In the main one I used this:

    intSlider = effect(“Intensity”)(“Slider”);

    if (Math.floor (intSlider <= 3)) { 0 } else { intSlider } Will it take too much time to render? Lord Scales

Page 6 of 9

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