Mylenium
Forum Replies Created
-
Use the Shift Channel and Set Channel effects to extract your RGB mattes.
Mylenium
[Pour Myl
-
Mylenium
July 7, 2006 at 2:22 pm in reply to: can i use the brightness value of a certain pixel in my comp in an expressionYou 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:22 pm in reply to: can i use the brightness value of a certain pixel in my comp in an expressionYou 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
-
Motion Math is dead ever since v6. You have to think of other ways.
Mylenium
[Pour Myl
-
Motion Math is dead ever since v6. You have to think of other ways.
Mylenium
[Pour Myl
-
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
-
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
-
X=thisComp.layer(“track”).position[0];
Y=thisComp.layer(“track”).position[1]+10;[X,Y]
Mylenium
[Pour Myl
-
X=thisComp.layer(“track”).position[0];
Y=thisComp.layer(“track”).position[1]+10;[X,Y]
Mylenium
[Pour Myl
-
Use the lookAt() method. It does basically the same as orientation parameters.
Mylenium
[Pour Myl