Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions 3d Point Control

  • Posted by Chifei Soong on May 22, 2012 at 2:00 pm

    how to use “toComp” expression with “3d Point Control” ?
    usually,if we want to match a 2dPosition to a 3dLayer(Null), we may use: thisComp.layer(“Null”).toComp([0,0,0])

    but how to achieve the similar if i wanted to 2D match a 3dPoint defined by a “3d Point Control”? the z value in the “3D point control” doesn’t seem to have any position values to the comp.

    🙂 thanks

    Billy Sides replied 10 years, 9 months ago 3 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    May 22, 2012 at 2:37 pm

    I think the layer with the 3D point control has to be a 3D layer before the point control’s z coordinate will have any affect on toComp().

    Dan

  • Chifei Soong

    May 23, 2012 at 2:41 am

    i have a 3d point control and a circle effect, what i trying to achieve is to link the circle effect.center to the 3d Point. without any 3d Nulls in the scene,
    hopefully i can save the preset and use it as an independent 3d circle effect 🙂

    however i not able to toComp or use the z values in the 3d point control.

    —————————

    combining with the beam effect, i was trying to make something similar to plexus plugin, but with auto animation driven by in/outPoints.

    it will be a bonus if i could somehow link the z values as a multiplier of the circle’s radius.

    now i have a 2d chain of circles with a bunch layers of messy codes :S

    the animation goes like: a circle grows into a chain, then eventually the 1st circle will go to the 2nd circle position and vanish, &so on..

    ef=2; // index of the 3d Point control
    t=.3; //transition time
    t2=inPoint+(t*(ef+2));
    t1=((ef-2)*t); //offsetting to the next 3d point
    v1=effect(ef+7)("Center"); //ef+7 is index of the circle effect
    v2= effect(ef)("3D Point");
    if(time>=t2) ease(time,t2,t2+.3,v2, effect(ef+1)("3D Point")) else
    ease(time,inPoint+t1*((ef-1)*t),inPoint+t1*((ef-1)*t)+t,v1,v2)
    // messy but worked :p

  • Chifei Soong

    May 23, 2012 at 8:48 am
  • Billy Sides

    August 3, 2015 at 5:35 pm

    On a side note, do you happen to know the xml entry for a 3d Point Control?

    A 2d Point Control looks like this:
    Point name="$$$/AE/Preset/Point1=Point 1" default_x="0" default_y="0"
    Also where you were able to find that information would be helpful too.

    -bsides

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