Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects 2D position coordinates of a 3D layer

  • Jens Mock

    March 13, 2013 at 11:39 pm

    both propositions get me quite close to what I try to achieve but don’t work properly for me.

    I have a 3d-layer (a pre-comped map) with a camera flying around and want a 2d-layer (solid with cc sphere applied to) staying at a certain point on the map from the viewpoint of the active camera.
    I somehow managed to apply tracking data to the solid but since it happened with a lot of trying, deleting and retrying I couldn’t figure out how that actually took place. I was even able to reproduce that once more but let me down the third time. 🙂
    What surprised me even more was that the data came from a still-image (and no script involved so far)

    Anyway, a script would be an even more elegant way of solving my problem but those from Darby and Jan don’t keep the sphere on its place like the tracking points do.

    a solution to either one way is highly appreciated; maybe it’s just a tweaking on one of the scripts above but I’m totally blindfolded to do that myself

    thx in advance, Jens

  • Jens Mock

    March 16, 2013 at 9:17 am

    hi folks,

    I just found the solution to my problem and the above mentioned expression did it, just modified the following:

    l = thisComp.layer("My3DLayer"); l.toComp(l.anchorPoint);

    replaced the Anchor Point by pigwhipping either the Attach Point or the Feature Center of the trackpoint and that’s it. May seems obvious but it needed some days of rest to let me see it :-}

    Jens

  • Brad Magnus

    January 29, 2014 at 1:06 am

    This is a 5 year old problem, but I found it while Googling it for myself. For posterity and whatever it’s worth, you can copy and pasted the x and y coordinates separately. To do so, in the graph editor hit the “Separated Dimensions” button with both layers position revealed. Copy and paste the x and y keyframes. Because they may not exactly line up, use the graph editor to adjust the values by selecting all keyframes, making sure you’re in “Value Edit” view, and lift and lower the keyframes until it lines up.

    The guy from Newton, Motion Boutique shows kinda how to do it here: https://vimeo.com/29777019

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Tommy Dimmel

    May 5, 2015 at 4:36 am

    paste this in you 2D layers position:

    this_comp.layer(“your3Dlayername”).to_comp([0,0])

    Wow! It’s been 6 years since you posted this expression, but it’s EXACTLY what I was looking for! Thank you so much!!!

Page 2 of 2

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