Forum Replies Created

Page 1014 of 1081
  • Dan Ebberts

    July 18, 2006 at 7:52 pm in reply to: Dan’s gravity expression, creeping object

    Mike,

    I doesn’t look like the expression has any friction or damping for motion in the x direction – as you’ve discover it just keeps moving at a constant velocity. Let me give it some thought.

    Dan

  • Try these expressions for scale and position. You have to hard-code in the initial position of the camera.

    // scale

    base = thisComp.layer(“Base Layer”); // base layer
    cPos = [320,240,-1343.5]; // camera initial position

    s = value[0]*length(position,cPos)/length(base.position,cPos);
    [s,s,s]

    // position

    base = thisComp.layer(“Base Layer”); // base layer
    cPos = [320,240,-1343.5]; // camera initial position

    ratio = length(position,cPos)/length(base.position,cPos);
    center = [thisComp.width,thisComp.height]/2;
    newXY = ([value[0],value[1]] – center)*ratio + center;
    [newXY[0],newXY[1],value[2]]

    These may not be exactly right, but something similar should work.

    Dan

  • Try these expressions for scale and position. You have to hard-code in the initial position of the camera.

    // scale

    base = thisComp.layer(“Base Layer”); // base layer
    cPos = [320,240,-1343.5]; // camera initial position

    s = value[0]*length(position,cPos)/length(base.position,cPos);
    [s,s,s]

    // position

    base = thisComp.layer(“Base Layer”); // base layer
    cPos = [320,240,-1343.5]; // camera initial position

    ratio = length(position,cPos)/length(base.position,cPos);
    center = [thisComp.width,thisComp.height]/2;
    newXY = ([value[0],value[1]] – center)*ratio + center;
    [newXY[0],newXY[1],value[2]]

    These may not be exactly right, but something similar should work.

    Dan

  • Dan Ebberts

    July 18, 2006 at 1:06 pm in reply to: Using Expressions to link layer to audio frequency

    Check out Trapcode’s Sound Keys plugin. It’s the only way I know of to do what you’re trying to do.

    Dan

  • Dan Ebberts

    July 18, 2006 at 1:06 pm in reply to: Using Expressions to link layer to audio frequency

    Check out Trapcode’s Sound Keys plugin. It’s the only way I know of to do what you’re trying to do.

    Dan

  • Francisco was asking if it’s possible to write an After Effects script that will read in a text file listing the paths to the individual images in a photomosaic, load the images into AE, and assemble the composite image.

    It is definitely possible, and is actually a pretty straight-forward application of scripting.

    AE’s scripting environment is based on JavaScript but has a ton of custom objects that your script must interact with.

    While I wouldn’t want to discourage anyone from trying to write such a script, you’ll probably have a hard time unless you’re fairly familiar with JavaScript and the AE-specific extensions.

    Dan

  • >Would this be possible using After Effect scripting?

    Yes, I’ve done it. It’s a bit of work though.

    >Is the After Effects composition file text based as are the Shake, Nuke and FF5 setup files??

    Hmmm… I don’t know. I don’t think so though.

    Dan

  • Dan Ebberts

    July 12, 2006 at 9:20 pm in reply to: expression help: writing to text file

    Have you tried selecting all the keyframes, copy, then paste to text editor (or excel)? You get some header stuff, but you also get all the tab-delimited values. Check it out.

    Dan

  • Dan Ebberts

    July 12, 2006 at 9:20 pm in reply to: expression help: writing to text file

    Have you tried selecting all the keyframes, copy, then paste to text editor (or excel)? You get some header stuff, but you also get all the tab-delimited values. Check it out.

    Dan

  • Did you try Layer>Transform>Auto Orient>Orient Towards Camera?

    Dan

Page 1014 of 1081

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