Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions 2D effect for a 3D object with 3D camera

  • 2D effect for a 3D object with 3D camera

    Posted by Gerg Tolcs on February 23, 2016 at 1:02 pm

    Hi, I want to use a 2D distortion object on my 3D cube, and (it wasn’t complicated enough)I’ve got a camera. For this, I need the position, and the size of my object on the screen.

    I’m too tired to do the math, and it’s really difficult – camera position, rotation, orientation + object position, rotation, orientation… google doesn’t help. Maybe you know a secret place, where I can find the expression for this. 🙂

    Thank you!

    Kalleheikki Kannisto replied 10 years ago 3 Members · 2 Replies
  • 2 Replies
  • Anil Kumar

    May 2, 2016 at 12:39 pm

    Hi

    find 3DM_3d_2_2d.jsx for that or use “PB 3D to 2D Positions.jsx”
    you can attach any 2d pbject on 3d.

    thanks

  • Kalleheikki Kannisto

    May 3, 2016 at 10:04 am

    One possible idea is to attach a 3D null to each corner of the cube and calculate their 2D positions, then derive the bounding box from the x and y minimum and maximum values of the nulls.

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