Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Script or expression to copy position, orientation of solids from one sequence to another

  • Script or expression to copy position, orientation of solids from one sequence to another

    Posted by Graham Hutchins on July 21, 2009 at 6:50 am

    Hello all,

    This is a re-post from the After Effects forum. I figure I might have a better chance of getting this answered here.

    I have a bit of a complex problem.

    I am creating a 7×5 video wall and using Red Giant PlaneSpace to distribute around 600 176×133 solids on the back half of a cylinder. I’m picking out the middle 35 solids and deleting the rest to get a nicely curved 7×5 wall. I am then precomping the solids into their own sequences into which I will drop video and pictures.

    I then use a scrip called rd: slicer to take any clips that I want to use full screen and cut them up into identically sized (176×133 at 7×5) pieces. I would then like to copy the position and orientation data for the previous video wall segments into the newly created sliced up clip.

    The whole idea is to have a video wall, slightly curved in 3d space, onto which I can have both full screen and individual screen images.

    The two different methods match perfectly, but I’m having to brute force copy and paste data from one segment in one sequence to another, which could get old as we are planning on having more than a few full screen moments for the spot and more than a few spots. Pick whipping expressions sounds equally undesirable.

    I realize that I could fudge this with precomping, overlay modes, and even a bezier curve to simulate 3d, but this will be a green screen spot with at the very least some wide to CU camera cuts and possibly even some matchmoving, so true 3d (at least in the context of After Effects) is a must.

    If I’m going about this the wrong way and someone has a better idea how to make this happen, I am open to suggestions. I like the look of what I have and the control this method affords, I’m just not digging the setup.

    Thanks in advance.

    -Graham

    OSX 10.5.6
    AE CS4, Nuke 5.1.3
    FC Studio 2
    Octo 2.26GB MacPro, 6 GB RAM

    Ben Rollason replied 16 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Graham Hutchins

    July 21, 2009 at 6:55 am

    Also, an expression or method to take a row and pull the middle segment back and the rest of the segments in the row bend in to form a curve would work as well.

    Thanks.

    -Graham

    OSX 10.5.6
    AE CS4, Nuke 5.1.3
    FC Studio 2
    Octo 2.26GB MacPro, 6 GB RAM

  • Ben Rollason

    July 22, 2009 at 11:28 am

    Graham,

    If I understand you correctly, it is basically an expressions job – a copy and paste one, but it needn’t be as cumbersome as you think.

    If you make sure that the layers are in the same order between comps, then you could use something like this…

    position expression: comp(“comp I link to”).layer(thisLayer.index).transform.position;

    orientation expression: comp(“comp I link to”).layer(thisLayer.index).transform.orientation;

    Type this in for one layer, then highlight the position and orientation properties, copy. Highlight all other layers, paste.

    Now open up the other comps you need to link, select all layers, paste.

    Voila. Linked.

    Ben.
    https://www.benrollason.com

    http://www.benrollason.com

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