Return-Path: Received: from mail-ob0-f169.google.com ([209.85.214.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4849581 for AE-List@media-motion.tv; Mon, 17 Sep 2012 22:04:05 +0200 Received: by obhx4 with SMTP id x4so9329894obh.28 for ; Mon, 17 Sep 2012 13:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=JpK1amnL19q+SS8Jevmn/Xle9p7yVj+N1qtHFnJM/LI=; b=z70HTJmREzDf8xBQcnSD8eUISwUDDNNDPSbon8ZT4yoxZieGgSaJWT1dnBwMPFJhMy A+ukdS6vjLFPsRKRlzAhCap0+/NAHFXxzK70YSY9i2zFNfJzwV1qfzuQ7osuWtU0W6w0 HdWCgYJcNieTPdQq11cCXhPtMHBrIqSTJgLvJU6anmbOVcLNj/Dab7YkPDJkF46LmhtR UxFW9T0+jGKLrMGVGAV0JiuZIrhQUtfdmiBuxIPk7w/xcIaVNLmI2oo0uC4KDzhtIEjP 7+q+Pihsaxavs7cIQcvpeHDQvscfAJotRwOLnfwbxFbbplDGNQXrj1AQJMIDMPqBYMcf CjEQ== Received: by 10.60.29.40 with SMTP id g8mr12843383oeh.25.1347912329704; Mon, 17 Sep 2012 13:05:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.28.229 with HTTP; Mon, 17 Sep 2012 13:05:09 -0700 (PDT) From: Byron Nash Date: Mon, 17 Sep 2012 16:05:09 -0400 Message-ID: Subject: Calculating the size of a vector from camera view To: After Effects Mail List Content-Type: multipart/alternative; boundary=e89a8fb1f96e99b44904c9eb4b07 --e89a8fb1f96e99b44904c9eb4b07 Content-Type: text/plain; charset=ISO-8859-1 I am trying to get the 2D size of a vector in 3D space. I need to know how many pixels wide in 2D a null is as it moves around the comp. This seems to do something, but it is finicky and gives inconsistent results. My keyframes in the Z position are smooth, but the resulting length has strange "pops" in the value. N = thisComp.layer("3D Null"); length(N.toComp(N.anchorPoint), N.toComp(N.anchorPoint+50)) --e89a8fb1f96e99b44904c9eb4b07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am trying to get the 2D size of a vector in 3D space. I need to know how = many pixels wide in 2D a null is as it moves around the comp. This seems to= do something, but it is finicky and gives inconsistent results. My keyfram= es in the Z position are smooth, but the resulting length has strange "= ;pops" in the value.=A0

N =3D thisComp.layer("3D Null");
length(N.toComp(N.anchorPoint), N.toComp(N.anchorPoint+50))
<= div>

--e89a8fb1f96e99b44904c9eb4b07--