Layer Opacity based on Distance from camera
Posted: January 12th, 2006, 10:52 am
I have a comp with 100's a 3d layers staggered about through 3d space. The camera trucks backwards through them. I am trying to mimic a LOD methodology, and have the layers opacity drive of it's distance from the camera.
I am able to drive the opacity off the position of the camera, (thisComp.layer("Camera 1").position[0]/10) but I can't figure out how to access the measurement of distance from each layer to the camera.
Any thoughts? Thanks in advance for your help.
I am able to drive the opacity off the position of the camera, (thisComp.layer("Camera 1").position[0]/10) but I can't figure out how to access the measurement of distance from each layer to the camera.
Any thoughts? Thanks in advance for your help.