Sign in to follow this  

D3D9: Loading & displaying an image w/ variable transparency

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

I'd like to display an image with variable transparency. I tried using D3DXCreateTextureFromFileEx to load a PNG image and the D3DXSprite interface to display it. As you can see, everything's fine on this computer (GeForce 2): http://skonet.ivgn.cc/ss1.jpg However, it won't appear correctly on my old computer (Voodoo 3): http://skonet.ivgn.cc/ss2.gif Could someone take a look at my project's source code and help me out? http://skonet.ivgn.cc/source.zip Thanks!

Share this post


Link to post
Share on other sites
Well, don't mind my saying so, but Voodoo3 video cards are garbage. There is a pile of stuff that they don't support. I wouldn't worry about supporting them, unless you want your program to run on older/slower machines.

Share this post


Link to post
Share on other sites
Look into the caps of the device, in the SDK its device->GetCaps or just plain GetDeviceCaps, it returns a big structure filled with everything the video vard supports.

Share this post


Link to post
Share on other sites

This topic is 4691 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this