I am trying to replicate a “Camera Dad” expression that I say one time created for the flame in After Effects. It’s an expression to calculate the scale of a 3D layer to fill the FOV based on it’s distance from Camera. So as you move the layer to or away from camera is calculates the exact scale. I can’t seem to remember where I saw this. Unfortunately I don’t have a flame at my access right now and I don’t remember enough about the math to make it work. Any suggestions would be great.
You can parent the 3d layer to the camera and then use the following expression for the scale property: temp=100*transform.position[2]/thisComp.layer(“Camera 1”).cameraOption.zoom;
[temp, temp, temp]
This requires that the layer is perpendicular to the camera though…
In order to deliver a personalized, responsive service and to improve the site, we remember and store information about how you use it. This is done using simple text files called cookies which sit on your computer. These cookies are completely safe and secure and will never contain any sensitive information. They are used only by fxguide or the trusted partners we work with.OK