Archived

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

Javelin

Alfablending with direct draw

Recommended Posts

Hi! I just want to know if there are any support for alfablending in direct draw (not D3D). I know how to do it "manually" but it''s so terrible slow to lock/unlock surfaces. I''m using VC++ DirectDraw7 Tnx // Javelin -- Why do something today when you can do it tomorrow... --

Share this post


Link to post
Share on other sites
its alph a blending yes there is, but i'm not sure how to do it. i don't really know dd7, but there has to be alphablending in it.

[edited by - billybob on July 30, 2002 6:53:10 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
There is no alphablending support in DirectDraw7. But, you can write it yourself still and get good results. See this: http://www.gamedev.net/reference/programming/features/mmxblend/default.asp

Share this post


Link to post
Share on other sites
You can use alpha blending in D3D if you use DrawPrimitive with transformed and light vertices in the call.
This will give you more or less the same functionality as DirectDraw (ie 2D blits) with scaling and rotations etc.

Share this post


Link to post
Share on other sites