Mailing List AE-List@media-motion.tv ? Message #46873
From: Chris Zwar <chris@chriszwar.com>
Subject: Re: [AE] Generate Z-depth pass in AE
Date: Tue, 4 Dec 2012 16:52:52 +1100
To: After Effects Mail List <AE-List@media-motion.tv>
You're absolutely right, it does, but last time I tried using it the render hit was about 45 seconds per frame! And it was a stereo 3d project so the combined render times were unacceptable...

-Chris 

Sent from my iPhone

On 04/12/2012, at 4:47 PM, Phil Spitler <phil@bonfirelabs.com> wrote:

This expression is a good work around and I have used it many times in the past.

The issue with it is that each layer can only have one depth value which is based on it's distance from the camera.

If your layer is rotated (typical on Y) then the depth matte for that layer should be a gradient, not a flat color.

Buena Depth does get round this problem I believe.

Phil


Phil Spitler  |  Creative Technologist   |  Bonfire Labs  |  t : 415.394.8200  m : 415.571.3139

Website | Facebook | LinkedIn










On Dec 3, 2012, at 5:12 PM, jarret langmeire wrote:

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