Jump to content
  • Advertisement

Archived

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

Hummer

How to draw on screen with alpha?

This topic is 5923 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

Have you any idea how to draw picture with alpha (not with simple transparency) on screen? Thanks

Share this post


Link to post
Share on other sites
Advertisement
yep, in fact i wrote mmx optimized routines for such things. search the forum for information on the software method, otherwise if using d3d, do as siaspete says and use textures with an alpha channel. make sure you enable blending of things wont work quite right.

Share this post


Link to post
Share on other sites
Sorry, you haven''t understood me right. I was asking about drawing flat picture (not the texture) on the screen. For example, to draw text with antialias on screen upon all the stuff
I think I may use 2 triangles and transparent texture, but how to position them relative to camera? It will be good to turn off Z axis and draw all in flat world, like in OpenGL (Am I right?).
Does anybody knows how to do this trick?

Share this post


Link to post
Share on other sites
just used transformed vertices. see the sdk for samples.

[edited by - a person on April 30, 2002 7:44:51 PM]

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!