« Alpha Channel as a Clipping Channel | Main | Use Poser to Learn Anatomy »

October 15, 2004

Alpha Channel as a Holdback Matte

beautyAlphaCombo2.jpg
When you need to composite soft-edged or motion-blurred 3D CG (which has been rendered over black) over a background, and you don't want matte lines, you will get great results if you use the 3D element's alpha channel as a holdback matte

Most 3D CG is rendered over black. Most 3D CG comes with an alpha channel that precisely fits the 3D foreground element. Here's how to composite that 3D CG over live action using the same image arithmetic that Shake's over node uses.

negAlpha.jpg
First negate the 3D element's alpha channel.

holdBack.jpg
Next, multiply the inverted alpha channel times the background image. This causes the alpha channel to hold back portions of the background image, creating a soft hole into which the foreground element can be dropped.

fgChannel2.jpg
Notice that the foreground is a soft element on a black background that already precisely fits the soft hole in the background.

merged.jpg
Finally, simply add the foreground to the hole in the background. In Photoshop, you can find addition well hidden under Apply Image - or renamed as the blend mode Linear Dodge.

Hooray! No matte lines!

Here's a related page on matte lines and transparency mapping:

Transparency Mapping and MATTE LINES:
http://www.digitalartform.com/archives/2004/12/transparency_ma.html

Posted by digital artform at October 15, 2004 10:40 PM

Comments

Post a comment




Remember Me?

(you may use HTML tags for style)