Sign in to follow this  
Skosiris

D3D9: Loading & displaying an image w/ variable transparency

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
Just from looking at the images, it looks like the Voodoo3 isn't filtering the texture, perhaps because it can't. Could you upload the texture file itself?

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

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