From: "Lloyd Alvarez" Received: from c147c-aesc.jetrails.io ([69.27.38.85] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7453699 for AE-List@media-motion.tv; Thu, 24 Oct 2019 17:29:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aescripts.com; s=default; h=Content-Type:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RS6BnuVnJOcPKBUOibZgq42ww6DjorqYDaJji54dDIE=; b=O0a3NmHfhzdRmLGzMLqHFR8hj ldtjp4Ffwq5UfPznPy/zOw7pUzS4gSIhN9twuS7dKW7mzi86GxmF4ycU0yHLHDoV12n7TDhfBCWgd 13ZCnPftbD1ZXYUFwYe7K5wilKWt1HCOeqfKNM7JdyG4mFKgqJEURjBYh8R31sufrgj9/rWhOyPTa mZafZjDB5W3tC8BhXyBp4V2knPRuDXt2g+rLm4NTZzhrsBDawBShQGPwYqCtdKzvaBGy70ncUweEw gn46Z79vYtEK+IpoLdItPcYQNfpcGrE/cbK1x2xlXSG7uOlI6/JcfiW+/nETAzTu83m8ID1PaPhkF n3bLEq/+w==; Received: from mail-vs1-f44.google.com ([209.85.217.44]:45840) by c147c-aesc.jetrails.io with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1iNf7V-0005Z5-Pc for AE-List@media-motion.tv; Thu, 24 Oct 2019 15:33:49 +0000 Received: by mail-vs1-f44.google.com with SMTP id l5so5200053vsh.12 for ; Thu, 24 Oct 2019 08:33:49 -0700 (PDT) X-Gm-Message-State: APjAAAVUW0s5FQMyW6daDcK50A0S3VOaE+fB6/VI0WClrSUZH8v8yt2z XZEGJ7vbdmaNy9g8W0HqxOyik/rg8PgPi16VRV0= X-Google-Smtp-Source: APXvYqzDbwIW8Af2XhflR/Z0kGG4+DWzz4znrVBD+BY4UmfkB66PgN0BaTULsJd8GE9PsVYE+I2EOWS7J5cn3icTE0o= X-Received: by 2002:a67:dc16:: with SMTP id x22mr8938778vsj.159.1571931229190; Thu, 24 Oct 2019 08:33:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 24 Oct 2019 11:33:38 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [AE] Expression help To: After Effects Mail List Content-Type: multipart/alternative; boundary="00000000000086fe560595a9c2e1" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - c147c-aesc.jetrails.io X-AntiAbuse: Original Domain - media-motion.tv X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - aescripts.com X-Get-Message-Sender-Via: c147c-aesc.jetrails.io: authenticated_id: smtp@aescripts.com X-Authenticated-Sender: c147c-aesc.jetrails.io: smtp@aescripts.com X-Source: X-Source-Args: X-Source-Dir: --00000000000086fe560595a9c2e1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable maybe multiply by -1? Math.abs(effect("Bevel Alpha")("Light Angle=E2=80=9D) * -1 Cheers Lloyd On Thu, Oct 24, 2019 at 11:00 AM Phil Spitler wrote: > Try this=E2=80=A6. Basically subtracting 180 from the bevel angle and mak= ing 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 > > > > > [image: bonfire-logo] > Phil Spitler Creative Technologist > t 415.394.8200 <1-415-394-8200> c 415.571.3139 <1-415-571-3139> > > > > > > > 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 > > > -- Cheers, Lloyd --00000000000086fe560595a9c2e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

maybe multiply by -1?

Math.abs(effect("Bevel Alpha&quo= t;)("Light Angle=E2=80=9D) * -1

<= div dir=3D"auto">Cheers
Lloyd

On Thu, Oct 24, 2019 at= 11:00 AM Phil Spitler <AE-Li= st@media-motion.tv> wrote:
Try this=E2=80=A6. B= asically 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=C2=A0=C2=A0Creative Techn= ologist
<= td style=3D"width:15px">3D""
t=C2= =A0=C2=A0415.394.8200=C2=A0=C2= =A0c=C2=A0=C2=A0415.571.31393D""3D""



On Oct 24, 2019, at 6:54 AM, Evan F= otis 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 dro= p shadow to bevel angle /180
(effect("Bevel Alpha")("Ligh= t Angle")/180)

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

Thank you
<= br>

+---End of message---+
To unsubscribe send any message to <= ;ae-list-o= ff@media-motion.tv>

--
Cheers, Lloyd
--00000000000086fe560595a9c2e1--