Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Line draw between two points at different XYZ positions

  • Line draw between two points at different XYZ positions

    Posted by Pat Bray on July 5, 2011 at 1:21 pm

    Hi

    Does anyone have any ideas or know any links to tutorials on how to draw a line from A to B, both of which are at different xyz positions? Sounds simple enough but a severe lack of sleep and cold is frying my brain! Can two mask path points be equal to the anchor points of A and B basically, so I can use 3D stroke for example?

    Also, my A/B points are constantly rotating around a global anchor point so my line will need to match….

    Pat Bray replied 14 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    July 5, 2011 at 1:46 pm

    masks are stricly 2d, and they can’t use expressions to link a vertex to another layer or control.

    crgreen.com does have a script that can do it, but you will need to re-run the script if you modify a point that is tracked by one of the vertices. and i’m not sure how it handles 3d coordinates.

    motionscript.com has an expression that i have used to have the end points of the beam effect track the 3d layers:

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

    the line is still a 2d line (no depth of field or perspective) but it will attach the end points to 3d objects as they move about.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Pat Bray

    July 5, 2011 at 2:06 pm

    That’s great, thanks. Thought I was being dim!

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