?
Solved

2d Alphablending..with DirectDraw

Posted on 2003-02-18
3
Medium Priority
?
281 Views
Last Modified: 2013-11-20
Please help me 2D alphablending method with directdraw.

Thanks.
0
Comment
Question by:can9999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
ambience earned 800 total points
ID: 7986541
what mode are you working with (32 bit?) , do you have aplha channel information in your images ?.

If you are working in modes below 32 bits then either you have hardware support for aplha or you have to emulate it yourself. What you have to do is create aplha masks with your surfaces and write your own blit routines that take into account the aplha values.

I would recommend that you have a look at CDX lib (a free directX based game library), its out-dated and incomplete but it does serve as an example of emulating aplha belnding and transparency etc.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question