🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1859

Compositing with alpha

#1859
From: Grant J. Munsey
Date: Fri, 20 Nov 1992 23:26
9 lines
877 bytes
Anyone know what the formula is for determining the value of a pixel
when a color is composited into it. I'm talking about the case where
both pixels have rgb and alpha channels. I understand how to do the
color components but I'm stumped on what the final alpha value is. An
example take a color red with .5 alpha {1,0,0,.5} and composite it into
a pixel with gray and .2 alpha {.5,.5,.5,.2} what is the result {?,?,?,?}.
----
Grant Munsey, Mainticore, Inc. (408)252-1135
grant@Manticore.COM,  uunet!ub-gate!gouche!grant   NeXTMail ok.
Technical Details
Message-ID: <359@gouche.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!UB.com!gouche!Manticore.COM

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!UB.com!gouche!Manticore.COM
From: grant@Manticore.COM (Grant J. Munsey)
Newsgroups: comp.sys.next.programmer
Subject: Compositing with alpha
Message-ID: <359@gouche.UUCP>
Date: 20 Nov 92 23:26:10 GMT
Sender: grant@gouche.UUCP
Reply-To: grant@Manticore.COM
Lines: 9