Beta memo: at this time the forums and insider use two different registration and login systems.
We're working on unifying the process, so if you register with your same e-mail on the forums and insider we'll merge your accounts later.
To access the forums please use the login below. -Thanks.
Results 1 to 3 of 3
Thread: Camera Dad
-
25th November 2008, 08:30 #1
Member
- Join Date
- May 2006
- Posts
- 16
Camera Dad
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.
Jason Fotter
www.theoutfitvfx.com
-
26th November 2008, 05:22 #2
Member
- Join Date
- Nov 2008
- Posts
- 2
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...
-
16th December 2008, 05:24 #3
Member
- Join Date
- May 2006
- Posts
- 16
Thank You
This worked perfect.....

Reply With Quote