Forum Replies Created

Page 1001 of 1081
  • Dan Ebberts

    September 29, 2006 at 1:15 am in reply to: 3D layer having a different colored sides

    Glad you like ’em, guys. 🙂

    Dan

  • Dan Ebberts

    September 29, 2006 at 1:00 am in reply to: 3D layer having a different colored sides

    An even easier way, if you want both sides of your layer to be solid colors, would be to just use the Fill effect, with this expression applied to the Color parameter:

    frontColor = [0,0.5,0.5,1]; // turquoise
    backColor = [0.5,0.5,0,1]; // dark yellow
    if (toCompVec([0, 0, 1])[2] > 0 ) frontColor else backColor

    In case you don’t know, in expressions colors are represented by arrays [r,g,b,a] wher r, g, and b are the amounts of red, green, and blue, expressed as numbers between 0 and 1. a is the alpha, just leave it set to 1.

    Dan

  • Dan Ebberts

    September 29, 2006 at 1:00 am in reply to: 3D layer having a different colored sides

    An even easier way, if you want both sides of your layer to be solid colors, would be to just use the Fill effect, with this expression applied to the Color parameter:

    frontColor = [0,0.5,0.5,1]; // turquoise
    backColor = [0.5,0.5,0,1]; // dark yellow
    if (toCompVec([0, 0, 1])[2] > 0 ) frontColor else backColor

    In case you don’t know, in expressions colors are represented by arrays [r,g,b,a] wher r, g, and b are the amounts of red, green, and blue, expressed as numbers between 0 and 1. a is the alpha, just leave it set to 1.

    Dan

  • Dan Ebberts

    September 29, 2006 at 12:31 am in reply to: 3D layer having a different colored sides

    This should work. Apply Fill to your layer. Then apply CC Composite to the layer and apply this expression to the effect’s Opacity parameter:

    if (toCompVec([0, 0, 1])[2] > 0 ) 100 else 0

    Dan

  • Dan Ebberts

    September 29, 2006 at 12:31 am in reply to: 3D layer having a different colored sides

    This should work. Apply Fill to your layer. Then apply CC Composite to the layer and apply this expression to the effect’s Opacity parameter:

    if (toCompVec([0, 0, 1])[2] > 0 ) 100 else 0

    Dan

  • Dan Ebberts

    September 28, 2006 at 10:26 pm in reply to: Wave wipe of small flipping hexagons? please help.

    Assuming your hexagons are layers 1 through 18, this should work:

    numCols = 18;
    col = (index-1)%numCols + 1;

    Dan

  • Dan Ebberts

    September 28, 2006 at 10:26 pm in reply to: Wave wipe of small flipping hexagons? please help.

    Assuming your hexagons are layers 1 through 18, this should work:

    numCols = 18;
    col = (index-1)%numCols + 1;

    Dan

  • Dan Ebberts

    September 28, 2006 at 7:55 pm in reply to: Wave wipe of small flipping hexagons? please help.

    I think I’d do it with an expression like this:

    col = 1; // column number for this layer (1 thru ?)
    delay = .5; // per-column delay (in seconds)

    thisComp.layer(“Null 1”).rotationY.valueAtTime(time – (col-1)*delay)

    The value for “col” would either have to be hard-coded into the expression for each hexigon or calculated based on the layer index and the total number of columns (we can help with that if you need it).

    Dan

  • Dan Ebberts

    September 28, 2006 at 7:55 pm in reply to: Wave wipe of small flipping hexagons? please help.

    I think I’d do it with an expression like this:

    col = 1; // column number for this layer (1 thru ?)
    delay = .5; // per-column delay (in seconds)

    thisComp.layer(“Null 1”).rotationY.valueAtTime(time – (col-1)*delay)

    The value for “col” would either have to be hard-coded into the expression for each hexigon or calculated based on the layer index and the total number of columns (we can help with that if you need it).

    Dan

  • Dan Ebberts

    September 28, 2006 at 5:01 am in reply to: Null object effect to play at any time

    Your details are a little sketchy, but maybe this will help. This Position expression example will have your “delayed” layer start doing (at its first layer marker) what Null 1 does at frame zero. So you just keyframe Null 1 and set a layer marker on the other layer where you want the motion to start.

    control = thisComp.layer(“Null 1”);
    if (marker.numKeys > 0){
    t = time – marker.key(1).time;
    control.position.valueAtTime(t);
    }else{
    value;
    }

    Dan

Page 1001 of 1081

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