Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ziphnor

Colorkeying using the alpha channel: How to make the alpha channel?

This topic is 5899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Yes, this is another of those "how do i get colorkeying in OpenGL" questions. Luckily i have already figured out this can be done using the alpha channel(you see, i actually read all the other posts . My problem is how to create the alpha channel easily. It would be fairly easy to make a little command line utility that walked through a TGA image with an alpha channel(all the loading could be handled by DevIL which im using anyway), and set the alpha values based on the value in the other channels. But i just cant imagine that there isnt a program that can auto-set the alpha channel so that its 255 for all pixels with color != some_rgb_value, and 0 where it is == some_rgb_value, it seems so useful, and so simple. So any ideas? Can it be done with one of the standard image editing programs(Paint Shop/Photoshop/GIMP)? [edited by - ziphnor on July 30, 2002 8:17:49 AM]

Share this post


Link to post
Share on other sites
Advertisement
Ah well, now i''ve made the command line program to do it instead, i woul still like to know whether or not it was a waste of time though

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!