Return-Path: Received: from mail-pb0-f46.google.com ([209.85.160.46] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5356044 for AE-List@media-motion.tv; Fri, 24 Jan 2014 00:29:58 +0100 Received: by mail-pb0-f46.google.com with SMTP id um1so2463030pbc.5 for ; Thu, 23 Jan 2014 15:34:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type:subject:date :in-reply-to:to:references:message-id; bh=583IqZJ1vIqSbphDvmUO4ncQ3qPB+N90CXfkPrnZXrc=; b=E4DzKlGT+t5y1yERCalPoKpraMe0A4wb2wzd+i1uWG0b/CNJEhSVn+IaZgNncdMhEz Z+kxNdmjYICjkHPlRtMRv/ox6vlaK9+tKuW9jfnm54fW3YKUnlnljQDAHsSuUvoZ+aCZ ZdmYuebwKrnTr91fTaxxfBy53bcTbNAiet23yyQMrpNEyNdanM6ENx6BVj+T84Oc0rDX xe37Qcoeu9L5tnBEoqQ08fH1Qd1Il2UzgNHACif7Gzc7TQj3GfarLmrKL+/085QsrBec DSJxwazW/RBWm8e5BLM9gJJBFPvHeO/x2aycFPLA2igCZPS//FQMhMi5b02lfL10LFOO Y0ag== X-Gm-Message-State: ALoCoQlpVTZGL/kv8sy/3nx7RipFcsI2PWU5lRMI8tV/sA00YQ/qWODXHpQ3zZ6RKmmMdwx7YJkT X-Received: by 10.66.142.107 with SMTP id rv11mr10971353pab.17.1390520043845; Thu, 23 Jan 2014 15:34:03 -0800 (PST) Return-Path: Received: from [10.0.0.227] ([65.223.58.66]) by mx.google.com with ESMTPSA id gn5sm42351999pbc.29.2014.01.23.15.34.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 15:34:03 -0800 (PST) From: Phil Spitler Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/alternative; boundary="Apple-Mail=_604709BD-6D2B-47CE-86F8-CF081D6D0B59" Subject: Re: [AE] distribute layers in Z space - but keep "relative" positions Date: Thu, 23 Jan 2014 15:34:02 -0800 In-Reply-To: To: "After Effects Mail List" References: Message-Id: X-Mailer: Apple Mail (2.1283) --Apple-Mail=_604709BD-6D2B-47CE-86F8-CF081D6D0B59 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 You can also use Paul's script. http://aescripts.com/pt_multiplane/ Phil Phil Spitler | Creative Technologist | Bonfire Labs | t : = 415.394.8200 m : 415.571.3139 Website | Facebook | LinkedIn On Jan 23, 2014, at 3: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" >=20 > camZ =3D thisComp.layer("Camera 1").position[2] * -1; > layerZ =3D position[2]; > scaler =3D (1/(camZ / layerZ)) * 100 + 100; > [scaler, scaler, scaler] >=20 > 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. >=20 > 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. ;) >=20 > - Nathan >=20 >=20 > 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 = moved by scaling it and changing it=92s position? >=20 > I=92ve been eyeballing it but that has to be an easier way or some = math I can do. >=20 > Thanks, > Rachel >=20 >=20 --Apple-Mail=_604709BD-6D2B-47CE-86F8-CF081D6D0B59 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 You = can also use Paul's script.


Phil

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

Website | Facebook | LinkedIn

On Jan 23, 2014, at 3: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 <rachelmax@mac.com> 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 moved 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



= --Apple-Mail=_604709BD-6D2B-47CE-86F8-CF081D6D0B59--