Return-Path: Received: from mail-qa0-f43.google.com ([209.85.216.43] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5356048 for AE-List@media-motion.tv; Fri, 24 Jan 2014 00:34:27 +0100 Received: by mail-qa0-f43.google.com with SMTP id o15so3064390qap.16 for ; Thu, 23 Jan 2014 15:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=o/rC4nk/fv29h0nSPiFUy/3jVdFcnl3CaVJrhQAcj3E=; b=zxFtizS/6Oky7AEU1beOPbKDZDoyEpRhBEHy4hy3WHFNG6QQiHsJBMk8xx1tFi+XUK 0yeRLmN3+EuWrLjVHt8gI6wANJlJn5vrhSs2QZHPhRZGNDutk0f7KK+SBdcE/i8XI+Fk 6xgMJvmsAUMqExHGqXz3V5pwdXo9srsOnr2OvUzyhV/OKfykG5nTyjEAZK90R94P1ipq FIwpM9edtshxopMNCKXnbJ/fFXa5H1kQVKez5DAU3H71Yz0qAp3NKtlrO35fyibiIPp/ vUvJu1KTdoP+w4CHWIEFJ9SY5rV7J/zB8jBLPL7OTV2cP6VsDy4rJ4u0h50iyXx0CpI9 ge7A== X-Received: by 10.140.80.53 with SMTP id b50mr15073883qgd.43.1390520313863; Thu, 23 Jan 2014 15:38:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.216.132 with HTTP; Thu, 23 Jan 2014 15:37:53 -0800 (PST) In-Reply-To: References: From: Teddy Gage Date: Thu, 23 Jan 2014 18:37:53 -0500 Message-ID: Subject: Re: [AE] distribute layers in Z space - but keep "relative" positions To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a11c128c65c615604f0abbd44 --001a11c128c65c615604f0abbd44 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cinema 4D also offers ways to project an image map onto 3D surfaces. Might be an easier way to do it in the long run, and probably how those great channel 4 spots were done. I was playing around in the AE raytracer and sadly it doesn't allow colored shadows or lights through refractive objects, at least that I could figure out. It would be cool if you could shine a video texture through transparent objects onto other layers. Especially if it was volumetric... On Thu, Jan 23, 2014 at 6:29 PM, Nathan Shipley wrote: > Try throwing this expression on a 3D layer's scale property with a camera > in your scene named "Camera 1" > > camZ =3D thisComp.layer("Camera 1").position[2] * -1; > layerZ =3D position[2]; > scaler =3D (1/(camZ / layerZ)) * 100 + 100; > [scaler, scaler, scaler] > > When you move the layer around in Z, it'll scale to appear the same size > from the camera's point of view. Then create another camera that you > animate -- when the second camera matches position with the original > camera, all your objects will line up. > > I made this a long time ago, but if I recall correctly, it may be off if > you use a camera that isn't 50mm, but it should get you started at least! > There's probably a more elegant way to do this that Dan Ebberts has > already figured out. ;) > > - Nathan > > > On Thu, Jan 23, 2014 at 3:16 PM, Rachel Max wrote: > >> Hi again, in the vein of the anamorphic illusions - is there a script or >> trick to affect the Z of a layer, but have it appear as if it hasn=92t m= oved >> by scaling it and changing it=92s position? >> >> I=92ve been eyeballing it but that has to be an easier way or some math = I >> can do. >> >> Thanks, >> Rachel >> >> > --=20 _____________________________ VFX & Motion Graphic Artist teddygage dot com --001a11c128c65c615604f0abbd44 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Cinema 4D also offers ways to project an image map onto 3D= surfaces. Might be an easier way to do it in the long run, and probably ho= w those great channel 4 spots were done. I was playing around in the AE ray= tracer and sadly it doesn't allow colored shadows or lights through ref= ractive objects, at least that I could figure out. It would be cool if you = could shine a video texture through transparent objects onto other layers. = Especially if it was volumetric...


On Thu, Jan 2= 3, 2014 at 6:29 PM, Nathan Shipley <nshipley@gmail.com> wro= te:
Try throwing this expressio= n on a 3D layer's scale property with a camera in your scene named &quo= t;Camera 1"

camZ =3D thisComp.layer("Camera 1").position[= 2] * -1;
layerZ =3D position[2];
scaler =3D (1/(camZ / layerZ)) * 100= + 100;
[scaler, scaler, scaler]

When you move the layer around in Z, it'll scale to appear the same = size from the camera's point of view. =A0Then create another camera tha= t you animate -- when the second camera matches position with the original = camera, all your objects will line up.

I made this a long time ago, but if I recall correctly,= it may be off if you use a camera that isn't 50mm, but it should get y= ou started at least! =A0There's probably a more elegant way to do this = that Dan Ebberts has already figured out. =A0;)

=A0- Nathan



--
=
_____________________________=
VFX & Motion Graphic Artist
teddygage dot com
--001a11c128c65c615604f0abbd44--