Return-Path: Received: from mailout07.yourhostingaccount.com ([65.254.253.58] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5356138 for ae-list@media-motion.tv; Fri, 24 Jan 2014 03:16:48 +0100 Received: from mailscan08.yourhostingaccount.com ([10.1.15.8] helo=mailscan08.yourhostingaccount.com) by mailout07.yourhostingaccount.com with esmtp (Exim) id 1W6WO7-0003kN-T4 for ae-list@media-motion.tv; Thu, 23 Jan 2014 21:20:55 -0500 Received: from impout02.yourhostingaccount.com ([10.1.55.2] helo=impout02.yourhostingaccount.com) by mailscan08.yourhostingaccount.com with esmtp (Exim) id 1W6WO6-0002x2-JO for ae-list@media-motion.tv; Thu, 23 Jan 2014 21:20:54 -0500 Received: from authsmtp13.yourhostingaccount.com ([10.1.18.13]) by impout02.yourhostingaccount.com with NO UCE id HeLu1n0020GvC8i01eLuCJ; Thu, 23 Jan 2014 21:20:54 -0500 X-Authority-Analysis: v=2.0 cv=Y4J6Q2iN c=1 sm=1 a=ohnvaXU0VSfMzuyLWMx7PA==:17 a=7PMtpsbJYaQA:10 a=GmJmWRheWlcA:10 a=0_W4_Jd4tm4A:10 a=IkcTkHD0fZMA:10 a=O_RjZzbmAAAA:8 a=EtqFFJXllkUA:10 a=ar7_mbbEAAAA:8 a=zkjkLIJJAAAA:8 a=n-kJSqksAAAA:8 a=Fd8ZojmTpGsY9cFbOZYA:9 a=QEXdDO2ut3YA:10 a=S1MLFhTO56oA:10 a=EDS4UXD-4MkA:10 a=98jSFH7WqmUA:10 a=98qOcNyB16KL63Z3hZrGug==:117 X-EN-OrigOutIP: 10.1.18.13 X-EN-IMPSID: HeLu1n0020GvC8i01eLuCJ Received: from [72.238.209.75] (port=63120 helo=[172.27.35.42]) by authsmtp13.yourhostingaccount.com with esmtpa (Exim) id 1W6WO6-0003wo-Fj for AE-List@media-motion.tv; Thu, 23 Jan 2014 21:20:54 -0500 Subject: Re: [AE] distribute layers in Z space - but keep "relative " positions References: From: Rob Birnholz Content-Type: text/plain; charset=utf-8 X-Mailer: iPad Mail (10B146) In-Reply-To: Message-Id: <6FA3B6C2-D8A4-4834-A226-396B7F8DB7F3@birnholz.com> Date: Thu, 23 Jan 2014 21:20:54 -0500 To: After Effects Mail List Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-EN-UserInfo: 16a2c872279c10d954dfd7e2fcfbfeac:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: absolutemotion@pop.powweb.com Sender: Rob Birnholz X-EN-OrigIP: 72.238.209.75 X-EN-OrigHost: unknown This is great-- thanks Chris Rob Birnholz Absolute Motion Graphics, Inc.=20 Longwood, Florida www.absolutemotiongraphics.com (sent from a mobile device) On Jan 23, 2014, at 6:53 PM, "Chris Zwar" wrote: > Here's the expression I use - apply to a 3D layer's scale value, assuming y= our camera is called "Camera 1" >=20 > campos=3DthisComp.layer("Camera 1").toWorld([0,0,0]); // camera position /= / > zoom=3DthisComp.layer("Camera 1").cameraOption.zoom; // camera zoom // > lpos=3DthisLayer.toWorld(thisLayer.anchorPoint); // layer position // > lscl=3DthisLayer.transform.scale; // layer scale // >=20 > d=3Dlength(campos,lpos); // distance from layer to camera // >=20 > xscl=3Dlscl[0];yscl=3Dlscl[1];zscl=3Dlscl[2]; > x=3D(d/zoom)*xscl; > y=3D(d/zoom)*yscl; > z=3D(d/zoom)*zscl; >=20 > [x,y,z] >=20 >=20 > Basically, the camera's lens is measured in pixels and called "zoom". A l= ayer will appear 100% of it's size (i.e. normal) when its distance from the c= amera is the same as the "zoom" value. >=20 > That expression calculates the distance in world space, so not affected by= parenting, and takes into account the scale values already applied to the l= ayer. >=20 > -Chris >=20 > -----Original Message----- > From: Rachel Max [mailto:rachelmax@mac.com] > Sent: Friday, January 24, 2014 10:16 AM > To: 'After Effects Mail List' > Subject: [AE] distribute layers in Z space - but keep "relative"= positions >=20 > Hi again, in the vein of the anamorphic illusions - is there a script or t= rick to affect the Z of a layer, but have it appear as if it hasn=E2=80=99t m= oved by scaling it and changing it=E2=80=99s position? >=20 > I=E2=80=99ve been eyeballing it but that has to be an easier way or some m= ath I can do. >=20 > Thanks, > Rachel >=20 >=20 >=20 >=20 > +---End of message---+ > To unsubscribe send any message to