Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions control timewarp with expression slider

  • control timewarp with expression slider

    Posted by Noe Marti on March 31, 2011 at 8:47 pm

    stupid question:

    I try to control a timewarped composition (changing face shapes for a character) from a separate control layer (expression-slider. The project is based on frames (not timecode).

    the values from the slider do not correspond with what I need for the timewarp effect.

    for example: slider value is: 0.55 -> timewarp value is frame 4.

    what kind of conversion do I have to use?

    thanks

    Noe Marti replied 15 years, 1 month ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    March 31, 2011 at 10:51 pm

    I’m not seeing that behavior. When I set “Adjust Time By” to “Source Frame” and link the Source Frame parameter to a slider, whatever I set the slider to, that’s the frame I get. There must be something else going on in your setup.

    Dan

  • Noe Marti

    April 1, 2011 at 5:15 am

    Thanks a lot Dan,

    but I did not fully understand your answer.
    Where do you find “adjust time by” and “source frame” are these expression elements ?

    In the meantime I could solve the problem by dividing by 8 (which is the framerate of the comp):

    expression on timewarp parameter:
    thisComp.layer(“CONTROLS”).effect(“Einstellungen für Schieberegler”)(“Schieberegler”)/8

    kind regards
    noé

  • Dan Ebberts

    April 1, 2011 at 5:23 am

    Ah. You mentioned timewarp, but now I’m guessing maybe you really meant time remapping. The time remapping property expects a value in seconds. If you want to specify frames with your slider, you need to convert from frames to seconds. The way you did it works, or you could do this:

    fr = thisComp.layer(“CONTROLS”).effect(“Einstellungen für Schieberegler”)(“Schieberegler”);
    framesToTime(fr);

    Dan

  • Noe Marti

    April 1, 2011 at 5:34 am

    Hi Dan,

    thanks one billion times! Your 24h online help in the different aftereffects forums is one big miracle to me 🙂 Maybe you are not only one person – maybe Dan Ebberts is a big group of people which is never sleeping ? 😉

    Kind regards
    Noé

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