Return-Path: Received: from mail-oa0-f41.google.com ([209.85.219.41] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4849912 for AE-List@media-motion.tv; Tue, 18 Sep 2012 04:51:22 +0200 Received: by oagj6 with SMTP id j6so5405700oag.28 for ; Mon, 17 Sep 2012 19:52:47 -0700 (PDT) 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=lI84LOm2zw5WhKU1EvnIRHBiSvFD+ZQWOa3AB07557E=; b=jT9j4VUDes68ehkNnWCDrgon14OQE44P/khMs+eVTvRJh2J7XV8wKg+xDS2xoBlRbO QLkC96Ab+hAtfE5TjzM8m4zqINxeCCOkEQ5qxJYTIx6g2tceKQ6cFY52IN4JyNmU4jkN aMbHzxj39VFpFszx3Lrw6ROSiTr2O6LBxtcCBmStv/THyMCLk+KD0Wvd+Bhoan+UG3Ff RlrCioxdXlNgMsX+XPstptVr5zIRN3/fprNShMwm2d4nff6Q3I99CUDQNE+twnlursWD r/vCQjg4YE7zs63bZ8PUEYaRO2o2N9sH0Oqoh7JcpyC8a3C4P16cjl9j/AbCqbQl5fjn nuhA== Received: by 10.60.7.36 with SMTP id g4mr13587089oea.112.1347936767469; Mon, 17 Sep 2012 19:52:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.28.229 with HTTP; Mon, 17 Sep 2012 19:52:27 -0700 (PDT) In-Reply-To: References: From: Byron Nash Date: Mon, 17 Sep 2012 22:52:27 -0400 Message-ID: Subject: Re: [AE] Calculating the size of a vector from camera view To: After Effects Mail List Content-Type: multipart/alternative; boundary=e89a8f64347c34696804c9f0fc3c --e89a8f64347c34696804c9f0fc3c Content-Type: text/plain; charset=ISO-8859-1 No, just near keyframes. I had some issues with the write-on effect that I was using it on. I ended up dumping my cache and database. I'll try it again since I did that. On Mon, Sep 17, 2012 at 8:28 PM, Darby Edelen wrote: > 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)) >> >> >> > --e89a8f64347c34696804c9f0fc3c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No, just near keyframes. I had some issues with the write-on effect that I = was using it on. I ended up dumping my cache and database. I'll try it = again since I did that.

On Mon, Sep 17, 2= 012 at 8:28 PM, Darby Edelen <dedelen@gmail.com> wrote:
Your expression works well for me. Do the &q= uot;pops" seem to occur randomly?


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>



--e89a8f64347c34696804c9f0fc3c--