ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Line draw between two points at different XYZ positions

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Pat Bray
Line draw between two points at different XYZ positions
on Jul 5, 2011 at 1:21:08 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....


Return to posts index

Kevin Camp
Re: Line draw between two points at different XYZ positions
on Jul 5, 2011 at 1:46:23 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:

http://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


Return to posts index

Pat Bray
Re: Line draw between two points at different XYZ positions
on Jul 5, 2011 at 2:06:40 pm

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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]