• Advertisement

Archived

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

alpha blending sprites in Dx

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

Is there a way to alpha blend 2D sprites in Dx? There seem to be flags for it, but the docs say they won''t work. It also seems I could load the images into texture maps and use the 3D blending, but that seems strange, and doesn''t seem to work for larger bitmaps. I''ve got dx7 and dx8, but I haven''t made the conversion to dx8 yet (it seems like a hefty amount of conversion). My code uses some 3D terrain, but 2D sprites on top of it, and I wanted to do some alpha blending of the 2D sprites (3D blending works fine). Thanks, Steven DragonLore http://www.dragonlore.com

Share this post


Link to post
Share on other sites
Advertisement
i''m looking for an answer to your same problem...how can i alphablend 2-D DirectDraw sprites..?

Someone help us out here..eh


:D
http://www.skelman.com
Skelman Software

Share this post


Link to post
Share on other sites
Direct Draw doesn''t do alpha blending. You either do it yourself in software (slow) or use your nifty 3D hardware (which is faster). Some 3D cards (notably the V2 and V3(I think)) don;t allow textures larger than 256x256, so I suspect this to be the problem of it ''doesn''t seem to work for larger bitmaps''. I''m actually currently using a document (found on Mr.Gamemaker), on this very subject - 3DHal AlphaBledning using D3D.

Ro_Akira

Share this post


Link to post
Share on other sites

  • Advertisement