Return-Path: Received: from mail-ie0-f169.google.com ([209.85.223.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4849819 for AE-List@media-motion.tv; Tue, 18 Sep 2012 02:27:05 +0200 Received: by ied10 with SMTP id 10so2447094ied.28 for ; Mon, 17 Sep 2012 17:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OHGjdEqZn+YIOnhxZm2jOS7MnxLl0pSR5jM5Qe4jOdo=; b=Xp8kKPi3XL6hjCyRcspGICt7QOW9oLKDi/3bh2GEX9ugx0rhXqvHBBn77aFrXAUBHO HC+V5w1jqaXQg0qscKOgpR0K5dEf2V5ymJLuVnTvWyQglqowzKXPZkWf1RgBuTHU5L2a gaMC2NCBVyDpPyLwDEs/ZqMleyBJZPRqYCRw7tSMeD8wn9xtcZMA4PooP8l/XNB2udft PRNDIkUhrMxPH23auHXhUfBZbXyqwfM5Es5EzzW7MziU80eGGv5lvPhwZl3OQIAjmBoR DCOhGT2mprs11ZuMCrTgpD0V/quiyunbcSIF44/dMa0pHO6kJNErGOJQYgSYqvpOehDT /jcg== MIME-Version: 1.0 Received: by 10.50.46.226 with SMTP id y2mr6948541igm.62.1347928110456; Mon, 17 Sep 2012 17:28:30 -0700 (PDT) Received: by 10.64.34.243 with HTTP; Mon, 17 Sep 2012 17:28:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Sep 2012 17:28:30 -0700 Message-ID: Subject: Re: [AE] Calculating the size of a vector from camera view From: Darby Edelen To: After Effects Mail List Content-Type: multipart/alternative; boundary=14dae9340bcf34dfea04c9eef8d5 --14dae9340bcf34dfea04c9eef8d5 Content-Type: text/plain; charset=ISO-8859-1 Your expression works well for me. Do the "pops" seem to occur randomly? On Mon, Sep 17, 2012 at 1:05 PM, Byron Nash wrote: > 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)) > > > --14dae9340bcf34dfea04c9eef8d5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Your expression works well for me. Do the "pops" seem to occur ra= ndomly?

On Mon, Sep 17, 2012 at 1:05 PM, Byron Nash = <byronnash@gmail.com> wrote:
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>


--14dae9340bcf34dfea04c9eef8d5--