Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Grant J. Munsey
Fri, 20 Nov 1992 23:26
Compositing with alpha
Author: Grant J. Munsey
Date: Fri, 20 Nov 1992 23:26
Date: Fri, 20 Nov 1992 23:26
9 lines
877 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads