Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions 3D corner pin…help??

  • 3D corner pin…help??

    Posted by Nico Jones on October 31, 2008 at 10:38 am

    Hello,

    You’ll have to excuse my lack of nous when it comes to expressions, but I simply can’t get the 3D corner pinning technique to work. This is the one…

    https://www.motionscript.com/design-guide/threeD-corner-pin.html

    I don’t know where to put the expression – I may be putting it in the right place but I’m not getting any results so something else may be going wrong in the chain.

    Would someone mind giving me a quick 3D corner pin-for-dummies walkthrough? So a corner pinned solid with it’s points reacting to, say, four 3D nulls.

    Thank you very much…

    NJ

    Darby Edelen replied 17 years, 9 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    October 31, 2008 at 4:01 pm

    The expression get applied to the four corner paremeters of the Corner Pin effect, which you apply to a 2D layer. In the example:

    target = thisComp.layer(“UL”);
    fromComp(target.toComp(target.anchorPoint));

    “UL” would be the name of the 3D null representing the upper left corner and you would apply this version of the expression to the Upper Left parameter. Just edit the expression tok use the names of your nulls. Is that not working?

    Dan

  • Nico Jones

    November 3, 2008 at 9:36 am

    Ah yes, that’s got it, many thanks!

    Nico J BB

  • Darby Edelen

    November 3, 2008 at 7:21 pm

    I’ve found that you can also use a similar technique for the tangents of a Bezier Warp effect on a 3D layer to create fairly convincing, but limited, 3D warps natively in AE (as long as you don’t push it too far!).

    The only difference would be that you need to use fromCompToSurface() instead of fromComp():

    target = thisComp.layer("UL_tangent");
    fromCompToSurface(target.toComp(target.anchorPoint));

    The major problem with this is that fromCompToSurface() will occasionally fail to project the comp point onto the surface of the 3D layer. I suppose you could use 12 3D nulls to control all of the tangents and the corners of the Bezier Warp in 2D, but I like the 3D layer ‘solution.’

    Darby Edelen

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