Return-Path: Received: from atl4mhob11.myregisteredsite.com ([209.17.115.49] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4915004 for AE-List@media-motion.tv; Tue, 04 Dec 2012 06:49:13 +0100 Received: from mailpod.hostingplatform.com (mail.networksolutionsemail.com [205.178.146.50]) by atl4mhob11.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id qB45r6Kl008852 for ; Tue, 4 Dec 2012 00:53:06 -0500 Received: (qmail 3296 invoked by uid 0); 4 Dec 2012 05:53:02 -0000 Received: from unknown (HELO ?10.216.148.122?) (chris@chriszwar.com@1.147.168.241) by 0 with ESMTPA; 4 Dec 2012 05:53:02 -0000 Subject: Re: [AE] Generate Z-depth pass in AE References: From: Chris Zwar Content-Type: multipart/alternative; boundary=Apple-Mail-A343D982-FE85-44B2-B12D-FE0929088031 X-Mailer: iPhone Mail (9B206) In-Reply-To: Message-Id: <41EB357E-5781-4F2B-B776-1D0ED948209D@chriszwar.com> Date: Tue, 4 Dec 2012 16:52:52 +1100 To: After Effects Mail List Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) --Apple-Mail-A343D982-FE85-44B2-B12D-FE0929088031 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii You're absolutely right, it does, but last time I tried using it the render h= it was about 45 seconds per frame! And it was a stereo 3d project so the com= bined render times were unacceptable... -Chris=20 Sent from my iPhone On 04/12/2012, at 4:47 PM, Phil Spitler wrote: > This expression is a good work around and I have used it many times in the= past. >=20 > The issue with it is that each layer can only have one depth value which i= s based on it's distance from the camera. >=20 > If your layer is rotated (typical on Y) then the depth matte for that laye= r should be a gradient, not a flat color. >=20 > Buena Depth does get round this problem I believe. >=20 > Phil >=20 >=20 > Phil Spitler | Creative Technologist | Bonfire Labs | t : 415.394.8= 200 m : 415.571.3139 >=20 > Website | Facebook | LinkedIn >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On Dec 3, 2012, at 5:12 PM, jarret langmeire wrote: >=20 >> Awesome, Chris, thanks for that. I was trying to use Buena Depth Cue's de= pth but for some reason I've been unable to get it working. So yea, will def= initely try your expression. >>=20 >> Thanks again. >>=20 >> On 4 December 2012 09:50, Chris Zwar wrote: >> I do this a lot so I can integrate Particular / Form with the rest of my c= omp. >>=20 >> Apply the fill effect to each layer, add the following expression to the c= olour: >>=20 >> near=3D0; >> far=3D10000; >> cp=3DthisComp.layer("Camera 1").toWorld([0,0,0]); >> lp=3DthisLayer.toWorld(anchorPoint); >> d=3Dlength(cp,lp); >> d=3Dlinear(d,near,far,0,1); >> [d,d,d,1] >>=20 >> Adjust the near and far as needed. >> This isnt perfect but it's a free and fast solution. >>=20 >>=20 >> -Chris >>=20 >>=20 >> -----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 >>=20 >> 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 t= o >> generate a luminance pass. >>=20 >>=20 >>=20 >> +---End of message---+ >> To unsubscribe send any message to >>=20 >>=20 >>=20 >> --=20 >> -- >>=20 >> Jarret >>=20 >=20 --Apple-Mail-A343D982-FE85-44B2-B12D-FE0929088031 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
You're absolutely right, i= t does, but last time I tried using it the render hit was about 45 seconds p= er frame! And it was a stereo 3d project so the combined render times were u= nacceptable...

-Chris 

Sent from my iPh= one

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

<= div>
This expression is a good work arou= nd and I have used it many times in the past.

The issue w= ith 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 rotat= ed (typical on Y) then the depth matte for that layer should be a gradient, n= ot a flat color.

Buena Depth does get round this pr= oblem 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 r= eason I've been unable to get it working. So yea, will definitely try your e= xpression.

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 com= p.

Apply the fill effect to each layer, add the following expression to the col= our:

near=3D0;
far=3D10000;
cp=3DthisComp.layer("Camera 1").toWorld([0,0,0]);
lp=3DthisLayer.toWorld(anchorPoint);
d=3Dlength(cp,lp);
d=3Dlinear(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.a= elist@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


= --Apple-Mail-A343D982-FE85-44B2-B12D-FE0929088031--