Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Calling frames of image sequence using Angle Controls

  • Calling frames of image sequence using Angle Controls

    Posted by Jared Flynn on April 12, 2011 at 4:11 pm

    Hey folks! I’ve got an interesting puzzle I hope you can help me solve.

    For a current project of mine, I will be provided an image sequence. The sequence is a long series of renders of a 3D model, each at a slightly different angle (say 30-degree increments on each axis). I’m looking to use this image sequence to create a rig in AE that will let me give the illusion of rotating the model in 3D space, ideally via three Angle Controls on a control layer. It’s supposed to look illustrative or stop-motion-esque, so the jerky nature of the resulting rig would be A-OK.

    I figure the magical expression driving this would live in the image sequence’s Time Remap property, but I’m not sure how to write the code that could take the values of three Angle Controls and call the correct frame from the sequence.

    As yet I’m not sure how the images in the sequence would be organized, but I can likely organize them however would make the most sense for the expression.

    Any insights? As always, your collective wisdom is much appreciated! Thanks in advance,

    Jared Flynn
    Motion Graphics Designer / Lead AE
    Lone Wolf Documentary Group

    Dan Ebberts replied 15 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    April 12, 2011 at 4:25 pm

    You’re on the right track with the time remapping expression. I’d guess you might only need two angle controls — one for latitude (0-180) and one for longitude (0-360). The exact expression depends on the sequence of your images, but it would make sense to have them arranged in blocks for each latitude. Then your expression just uses the latitude control to index to the correct block, and the longitude control to index to the correct image within the block. Then just convert the index to a frame number and the frame number to a time. Pretty straight forward stuff.

    Dan

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