From: "=?iso-8859-1?Q?Mathias_M=F6hl?=" Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.163] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5565067 for AE-List@media-motion.tv; Fri, 05 Sep 2014 09:14:28 +0200 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1409901244; l=12095; s=domk; d=mamoworld.com; h=In-Reply-To:To:References:Date:Subject:Mime-Version:Content-Type: From; bh=gh3VUsx3Yle8gECR+FqCtkACupg=; b=jwF+qp4hC206eHcQPLG9oIUO9EATqF2zFsH4XFab8Vi2m+HKycfCm/NSKVmHD0inWpu RIjhpFdUWrhlrtaM6/5+0jKt4afM08UrJB5oiLF9/NWwm9scaS4CH01yXlLltARGuyXgX B0JeXbnkGe42ngIjiXEPjsjh3v0EghYodJ8= X-RZG-AUTH: :JWICemClevKDgu8HjcNJMjRl593UXLPRxATGwvl0czvlKPvWKaNvvwXyg2dRJD8= X-RZG-CLASS-ID: mo00 Received: from mathiasmac-2.fritz.box (p5DC65AE2.dip0.t-ipconnect.de [93.198.90.226]) by smtp.strato.de (RZmta 35.8 DYNA|AUTH) with ESMTPSA id Q04169q857E4akB (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Fri, 5 Sep 2014 09:14:04 +0200 (CEST) Content-Type: multipart/alternative; boundary="Apple-Mail=_5864D8E3-8D1F-49D5-91F7-E9DFD5F96759" Message-Id: <99F31118-DB84-4339-80F0-40B769786267@mamoworld.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [AE] camera shake Date: Fri, 5 Sep 2014 09:14:03 +0200 References: To: After List In-Reply-To: X-Mailer: Apple Mail (2.1878.6) --Apple-Mail=_5864D8E3-8D1F-49D5-91F7-E9DFD5F96759 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I think it should also work with separated dimensions. But note that when you separate dimensions, all expressions are deleted = so you have to reapply the expression again (to each dimension = separately). Cheers, Mathias mamoworld.com simplify your cgi Dr. Mathias M=F6hl Marlow 52 , 18551 Sagard, Germany Phone +49 (0)38302 - 88 75 61 On 22 Aug 2014, at 18:00, Daniel Velez wrote: > I've found this expression for camera shake helpful (Dan Hibberts = website) but once i separate the camera positions dimensions it stop = working, is any way that this can be arrange so it works with separate = positions keyframes? >=20 > Thanks >=20 > Dan >=20 >=20 > freq =3D effect("Frequency")("Slider"); > amp =3D effect("Amplitude")("Slider"); >=20 > if (freq.numKeys > 0){ > accum =3D 0; > v0 =3D freq.valueAtTime(0); > t0 =3D 0; > i =3D 1; > while (i <=3D freq.numKeys){ > t =3D freq.key(i).time; > if (t < time){ > accum +=3D (v0 + freq.key(i).value)*(t - t0)/2; > v0 =3D freq.key(i).value; > t0 =3D t; > if (i =3D=3D freq.numKeys){ > accum +=3D (time - t0)*v0; > } > }else{ > accum +=3D (freq + v0)*(time - t0)/2; > break; > } > i++; > } > }else{ > accum =3D freq*time; > } > wiggle(1,amp,1,.5,accum); info@mamoworld.com --Apple-Mail=_5864D8E3-8D1F-49D5-91F7-E9DFD5F96759 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 I = think it should also work with separated dimensions.
But note that = when you separate dimensions, all expressions are deleted so you have to = reapply the expression again (to each dimension = separately).

Cheers,
Mathias
=


mamoworld.com
simplify your = cgi

Dr. Mathias = M=F6hl
Marlow 52 , 18551 Sagard, Germany
Phone +49 (0)38302 - 88 = 75 61


On 22 Aug 2014, at 18:00, Daniel Velez = <AE-List@media-motion.tv> = wrote:

I've found this expression for camera = shake helpful (Dan Hibberts website) but once i separate the camera = positions dimensions it stop working, is any way that this can be = arrange so it works with separate positions keyframes?
=
Thanks

Dan


=
freq =3D effect("Frequency")("Slider"); amp =3D effect("Amplitude")("Slider"); if (freq.numKeys > 0){ accum =3D 0; v0 =3D freq.valueAtTime(0); t0 =3D 0; i =3D 1; while (i <=3D freq.numKeys){ t =3D freq.key(i).time; if (t < time){ accum +=3D (v0 + freq.key(i).value)*(t - t0)/2; v0 =3D freq.key(i).value; t0 =3D t; if (i =3D=3D freq.numKeys){ accum +=3D (time - t0)*v0; } }else{ accum +=3D (freq + v0)*(time - t0)/2; break; } i++; } }else{ accum =3D freq*time; } wiggle(1,amp,1,.5,accum);

= --Apple-Mail=_5864D8E3-8D1F-49D5-91F7-E9DFD5F96759--