Darby Edelen
Forum Replies Created
-
In case it wasn’t clear, Roland has your answer:
Use a Levels effect to modify the alpha channel.
Darby Edelen
-
Darby Edelen
October 20, 2013 at 4:26 am in reply to: Creating a Lens Flare with alpha ON TOP of another image -> PremiereWith the lens flare on a black solid apply the channel>shift channels effect and set the alpha to luminance. Then apply the channel > remove color matting effect. That should do it.
Correct interpretation of the alpha in your NLE will be important.
Also: premiere does have blend modes.
Darby Edelen
-
Darby Edelen
October 20, 2013 at 4:22 am in reply to: Distort footage with motion vectors (datamosh)The distort>displacement map effect will distort footage along the horizontal and vertical axes based on input from 2 color channels. With some adjustments to the motion vector data you should be able to get something acceptable.
Darby Edelen
-
Alternatively if you want to have a value you can modify easily to change the weighting you could do something like this:
weight = 3;
max = 10;max * Math.pow(random(), weight);
When weight is equal to 1 the random values will be evenly weighted.
As the weight decreases the values will begin to be weighted toward the ‘max’ value. At a weight of 0 the expression will always return 10.
As the weight increases above 1 the values will be weighted toward 0. At sufficiently high values (>100000) it will become very unlikely to return values other than 0 (while technically the weight would have to be infinite to assure 0 is always returned).
What this is essentially doing is applying a gamma curve to the random() values. If you want a visualization of this you can apply the fractal noise effect to a layer, then apply a levels effect and adjust the gamma slider. Notice how the random brightness values are pushed toward the light and dark depending on which side of 1.0 gamma you slide to.
Darby Edelen
-
[Collin Smith] “effect(“Radial Wipe”)(1)”
That expression is not really doing anything. It’s telling the property to simply access its keyframed values (which the property does anyway).
Replace that with something like:
temporalWiggle(1, framesToTime(5));Increase the first parameter to increase the frequency of the wiggle and the second to increase the amount.
Darby Edelen
-
[Collin Smith] “My question:
I’m trying to see if there is a way to have the value of the radial wipe transition randomly fluctuate (and preferably control the completion so it doesn’t go all the way back to 0% but rather stay in the upper % range).
Does anybody have any advise or solutions for this?”The simplest solution might be to use the temporalWiggle(); function on the slider that is controlling the transition.
What this does is wiggle the sampling of the keyframed value by some amount of time. I created a sample video a long time ago to show how this can be useful, the circle has only 2 position keyframes with linear interpolation and an expression applied like:
temporalWiggle(1, framesToTime(5));In the above case the temporal sampling will vary by up to 5 frames (+ or -) every one second.
Darby Edelen
-
I didn’t see you cover this in your post so I’ll mention it here.
The slider values going from 0-7 will be interpreted by Time Remapping as 0-7 seconds instead of frames if they are passed directly. This occurs regardless of how you view your timecode.
To convert 0-7 into frames you’ll need to use the framesToTime(); function like this:
f = effect("Frame Number")("Slider");
framesToTime(f);Darby Edelen
-
Something like this applied to the position property should work.
slider = effect("Slider Control")(1);
x = [300, 600];
y = [500, 300];
z = [800, 700];if(slider < 50) linear(slider, 0, 50, x, y);
else linear(slider, 50, 100, y, z);
Darby Edelen
-
What version of C4D are you using? What mode of selection are you in (Object/Polygon/Edge/Vertex)?
Darby Edelen
-
[Kevin Camp] ”
Math.floor(time)+5″Math.floor(time)*5
😉
Darby Edelen