Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Is there a way....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4779 of 5017
Post > Topic >>

Is there a way...?

by Judie <judie.m.stanley@[EMAIL PROTECTED] > Jun 3, 2008 at 02:00 PM

Hi,

Lets say I have two images in memory. The first image is black and
white (single channel - no alpha), the second one is RGB (no alpha)
and has a black background.

My goal is to draw the first BW image to the color buffer in its
entirety. And then to draw the second one over it making the second's
black background transparent without having to modify the image i.e.
add an alpha channel. That way the first image will show through where
the second image was black. If I could use a 2D Blit operation I could
specify that the color black was transparent. Is there an equivalent
type of operation in OpenGL?

Thanks,

Judie
 




 3 Posts in Topic:
Is there a way...?
Judie <judie.m.stanley  2008-06-03 14:00:45 
Re: Is there a way...?
Paul Geisler <paul.gei  2008-06-27 02:03:03 
Re: Is there a way...?
"jbwest" <jb  2008-06-26 20:20:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 4:43:46 CST 2008.