• Advertisement

Archived

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

Alpha Blending

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

In direct draw 7 is there any way to use the graphics card for alpha blending or does it all have to be software?

Share this post


Link to post
Share on other sites
Advertisement
Unfortunately, no hardware supports alpha channels in DirectDraw blits.

You''ll have to use Direct3D. I suggest you look at the D3DX helper library which comes with the SDK. It has a sprite object which supports alpha channels, rotations, filtered zooms etc.

[hardware vendors don''t see much point in exposing new features for DirectDraw past the basic set required for the Windows GUI. 3D capabilities is what sets them apart, so the manufacturers have been concentrating most of their efforts on those since about 1996!]

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites

  • Advertisement