Forum Replies Created

Page 172 of 285
  • Mylenium

    July 7, 2006 at 2:24 pm in reply to: matte pass problem

    Use the Shift Channel and Set Channel effects to extract your RGB mattes.

    Mylenium

    [Pour Myl

  • You need a color sampler utility such as Digital Anarchy provides it with their Anarchy Toolbox. AE does not have those functions natively.

    Mylenium

    [Pour Myl

  • You need a color sampler utility such as Digital Anarchy provides it with their Anarchy Toolbox. AE does not have those functions natively.

    Mylenium

    [Pour Myl

  • Mylenium

    July 7, 2006 at 2:19 pm in reply to: Motion Math with AE7

    Motion Math is dead ever since v6. You have to think of other ways.

    Mylenium

    [Pour Myl

  • Mylenium

    July 7, 2006 at 2:19 pm in reply to: Motion Math with AE7

    Motion Math is dead ever since v6. You have to think of other ways.

    Mylenium

    [Pour Myl

  • Mylenium

    July 7, 2006 at 5:57 am in reply to: Expression Help (Lux Spotlight rotation)

    I think you are using the wrong approach for this. You should randomize the timing, not the animation itself. What I would do is to create a reference spotlight. Animate it one cycle, then use loopOut(“cycle”) to continue that animation infinitely. On your other lights use something like that:

    seedRandom(index,true);

    original=thisComp.layer(“Reference Light”).rotationX;

    //timing variation offset in seconds

    time_min=-10;
    time_max=10;
    time_rand=random(time_min,time_max);

    //timing variation multiplier

    time_mult_min=-10;
    time_mult_max=10;
    time_mult=random(time_min,time_max);

    //angle variation

    angle_min=-90;
    angle_max=90;
    angle_rand=random(angle_min,angle_max);

    //rotation value of reference mapped to new time

    angle_time=original.valueAtTime(time+time_rand*time_mult);

    //new rotation

    angle_final=angle_time+angle_rand;

    [angle_final]

    By playing with the values you should be able to control every parameter pretter easily. I would create some sliders on a dummy layer, so you can vary all your parameters easily once you have your expression applied and cloned your lights into an array.

    Mylenium

    [Pour Myl

  • Mylenium

    July 7, 2006 at 5:57 am in reply to: Expression Help (Lux Spotlight rotation)

    I think you are using the wrong approach for this. You should randomize the timing, not the animation itself. What I would do is to create a reference spotlight. Animate it one cycle, then use loopOut(“cycle”) to continue that animation infinitely. On your other lights use something like that:

    seedRandom(index,true);

    original=thisComp.layer(“Reference Light”).rotationX;

    //timing variation offset in seconds

    time_min=-10;
    time_max=10;
    time_rand=random(time_min,time_max);

    //timing variation multiplier

    time_mult_min=-10;
    time_mult_max=10;
    time_mult=random(time_min,time_max);

    //angle variation

    angle_min=-90;
    angle_max=90;
    angle_rand=random(angle_min,angle_max);

    //rotation value of reference mapped to new time

    angle_time=original.valueAtTime(time+time_rand*time_mult);

    //new rotation

    angle_final=angle_time+angle_rand;

    [angle_final]

    By playing with the values you should be able to control every parameter pretter easily. I would create some sliders on a dummy layer, so you can vary all your parameters easily once you have your expression applied and cloned your lights into an array.

    Mylenium

    [Pour Myl

  • Mylenium

    July 6, 2006 at 7:54 pm in reply to: Quick Question…

    X=thisComp.layer(“track”).position[0];
    Y=thisComp.layer(“track”).position[1]+10;

    [X,Y]

    Mylenium

    [Pour Myl

  • Mylenium

    July 6, 2006 at 7:54 pm in reply to: Quick Question…

    X=thisComp.layer(“track”).position[0];
    Y=thisComp.layer(“track”).position[1]+10;

    [X,Y]

    Mylenium

    [Pour Myl

  • Mylenium

    July 6, 2006 at 7:51 pm in reply to: expression for 3D orientation

    Use the lookAt() method. It does basically the same as orientation parameters.

    Mylenium

    [Pour Myl

Page 172 of 285

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