Forum Replies Created

Page 42 of 411
  • Darby Edelen

    October 20, 2013 at 4:32 am in reply to: independent Alpha control

    In case it wasn’t clear, Roland has your answer:

    Use a Levels effect to modify the alpha channel.

    Darby Edelen

  • With 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

  • Darby Edelen

    October 8, 2013 at 4:56 am in reply to: Weighted Random?

    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

  • Darby Edelen

    October 8, 2013 at 4:38 am in reply to: adding randomness to an expression

    [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

  • Darby Edelen

    October 1, 2013 at 11:34 pm in reply to: adding randomness to an expression

    [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.

    Temporal Wiggle

    Darby Edelen

  • Darby Edelen

    October 1, 2013 at 11:24 pm in reply to: Time remapping stop motion effect bug

    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

  • Darby Edelen

    September 25, 2013 at 11:57 pm in reply to: Position slider expression

    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

  • Darby Edelen

    September 25, 2013 at 11:47 pm in reply to: Newbie problem with moving polygon

    What version of C4D are you using? What mode of selection are you in (Object/Polygon/Edge/Vertex)?

    Darby Edelen

  • Darby Edelen

    September 25, 2013 at 9:34 pm in reply to: Add specific value each second

    [Kevin Camp]
    Math.floor(time)+5″

    Math.floor(time)*5

    😉

    Darby Edelen

Page 42 of 411

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