From: "Nathan Shipley" Received: from mail-pl0-f43.google.com ([209.85.160.43] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 6454582 for AE-List@media-motion.tv; Wed, 23 May 2018 19:53:37 +0200 Received: by mail-pl0-f43.google.com with SMTP id m24-v6so2108454pls.11 for ; Wed, 23 May 2018 11:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2JI7B9Fx8PH4eDRJ8WFFp5rjC6F4mPFSYyD4Egt6jLs=; b=mAQgY8l/ambGqUF3DWsCVsIc+8JEJ2dYVpy6yvfIdVFw/6vZyWN48aal6LIMoRFXDe dJtrZ1zSvpFh6P0UiQR194cS5cvMXof0vhr7ENXyUGFv4rhQdlAFOQr79X7gdMg0FOZR szd+bb3WOCmI3J1XhAVNxd7cjenDpLKgOt8CAjRaA3YbzOOaxHdH9+FiivQD9f4Cb+4u 6xcxTMS3+LwBH3UjhPsQGUKmEFhMUvo9Xyi/D6wleIq+84SFifclkphWWM8F4nSj+G7y s6GanZ0PtnQxICK+mLIeuyeuZW0hnzsQ4jvzXxEpAa05d/sE4uGdX1g5Wic+tdUE2ShU UxFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2JI7B9Fx8PH4eDRJ8WFFp5rjC6F4mPFSYyD4Egt6jLs=; b=GOjbo0QXLnf3NYduNq7ThuM0/aHO32dQ4r/c70F21+NtRoaXVeyEHC8+w8To9R58RH tLkfdCtgdBhDrKUKiRsIf4ZTU7ntmwH7JErc1wv5CRGGuFMOUwE3MSfJw1PkTo+B45aN 8lJo3I5yoZmphgboqSeEmmwf5Mqybbxy6f4EEockXQxtMMQ5wEvo9rMhoP5ry2itvA2b h7nz50gNWDBwuaJ/HCKLUYNbNg8mc/vw1svpOh/FEPgEqm7ZZlg4PH44ORBxqsJbKy+o T0OhfznZE/Zr1GDZ7Ddu9mDaaaXfhglwF56mUGhm2JhWoYAl4mPugZ+qzu5KdR0i7vnj Adpw== X-Gm-Message-State: ALKqPwdra0Ji5hPv7GXqMBeCpidyz7HzRSt/wpbl/dNdInDa4KRPlClT Aj3K7BVjTPhIqOHbM3eRfUm/0TLZR0GBpgRCF5DX8w== X-Google-Smtp-Source: AB8JxZo3NWb8omSSCpVx01K4nFSQyFWt2XQScn8xQpbFN+89cINdqp1R/WGQRjABooEosz+K0wSwTr2wklrBLmqtFiI= X-Received: by 2002:a17:902:aa8e:: with SMTP id d14-v6mr3894127plr.344.1527098421668; Wed, 23 May 2018 11:00:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:34ca:0:0:0:0 with HTTP; Wed, 23 May 2018 11:00:01 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 May 2018 11:00:01 -0700 Message-ID: Subject: Re: [AE] Inverse Square Law for glows To: After Effects Mail List Content-Type: multipart/alternative; boundary="000000000000f5f120056ce34e45" --000000000000f5f120056ce34e45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is really great, Brendan. Well said and thanks for sharing. On Tue, May 22, 2018 at 7:23 PM, Brendan Bolles wrote: > On Apr 19, 2018, at 10:41 PM, Chris Zwar wrote: > > > Sure it looks good but I don=E2=80=99t think it=E2=80=99s 100% mathemat= ically perfect. > > > I'm a little late to this thread, but... > > I don't think glow is inverse square, the apparent brightness of an objec= t > as it moves away from you in space is. If glow were simply inverse squar= e, > you could simulate the falloff by applying Levels with gamma 0.5 to your > 0.0-1.0 linear falloff. > > Actual glow in the real world is a function of how many bounces the light > does in the lens/air before getting to the film/CCD through a non-direct > path. Depending on the circumstances, only a fraction of the light gets > scattered in a certain direction, and then only a fraction of that is > scattered back to the camera. Sounds more like a logarithmic falloff tha= n > inverse square. > > Not having a logarithmic falloff plug-in, the multiple blurs thing works > pretty well for me. In line with the logarithmic thing, I usually do some > sort of expression for glow radius like: > > glowRadiusStart * Math.pow(glowStep, glowLayerIndex) > > This gets big quickly, but that's the idea! > > And of course, to physically simulate glow you'd want a linear float colo= r > space with Add mode for each layer and the glowing object to be way over > 1.0. Then because air/glass is pretty transparent I usually set the > Transparency of each layer to 1% or so. > > Bonus points if you then bring the whole thing down a smidge (Levels > output white 0.96 or something) because the glows added extra energy but > the sum total of post-glow energy should be the same as the pre-glow. > > > Brendan > > > +---End of message---+ > To unsubscribe send any message to > --000000000000f5f120056ce34e45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is really great, Brendan.=C2=A0 Well said and thanks = for sharing.

On Tue, May 22, 2018 at 7:23 PM, Brendan Bolles <AE-List@media-moti= on.tv> wrote:
On Apr 19, 20= 18, at 10:41 PM, Chris Zwar wrote:

> Sure it looks good but I don=E2=80=99t think it=E2=80=99s 100% mathema= tically perfect.


I'm a little late to this thread, but...

I don't think glow is inverse square, the apparent brightness of an obj= ect as it moves away from you in space is.=C2=A0 If glow were simply invers= e square, you could simulate the falloff by applying Levels with gamma 0.5 = to your 0.0-1.0 linear falloff.

Actual glow in the real world is a function of how many bounces the light d= oes in the lens/air before getting to the film/CCD through a non-direct pat= h.=C2=A0 Depending on the circumstances, only a fraction of the light gets = scattered in a certain direction, and then only a fraction of that is scatt= ered back to the camera.=C2=A0 Sounds more like a logarithmic falloff than = inverse square.

Not having a logarithmic falloff plug-in, the multiple blurs thing works pr= etty well for me. In line with the logarithmic thing, I usually do some sor= t of expression for glow radius like:

glowRadiusStart * Math.pow(glowStep, glowLayerIndex)

This gets big quickly, but that's the idea!

And of course, to physically simulate glow you'd want a linear float co= lor space with Add mode for each layer and the glowing object to be way ove= r 1.0.=C2=A0 Then because air/glass is pretty transparent I usually set the= Transparency of each layer to 1% or so.

Bonus points if you then bring the whole thing down a smidge (Levels output= white 0.96 or something) because the glows added extra energy but the sum = total of post-glow energy should be the same as the pre-glow.


Brendan


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

--000000000000f5f120056ce34e45--