From: "Phil Spitler" Received: from mail-pl1-f171.google.com ([209.85.214.171] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7453693 for AE-List@media-motion.tv; Thu, 24 Oct 2019 16:55:10 +0200 Received: by mail-pl1-f171.google.com with SMTP id w8so11992631plq.5 for ; Thu, 24 Oct 2019 07:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bonfirelabs-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=hzCWXPC8cVFVdHP8VAGKmHwOdrT/BR44n9rJKMR391k=; b=yND6BP8y4kZzf92NYxygZGcBvPdLg2Rqt9n+tFTSXfrIquBNw80gRwjnkAiohD/p5f GEPRHC08Z9s2J7o6jDV9Ln481OKV2eF1xpxXzZIip+mJuyFKlRoWg6nAQtqX77c2vXTv OArq/90Iaxvowns5RQk0d+lDPgVBz2nXzY/WzEsJ3b0MqiAiA3S+eJmFXsAQ1IegbPej LB65hdAix79JR5R+0ZnCauwu132pu+vnU5TBJrlEDtwyA96kmcgZfC31yp+S0cL1koTd FJpwWo/c+qES+uJDMQrjurnho9LWkl00obclPhoQY7k0jwWCmght+xv1Bkg5iWOUzMX9 pJzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=hzCWXPC8cVFVdHP8VAGKmHwOdrT/BR44n9rJKMR391k=; b=msRiQlJjeAHEzspc5q1UTYebSFSl3BbGSHo2MMZ3DctmsVN1puPG4UjJpMG87OgVtr upO8tveh3htBx50iYCDcxeMIbNq+01qZB5wFlUYGT5ZbXbhzAoqiSUfL6ae6VaUaVrwb XKNJbkZJ02QpvYKQAMHnMeyiBTGNaFlgCNmJs15MNxGAouj3FUyMUfF0LvIQ9pSCAvXo 9/8bYlIr2E3RKuLDHoqflmciJD0MFaWSMr7S04631L/EjUqeHzUWKcd71a3FG2pQaN0Z nKZucXx48y1iro2Wwf1YbNILn0hg4uoixzvk/W4nW6tqU+BxE6azbSS/ynzZ7nUgYB10 kLcQ== X-Gm-Message-State: APjAAAXR4g/P8ojqKtWBwLTBF8wBiACVwuUfisRE9eyfHzmFK+wGAoh0 s3bj6jt/p5vwwkXmjgzrcXm8DWfvS0brGg== X-Google-Smtp-Source: APXvYqwYwjKK9hEXQpnOoHak86vxgD/Qkd90dSwjmKBSHU1/mHQHsaa6Mef0LjC6z2gwtdnNqG579Q== X-Received: by 2002:a17:902:ab91:: with SMTP id f17mr16206088plr.136.1571929161849; Thu, 24 Oct 2019 07:59:21 -0700 (PDT) Return-Path: Received: from [10.0.1.92] ([50.225.3.50]) by smtp.gmail.com with ESMTPSA id y15sm37477067pfp.111.2019.10.24.07.59.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Oct 2019 07:59:20 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_D2ECB18A-28F3-4E7C-926C-7792504CFF9C" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [AE] Expression help Date: Thu, 24 Oct 2019 07:59:19 -0700 References: To: After Effects Mail List In-Reply-To: Message-Id: <5A9C6255-4994-4E8A-B9F8-EBC2CD3F2652@bonfirelabs.com> X-Mailer: Apple Mail (2.3445.104.11) --Apple-Mail=_D2ECB18A-28F3-4E7C-926C-7792504CFF9C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Try this=E2=80=A6. Basically subtracting 180 from the bevel angle and = making it stay a positive number. Math.abs(effect("Bevel Alpha")("Light Angle=E2=80=9D)-180) I have not tested it=E2=80=A6 Phil Phil Spitler Creative Technologist t 415.394.8200 c 415.571.3139 = = = = > On Oct 24, 2019, at 6:54 AM, Evan Fotis Georgoulakis = wrote: >=20 > Hello all, >=20 > can a math savvy person please advise on a simple expression where a = drop shadow effect will follow bevel alpha effect angle at the opposite = direction? > (trying to fake a bevel w/ shadow) > I tried linking the drop shadow to bevel angle /180 > (effect("Bevel Alpha")("Light Angle")/180) >=20 > but of course anything less than 180 degrees in the bevel angle = results in 0 for the shadow :-) >=20 > Thank you >=20 >=20 >=20 > +---End of message---+ > To unsubscribe send any message to --Apple-Mail=_D2ECB18A-28F3-4E7C-926C-7792504CFF9C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Try this=E2=80=A6. Basically subtracting 180 from the bevel = angle and making it stay a positive number.

Math.abs(effect("Bevel Alpha")("Light = Angle=E2=80=9D)-180)

I have not tested it=E2=80=A6

Phil




3D"bonfire-logo"
Phil = Spitler  Creative = Technologist
t  415.394.8200  c  415.571.31393D""3D""3D""3D""



On Oct 24, 2019, at 6:54 AM, Evan Fotis Georgoulakis <AE-List@media-motion.tv> wrote:

Hello = all,

can a math savvy person please advise = on a simple expression where a drop shadow effect will follow bevel = alpha effect angle at the opposite direction?
(trying to = fake a bevel w/ shadow)
I tried linking the drop shadow to = bevel angle /180
(effect("Bevel Alpha")("Light = Angle")/180)

but of course anything less = than 180 degrees in the bevel  angle results in 0 for the shadow = :-)

Thank you



+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>

= --Apple-Mail=_D2ECB18A-28F3-4E7C-926C-7792504CFF9C--