Forum Replies Created

Page 1034 of 1081
  • Dan Ebberts

    March 9, 2006 at 10:35 pm in reply to: expression of animating colors

    Did you successfully add the expression to the fill color (the expression is there and enabled)? When you apply the fill it defaults to red. Are you saying that it stays red when you apply the expression?

    Dan

  • Dan Ebberts

    March 9, 2006 at 9:35 pm in reply to: expression of animating colors

    If you’re using the Fill effect, this should give you a random color:

    seedRandom(index,true);
    random([0,0,0,1],[1,1,1,1])

    Dan

  • Dan Ebberts

    March 9, 2006 at 9:35 pm in reply to: expression of animating colors

    If you’re using the Fill effect, this should give you a random color:

    seedRandom(index,true);
    random([0,0,0,1],[1,1,1,1])

    Dan

  • Dan Ebberts

    March 9, 2006 at 9:12 pm in reply to: Absolute location versus relative?

    toComp() is relative to the coordinate system established by the Camera view. A good example of when you would use toComp() instead of toWorld() is this opacity expression that makes a layer invisible when facing away from the camera:

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

    Dan

  • Dan Ebberts

    March 9, 2006 at 9:12 pm in reply to: Absolute location versus relative?

    toComp() is relative to the coordinate system established by the Camera view. A good example of when you would use toComp() instead of toWorld() is this opacity expression that makes a layer invisible when facing away from the camera:

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

    Dan

  • Dan Ebberts

    March 9, 2006 at 4:32 pm in reply to: Absolute location versus relative?

    In an expresion for that layer you would use:

    toWorld(anchorPoint)

    If you’re referring to the child layer from an expression in another layer you would do it like this:

    L = thisComp.layer(“your child layer”);
    L.toWorld(L.anchorPoint)

    Dan

  • Dan Ebberts

    March 9, 2006 at 4:32 pm in reply to: Absolute location versus relative?

    In an expresion for that layer you would use:

    toWorld(anchorPoint)

    If you’re referring to the child layer from an expression in another layer you would do it like this:

    L = thisComp.layer(“your child layer”);
    L.toWorld(L.anchorPoint)

    Dan

  • Dan Ebberts

    February 28, 2006 at 6:57 pm in reply to: break up x/y/z

    You can express position like this:

    [value[0],value[1],value[2]]

    Just substitue something else for value[0] to affect x only. Like this:

    x = effect(“Slider Control”)(“Slider”);
    [x,value[1],value[2]]

    Dan

  • Dan Ebberts

    February 28, 2006 at 6:57 pm in reply to: break up x/y/z

    You can express position like this:

    [value[0],value[1],value[2]]

    Just substitue something else for value[0] to affect x only. Like this:

    x = effect(“Slider Control”)(“Slider”);
    [x,value[1],value[2]]

    Dan

  • Dan Ebberts

    February 24, 2006 at 11:20 pm in reply to: Cast shadow but not show the actual floor?

    I’ve posted a demo 6.5 project here:

    http://www.motionscript.com/demos/shadow-catcher.aep

    Dan

Page 1034 of 1081

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