Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects 2D Screen Location of a Light?

  • 2D Screen Location of a Light?

    Posted by Marc Walker on September 19, 2015 at 5:05 pm

    Hi Community.
    I have a 3D environment with lights following an object(tiff seq). The lights are purely position markers from a Cinema 4D .aec file which the composition’s camera is also from.

    So my question is: Can I get the real (2D)screen coordinates of the light (Light’s coordinates on the camera’s screen)from anywhere?

    Thanks

    Marc Walker replied 10 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kalleheikki Kannisto

    September 21, 2015 at 5:36 pm

    To attach a 2D null to a 3D light, add the following expression to the position value of the null:

    thisComp.layer("Light 1").toComp([0, 0, 0]);

    Assuming your light layer name is “Light 1”

  • Marc Walker

    September 22, 2015 at 7:58 pm

    Thanks Kalle, been waiting for that answer for days!

    I thought there must be a simple expression for it, but I didn’t know what I was looking for.

    Thanks again.

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