Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects how to replicate layer on 3d space

  • how to replicate layer on 3d space

    Posted by Marcosh on August 16, 2007 at 9:30 pm

    Hi everyone,

    I have a cropped pic of an actor and I wonder if there’s a script/expression/effect or trick which would allow me to replicate it x amount of times and shift its position on the Z axis so I have a line of that same pic.

    Oh, and I’m using AE 6.5 (my CS3 upgrade is on the mail… yes!)

    Thanks,

    Marcos H.

    Quad G5
    2GB RAM
    OS 10.4.7
    FCP 5.0.4
    AE 6.5

    Adriano Moraes replied 18 years, 9 months ago 3 Members · 7 Replies
  • 7 Replies
  • Adriano Moraes

    August 16, 2007 at 10:33 pm

    Hi there marcos. First thing that came to my mind was trapcode echospace. But than again you must pay for it.

    But I

  • Adriano Moraes

    August 17, 2007 at 1:20 am

    Well I guess I came up with a better solution.

    A free one.

    Using expressions. Here

  • Marcosh

    August 17, 2007 at 1:34 am

    Hey Adriano,

    Thanks for posting the expression… I’m getting an error message though: Class “Global” has no property or method named “transform”.
    Error occurrred at line 3.

    Where’s the beef?

    Obrigado!

    Marcos H.

    Quad G5
    2GB RAM
    OS 10.4.7
    FCP 5.0.4
    AE 6.5

  • Adriano Moraes

    August 17, 2007 at 2:11 am

    OK.

    Try this instead:

    1 – Create the NULL. Don´t rename it.

    2 – Put three slider controls on it. Name the first X the second Y and the third Z.

    3 – Put your image on the comp under the NULL and make it 3D. Than add an expression to the position(ALT CLICK). It´ll write something by itself (like transform.position) leave it there. After those first words write:

    + [

    Then pickwhip to the X slider on the NULL. Put a , and pickwhip to the Y slider. Put a , once more and pickwhip to the Z slider. After that colse the ] Then type

    * index -1;

    Hit enter on the numeric pad.

    Now you can duplicate the layers and move them through the NULL´s sliders.

    I tryed it from scratch and it worked.

    You´ve said you´re using AE 6.5, I´m on CS3 butI don´t think that´s the problem.

    Well. Hope it works this time. It´s working here. I´ll try it tomorrow on my work PC (running AE 7)and on another that I guess has 6.5 and see how it goes.

    Best luck there now. Let me know if you have more problems.

    Cheers.

    Adriano.Ninguem.

  • Mike Clasby

    August 17, 2007 at 4:05 am

    This expression on the Position of a 3D layer works on AE6.5 (I’m stuck down there too, glad you’re moving up):

    position+[0,0,(index-1)*1]

    And just change the 1 at the end to however many pixels you want the layers spaced apart. Just dup (Ctrl D) the layers as many times as you want. Keep the layers together, camera and Null/ other layers below (preferably) or above, if something else is in between there will be a gap.

    If you want to add a slider on a Null, the expression will look like this:

    position+[0,0,(index-1)*thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”)]

    That’s without naming the slider anything special.

    If you wanted to change the x or y similarly, sub in the “,(index-1)*1” (or slider expression, then you definately need to name the sliders) for the first or second “0” in the first expression.

  • Marcosh

    August 17, 2007 at 11:01 am

    Hey Adriano.

    I think I fixed the problem. For some reason, I got rid of the very first word on the expression “transform.” Once it started on “position” it worked fine.

    The only problem is multiplying the layers many many times… There has to be a simpler way then duplicating it over and over again.

    Anyway, I really apreciate your help!

    Marcos H.

    Quad G5
    2GB RAM
    OS 10.4.7
    FCP 5.0.4
    AE 6.5

  • Adriano Moraes

    August 17, 2007 at 12:28 pm

    That

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