Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Connecting objects in 3D space?

  • Connecting objects in 3D space?

    Posted by Mark Landsburger on June 8, 2005 at 8:59 pm

    Hi all,

    I have a few square objects in 3d space that I want to connect with “lines”. I’ve got all the objects set, but don’t quite no how to draw lines from one to the next. (probably a bunch of ways, but I’d like one that makes sense time wise).

    Thanks for the help and advice,

    LB

    Jon Herron replied 19 years, 8 months ago 6 Members · 8 Replies
  • 8 Replies
  • Steve Roberts

    June 8, 2005 at 9:14 pm

    You could draw a bunch of two-point masks with the pen tool and apply effect>render>stroke.

    Or you could use the beam effect. This is good if you want to attach the ends of each beam to each square’s position using expressions (pickwhipping).

    Steve

  • Mike Clasby

    June 8, 2005 at 9:57 pm
  • Filip Vandueren

    June 8, 2005 at 10:17 pm

    if all layers are 2d,

    you can just pick-whip the start and end-points of the beam effect like in the Tutorial mentioned

    if the layers you’re pointing from and to are real 3d layers,
    then create a 2d layer with the beam effect and use this expression:

    targetLayer=thisComp.layer("3d object 1"); // change this to the correct layername
    targetLayer.toComp(targetLayer.anchorPoint);

    this converts the positions in 3d-space to 2d points.
    use it on both start and endpoint with the right layernames

  • Mark Landsburger

    June 8, 2005 at 11:58 pm

    You guys are blowing my mind… 🙂

    I’m going to see if I can work this out. I’ve done little with expressions unfortunately, but I think I can drudge my way through it.

    It’s a really important project, so I’ll have to!

    Thanks a bunch. I’ll post more questions if I have them.
    LB

  • Mylenium

    June 9, 2005 at 5:19 am

    You could also try using real line shaped solids and a few more expressions. If you need to find out more, just follow the link in my signature.

    Mylenium

    [Pour Myl

  • Jon Herron

    June 10, 2005 at 8:20 pm

    Is there a way to keep everything connected and spipn the whole thing in 3D space? Or would you just use a camera…? get it???

  • Filip Vandueren

    June 10, 2005 at 10:59 pm

    Either you use the camera,

    or

    you create a 3d null, and parent everything to that, then rotate the null.
    If the connecting lines you’re using are with the beam effect and the expression, then don’t parent those layers, only the 3d-ones.

    The parenting way gives a more convincing spin with less keyframes.
    Moving the camera is a bit more difficult, but of course, you have way more options.

  • Jon Herron

    June 11, 2005 at 1:27 am

    Thank you for the insight, very much appreciated!

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