Forum Replies Created

Page 1 of 6
  • Erin Shelby

    August 29, 2010 at 12:22 am in reply to: comparing 4 values?

    Yes, basically I have four values on 4 different expression sliders. They will constantly be differing values, but depending on which value is the highest I want a text layer to be a certain color. So (in pseudo code) ideally it would be something like:

    if
    x is highest = make this text layer green
    y is highest = make this text layer yellow
    z is highest = make this text layer blue
    w is highest = make this text layer red

    Filip’s code works for two values, but four is a bit more perplexing. Do i have to nestle the statements?

    Also, I am not sure how to determine the colors exact values using the odd [1,1,1,0] format of after effects. I have the RGB values, is the conversion just divided by 255?

    Thanks for all your help thus far.

    Erin.

  • Erin Shelby

    August 27, 2010 at 4:45 am in reply to: Moving a layer over time

    ah, never mind I think I figured out a way to do it. Thanks for the help thus far!

  • Erin Shelby

    August 27, 2010 at 4:23 am in reply to: Moving a layer over time

    thanks! it does work. however, I thought I could place the expression after a ‘wiggle’ expression I found that wiggled the layer. The end effect being a wiggle, then the layer moves afterwards. Is this possible? I have put the code below, perhaps you can see my intent.

    timeToStart = 8;
    timeToStop = 12;

    if ((time > timeToStart) && (time < timeToStop)){
    w = wiggle(7, 28);
    [value[0],w[1]];
    }else{
    value;
    }

    ease(time,12,15,[value[0],value[1]],[value[0],600])

  • Erin Shelby

    November 8, 2007 at 1:56 am in reply to: How do I do a complex if/else structure?

    Thanks Dan/Colin! I’ll give it a whirl.

    -Erin

  • Erin Shelby

    November 1, 2007 at 7:02 pm in reply to: Wiggling a “to world” position…

    Amazing stuff, thanks Dan!

  • Erin Shelby

    November 1, 2007 at 1:06 pm in reply to: How do I use sine to oscillate a variable….

    Thanks so much, perfect explanation.

  • Erin Shelby

    June 15, 2007 at 5:03 pm in reply to: working metrenome for preview/renders?

    thanks Dan!

  • Erin Shelby

    February 17, 2007 at 3:10 am in reply to: Bones
  • Erin Shelby

    February 15, 2007 at 12:03 pm in reply to: Random Dribble

    Wow, thanks! I’ll try it out and maybe tinker with it.

  • Erin Shelby

    January 22, 2007 at 9:30 pm in reply to: Making a loopOut happen at random times?

    Hey Dan, your expression worked well thanks for the help.

    Slightly related, I was looking at your drummer/marker tutorial and it’s very cool. I was wondering if your arm animation in your demo had multiple different types of animation (ie: The right hand hits the drum between frames 1-10, and between frames 11-20 it flipped the drumstick in the air, and between 21-30 it did something else) – what do you think the best way would be to make a system that you could reference each animation “instance”. I was thinking maybe your marker system would work if adapted slightly (you can comment on markers, so perhaps different markers could have different comments. ie: “drumhit”, “drumstick_twirl”, etc. But I’m not sure if you can write expressions to check the comments of a marker…).

    Essentially, I’m trying to figure out a system to character animate a bit easier then just swapping out heads, ligaments, etc.

Page 1 of 6

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