Mailing List AE-List@media-motion.tv ? Message #46857
From: jarret langmeire <langmeire@gmail.com>
Subject: Re: [AE] Generate Z-depth pass in AE
Date: Tue, 4 Dec 2012 12:12:46 +1100
To: After Effects Mail List <AE-List@media-motion.tv>
Awesome, Chris, thanks for that. I was trying to use Buena Depth Cue's depth but for some reason I've been unable to get it working. So yea, will definitely try your expression.

Thanks again.

On 4 December 2012 09:50, Chris Zwar <chris@chriszwar.com> wrote:
I do this a lot so I can integrate Particular / Form with the rest of my comp.

Apply the fill effect to each layer, add the following expression to the colour:

near=0;
far=10000;
cp=thisComp.layer("Camera 1").toWorld([0,0,0]);
lp=thisLayer.toWorld(anchorPoint);
d=length(cp,lp);
d=linear(d,near,far,0,1);
[d,d,d,1]

Adjust the near and far as needed.
This isnt perfect but it's a free and fast solution.


-Chris


-----Original Message-----
From: scott.aelist [mailto:scott.aelist@gmail.com]
Sent: Tuesday, December 4, 2012 09:14 AM
To: 'After Effects Mail List'
Subject: Re: [AE] Generate Z-depth pass in AE

I once asked about this because I wanted to us Frischluft on a scene. I
never tried it, but someone suggested using a light with linear falloff to
generate a luminance pass.



+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>



--
--

Jarret

 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster