News for hackers. Stuff that matters.
Re:Porter/Duff Compositing and Blend Modes (2013) by mikhailfranco on Wednesday September 06, 2023 @11:31AM (#37406612)
Pixel averages and Porter-Duff alpha blending will always give fuzzy results. You need sub-pixel geometric info to do a more accurate depth blend.

The classic reference is the A-Buffer by Loren Carpenter (SIGGRAPH 1984).

One interesting possibility is to go from a binary matte or averaged anti-aliased layer to subpixel geometry by generating a contour (e.g. Marching Squares).

Then the coarse layers (e.g. green screen) can be incorporated into a high-resolution A-Buffer rendering pipeline with 3D CGI elements.

There are no comments on this comment yet.