Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Dx7 Alphachannels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sdw
Warrior

USA
160 Posts

Posted - Apr 21 2004 :  11:10:44 PM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
I want to add alpha channel capabilities to my project, is there a special way I can do this in dx7 using directdraw or am I going to have to write a dll for it?

Spodi
Warrior

USA
142 Posts

Posted - Apr 21 2004 :  11:16:22 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
You can do it by software (very slow) or you can use Direct3D7, but then you might as well move to DX8. Also, you can check out VBDABL.


vbGORE
Go to Top of Page

sdw
Warrior

USA
160 Posts

Posted - Apr 21 2004 :  11:49:48 PM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
vbDABL doesn't have alphachannel abilities, only alpha and color blending
Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 22 2004 :  6:28:33 PM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
Oh, I thought that is what you were looking for. What is alpha channels then? :)

vbGORE
Go to Top of Page

sdw
Warrior

USA
160 Posts

Posted - Apr 22 2004 :  6:47:53 PM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
Don't you use alpha channels in ur own engine? lol It's when different areas of an image have various transparency
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Apr 22 2004 :  10:51:38 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
For 16 or 32 bit, then you'll have to create your own DLL to do it. Even if you were to use C++, it would still be slow in direct draw. If you really want alpha channels, then I suggest 256 color mode. You can use the traditional method of using lookup tables.
Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 23 2004 :  12:50:49 AM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
Ooohhh, that's what alpha channeling is. Well, I guess I have that in DXRE, yeah, since you can specify the ARGB of each verticy.


vbGORE
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Apr 23 2004 :  08:46:37 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
An alpha channel is where each pixel has a different alpha value, not the vertex.
Go to Top of Page

Spodi
Warrior

USA
142 Posts

Posted - Apr 24 2004 :  12:28:21 AM  Show Profile  Visit Spodi's Homepage  Send Spodi an AOL message  Click to see Spodi's MSN Messenger address  Send Spodi a Yahoo! Message  Reply with Quote
Okay, so guess I dont. But you can kind of pre-define it using light colors, cant ya?

vbGORE
Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Apr 24 2004 :  07:49:04 AM  Show Profile  Reply with Quote
...light colors? An alpha channel is usually a grayscale image where black means completely transparent, white completely opaque and the gray tones between mean an specific alpha value.

Whatever. Who knows...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.