PDA

Click to See Complete Forum and Search --> : Checking for FSAA, Alpha-Blending support, Alpha-Channels Support... (DGraphics 8)


Sastraxi
Jun 5th, 2001, 07:21 AM
I need to check for FSAA, Alpha-Blending, and Alpha-Channel support. I've already got the FSAA but it doesn't work, it says that my card supports all types of FSAA. I know for a fact that this isn't true... Well, it could be. I guess my next two Qs would be how can I test FSAA, and checking for alpha-channels would be testing a mode/format, correct?
(X8R8G8B8)

Zaei
Jun 5th, 2001, 12:14 PM
If you have the SDK, use the Caps Viewer in the Utilities folder. Generally, a think all graphics cards support alpha blending. Alpha channel is just what format you are using. I KNOW that D3D8 can do Edge anti-aliasing, when drawing lines (and in wireframe, maybe).

Z.

Sastraxi
Jun 5th, 2001, 02:45 PM
I dont have that program. Could you send it to me? (Don't have the time to d/l something that big :D)

Sastraxi
Jun 5th, 2001, 02:46 PM
And for the FSAA, this is what I am using (hardware FSAA, full-scene anti-aliasing, not special renderings of DX8):

Function CheckFSAA(Samples As Integer) As Boolean
Dim Caps As D3DCAPS8
Dim Caps2 As CONST_D3DDEVTYPE
Dim Mode As CONST_D3DFORMAT
Caps2 = D3DDEVTYPE_HAL
Mode = D3DFMT_X8R8G8B8
If D3D.CheckDeviceMultiSampleType(cmbAdapters.ListIndex, Caps2, Mode, 0, Samples) Then
CheckFSAA = True
Exit Function
End If
End Function

Zaei
Jun 5th, 2001, 03:41 PM
I wouldnt know anyway =). Im using an old 8 meg card, that hardly supports anything, so i just program at the lowest HW capacity.

Z.

Sastraxi
Jun 5th, 2001, 03:52 PM
BTW did you like the unit graphic I made?