sdw
Warrior
USA
160 Posts |
Posted - Apr 21 2004 : 11:10:44 PM
|
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
|
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 |
|
|
sdw
Warrior
USA
160 Posts |
Posted - Apr 21 2004 : 11:49:48 PM
|
vbDABL doesn't have alphachannel abilities, only alpha and color blending |
|
|
Spodi
Warrior
USA
142 Posts |
Posted - Apr 22 2004 : 6:28:33 PM
|
Oh, I thought that is what you were looking for. What is alpha channels then? :) |
vbGORE |
|
|
sdw
Warrior
USA
160 Posts |
Posted - Apr 22 2004 : 6:47:53 PM
|
Don't you use alpha channels in ur own engine? lol It's when different areas of an image have various transparency |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Apr 22 2004 : 10:51:38 PM
|
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. |
|
|
Spodi
Warrior
USA
142 Posts |
Posted - Apr 23 2004 : 12:50:49 AM
|
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 |
|
|
Eric Coleman
Gladiator
USA
811 Posts |
Posted - Apr 23 2004 : 08:46:37 AM
|
An alpha channel is where each pixel has a different alpha value, not the vertex. |
|
|
Spodi
Warrior
USA
142 Posts |
Posted - Apr 24 2004 : 12:28:21 AM
|
Okay, so guess I dont. But you can kind of pre-define it using light colors, cant ya? |
vbGORE |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - Apr 24 2004 : 07:49:04 AM
|
...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... |
|
|