Forum Replies Created

Page 1005 of 1081
  • Dan Ebberts

    September 17, 2006 at 8:05 pm in reply to: Adding expression to meshwarp

    Nope, sorry. You can with Bezier Warp though, if that’s any help.

    Dan

  • Dan Ebberts

    September 17, 2006 at 8:05 pm in reply to: Adding expression to meshwarp

    Nope, sorry. You can with Bezier Warp though, if that’s any help.

    Dan

  • Dan Ebberts

    September 17, 2006 at 6:07 pm in reply to: Mr. Dan Ebberts Expression for Blinking help

    Yeah, I think that’s pretty much it. I should have used a different variable name since f really represents half the period of the sine wave, not the frequency.

    Dan

  • Dan Ebberts

    September 17, 2006 at 6:07 pm in reply to: Mr. Dan Ebberts Expression for Blinking help

    Yeah, I think that’s pretty much it. I should have used a different variable name since f really represents half the period of the sine wave, not the frequency.

    Dan

  • Dan Ebberts

    September 17, 2006 at 5:10 am in reply to: Mr. Dan Ebberts Expression for Blinking help

    It’s just a sine wave that varies between -1 and +1. The sine wave is enclosed in a conditinal if/else so that whenever the value is between zero and one the opacity is set to 100, otherwise it is set to 0. So you really end up with the opacity being on for two seconds, off for two seconds, etc.

    Hope that helps.

    Dan

  • Dan Ebberts

    September 17, 2006 at 5:10 am in reply to: Mr. Dan Ebberts Expression for Blinking help

    It’s just a sine wave that varies between -1 and +1. The sine wave is enclosed in a conditinal if/else so that whenever the value is between zero and one the opacity is set to 100, otherwise it is set to 0. So you really end up with the opacity being on for two seconds, off for two seconds, etc.

    Hope that helps.

    Dan

  • Dan Ebberts

    September 12, 2006 at 5:38 pm in reply to: Oscillate to make lights run

    Forgot to divide by two. Should be:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 + Math.sin(freq*time*Math.PI*2))/2

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 – Math.sin(freq*time*Math.PI*2))/2

    Dan

  • Dan Ebberts

    September 12, 2006 at 5:38 pm in reply to: Oscillate to make lights run

    Forgot to divide by two. Should be:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 + Math.sin(freq*time*Math.PI*2))/2

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 – Math.sin(freq*time*Math.PI*2))/2

    Dan

  • Dan Ebberts

    September 12, 2006 at 5:36 pm in reply to: Oscillate to make lights run

    Maybe something like this for one layer:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 + Math.sin(freq*time*Math.PI*2))

    and like this for the other layer:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 – Math.sin(freq*time*Math.PI*2))

    Dan

  • Dan Ebberts

    September 12, 2006 at 5:36 pm in reply to: Oscillate to make lights run

    Maybe something like this for one layer:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 + Math.sin(freq*time*Math.PI*2))

    and like this for the other layer:

    freq = 2; //oscillations per second
    intensity = 1; // max glow intensity
    intensity*(1 – Math.sin(freq*time*Math.PI*2))

    Dan

Page 1005 of 1081

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