-
Coordinates 2D to 3D and back 3D to 2D in one expression?
Hello!
I’ve created a shiny 3D-tablet(shapes) and it should reflect the floor it sits on.
The floor is actually a shadow-catcher placed by motionmatching the camera movements of the backgroundfootage.
To give the floor some contents that the tablet can reflect I’ve precomposed the floor and replaced the solid with the original backgroundfootage. Then I gave the floor an Infinite size to fill up the whole scene. And by hand, using the corner-pin-tool, I corrected the perspectif.
Now I’ve finally got a 3D floor which aligns perfectly with the backgroundfootage. This prevents me of using camera projection, which also affects the 3D-tablet. Or rebuilding the scene with the vanishing point in Photoshop (I’m not allowed to export *.vpe)
However if I move the compositioncamera, I need to adjust corner-pin-tool to correct the perspective. I guess it can be done with expressions to fixate the corner points to the composition corners.
Since its a 2D effect placed on a 3D layer and the corners should match the 2D composition corners. My question is: How to match both 2D coordinates on different 3D layers, with an expression?
Kind regards Mark
