Forum Replies Created

Page 1057 of 1081
  • Dan Ebberts

    September 25, 2005 at 7:47 pm in reply to: camera to object angle

    One thing I do is apply the expression to a slider or text layer and comment out everything after the variable I want to track. Not great, but it works.

    Dan

  • Dan Ebberts

    September 25, 2005 at 6:00 pm in reply to: camera to object angle

    OK – I see where you’re going. I think your time remap expression is going to end up looking something like this:

    revTime = 4; //time for 1 revolution of object (seconds)
    v = position – thisComp.layer(“Camera 1”).toWorld([0,0,0]);
    a = radiansToDegrees(Math.atan2(v[2], v[0]));
    linear(a,0,360,0,revTime)

    I haven’t tried it, so it may not be exactly right and you may have to change a sign or add an offset to get it all lined up.

    Dan

  • Dan Ebberts

    September 25, 2005 at 6:00 pm in reply to: camera to object angle

    OK – I see where you’re going. I think your time remap expression is going to end up looking something like this:

    revTime = 4; //time for 1 revolution of object (seconds)
    v = position – thisComp.layer(“Camera 1”).toWorld([0,0,0]);
    a = radiansToDegrees(Math.atan2(v[2], v[0]));
    linear(a,0,360,0,revTime)

    I haven’t tried it, so it may not be exactly right and you may have to change a sign or add an offset to get it all lined up.

    Dan

  • Dan Ebberts

    September 25, 2005 at 3:48 pm in reply to: camera to object angle

    Why not just position the camera and object layer, make the object layer the parent of the camera, then rotate the object layer to match the rotation of the object within the footage? Would that work?

    Dan

  • Dan Ebberts

    September 25, 2005 at 3:48 pm in reply to: camera to object angle

    Why not just position the camera and object layer, make the object layer the parent of the camera, then rotate the object layer to match the rotation of the object within the footage? Would that work?

    Dan

  • Dan Ebberts

    September 25, 2005 at 3:43 pm in reply to: Subtitles into afterFX. Is it possible?

    With scripting, you would use the setValueAtTime() method to create keyframes for the text layer’s Source Text property – either setting the value to the subtitle text at the start time or to blank at the end time. Something like that.

    Dan

  • Dan Ebberts

    September 25, 2005 at 3:43 pm in reply to: Subtitles into afterFX. Is it possible?

    With scripting, you would use the setValueAtTime() method to create keyframes for the text layer’s Source Text property – either setting the value to the subtitle text at the start time or to blank at the end time. Something like that.

    Dan

  • Dan Ebberts

    September 25, 2005 at 5:57 am in reply to: Subtitles into afterFX. Is it possible?

    No, expressions can’t do file I/O. It would need to be in AE’s scripting language, which is based on JavaScript. You need AE 6.5 Pro though.

    Dan

  • Dan Ebberts

    September 25, 2005 at 5:57 am in reply to: Subtitles into afterFX. Is it possible?

    No, expressions can’t do file I/O. It would need to be in AE’s scripting language, which is based on JavaScript. You need AE 6.5 Pro though.

    Dan

  • Dan Ebberts

    September 24, 2005 at 11:11 pm in reply to: Subtitles into afterFX. Is it possible?

    You should be able to import and parse a text file in one of those formats with a script. It would probably work best if you already had a blank text layer all set up with your font, size, color, positioning and justification choices.

    The script wouldn’t be trivial, but it shouldn’t be too tough either.

    Dan

Page 1057 of 1081

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