Hi All,
little prog to check what your graphics card can or cannot do?
Rem Project: candowhatwithcard
Rem Created: 7/17/2005 11:51:50 AM
Rem ***** Main Source File *****
rem Standard Setup Code
sync on : sync rate 0 :
backdrop on
color backdrop rgb(0,0,0) : hide mouse
set text font "arial" : set text size 18 : set text transparent
sw=screen width()/2
lq=200
do
set text size 18
ink rgb(255,255,255),0
center text sw,0," What can your Grapihic Card do?"
set text size 14
if alphablending available()=1 then ink RGB(128,255,128),0: center text sw-lq,40,"alphablending available=yes":else ink RGB(255,0,0),0:center text sw-lq,40,"alphablending available=NO"
if alpha available()=1 then ink RGB(128,255,128),0: center text sw-lq,50,"alpha available=yes":else ink RGB(255,0,0),0:center text sw-lq,50,"alpha available=NO"
if alphacomparison available()=1then ink RGB(128,255,128),0: center text sw-lq,60,"alphacomparison available=yes":else ink RGB(255,0,0),0:center text sw-lq,60,"alphacomparison available=NO"
if anistropicfiltering available()=1 then ink RGB(128,255,128),0: center text sw-lq,70,"anistropicfiltering available=yes":else ink RGB(255,0,0),0:center text sw-lq,70,"anistropicfiltering available=NO"
if antialias available()=1 then ink RGB(128,255,128),0: center text sw-lq,80,"antialias available=yes":else ink RGB(255,0,0),0:center text sw-lq,80,"antialias available=NO"
if blitsystolocal available()=1 then center text sw-lq,90,"blitsystolocal available=yes":else ink RGB(255,0,0),0:center text sw-lq,90,"blitsystolocal available=NO"
if calibrategamma available()=1 then center text sw-lq,100,"calibrategamma available=yes":else ink RGB(255,0,0),0: center text sw-lq,100,"calibrategamma available=NO":ink RGB(128,255,128),0
if clipandscalepoints available()=1 then ink RGB(128,255,128),0: center text sw-lq,110,"clipandscalepoints available=yes":else ink RGB(255,0,0),0:center text sw-lq,110,"clipandscalepoints available=NO"
if cliptlverts available()=1 then ink RGB(128,255,128),0:center text sw-lq,120,"cliptlverts available=yes":else ink RGB(255,0,0),0:center text sw-lq,120,"cliptlverts available=NO"
if colorperspective available()=1 then ink RGB(128,255,128),0:center text sw-lq,130,"colorperspective available=yes":else ink RGB(255,0,0),0:center text sw-lq,130,"colorperspective available=NO"
if colorwriteenable available()=1 then ink RGB(128,255,128),0:center text sw-lq,140,"colorwriteenable available=yes":else ink RGB(255,0,0),0:center text sw-lq,140,"colorwriteenable available=yes"
if cubemap available()=1 then ink RGB(128,255,128),0:center text sw-lq,150,"cubemap available=yes":else ink RGB(255,0,0),0:center text sw-lq,150,"cubemap available=NO"
if cullccw available()=1 then ink RGB(128,255,128),0:center text sw-lq,160,"cullccw available=yes":else ink RGB(255,0,0),0:center text sw-lq,150,"cullccw available=NO"
if cullcw available()=1 then ink RGB(128,255,128),0:center text sw-lq,170,"cullcw available=yes":else ink RGB(255,0,0),0:center text sw-lq,170,"cullcw available=NO"
if get device type()=1 then ink RGB(128,255,128),0:center text sw-lq,180,"get device type=yes":else ink RGB(255,0,0),0:center text sw-lq,180,"get device type=NO"
if dither available()=1 then ink RGB(128,255,128),0:center text sw-lq,190,"dither available=yes":else ink RGB(255,0,0),0:center text sw-lq,190,"dither available=NO"
if filtering available()=1 then ink RGB(128,255,128),0:center text sw-lq,200,"filtering available=yes":else ink RGB(255,0,0),0:center text sw-lq,200,"filtering available=NO"
if fogrange available()=1 then ink RGB(128,255,128),0:center text sw-lq,210,"fogrange available=yes":else ink RGB(255,0,0),0:center text sw-lq,210,"fogrange available=NO"
if fogtable available()=1 then ink RGB(128,255,128),0:center text sw-lq,220,"fogtable available=yes":else ink RGB(255,0,0),0:center text sw-lq,220,"fogtable available=NO"
if fogvertex available()=1 then ink RGB(128,255,128),0:center text sw-lq,230,"fogvertex available=yes":else ink RGB(255,0,0),0:center text sw-lq,230,"fogvertex available=NO"
if fog available()=1 then ink RGB(128,255,128),0:center text sw-lq,240,"fog available=yes":else ink RGB(255,0,0),0:center text sw-lq,240,"fog available=NO"
if fullscreengamma available()=1 then ink RGB(128,255,128),0:center text sw-lq,250,"fullscreengamma available=yes":else ink RGB(255,0,0),0:center text sw-lq,250,"fullscreengamma available=NO"
center text sw-lq,260,"get maximum lights="+str$(get maximum lights())
center text sw-lq,270,"get maximum pixel shader value="+str$(get maximum pixel shader value())
center text sw-lq,280,"get maximum texture height="+str$(get maximum texture height())
center text sw-lq,290,"get maximum texture width="+str$(get maximum texture width())
center text sw-lq,300,"get maximum vertex shader constants="+str$(get maximum vertex shader constants())
center text sw-lq,310,"get maximum volume extent="+str$(get maximum volume extent())
if mipcubemap available()=1 then ink RGB(128,255,128),0:center text sw+lq,40,"mipcubemap available=yes":else ink RGB(255,0,0),0:center text sw+lq,40,"mipcubemap available=No"
if mipmap available()=1 then ink RGB(128,255,128),0:center text sw+lq,50,"mipmap available=yes":else ink RGB(255,0,0),0:center text sw+lq,50,"mipmap available=No"
if mipmaplodbias available()=1 then ink RGB(128,255,128),0:center text sw+lq,60,"mipmaplodbias available=yes":else ink RGB(255,0,0),0:center text sw+lq,60,"mipmaplodbias available=NO"
if mipmapvolume available()=1 then ink RGB(128,255,128),0:center text sw+lq,70,"mipmapvolume available=yes":else ink RGB(255,0,0),0:center text sw+lq,70,"mipmapvolume available=No"
if nonpowtextures available()=1 then ink RGB(128,255,128),0:center text sw+lq,80,"nonpowtextures available=yes":else ink RGB(255,0,0),0:center text sw+lq,80,"nonpowtextures available=NO"
if perspectivetextures available()=1 then ink RGB(128,255,128),0:center text sw+lq,90,"perspectivetextures available=yes":else ink RGB(255,0,0),0:center text sw+lq,90,"perspectivetextures available=No"
center text sw+lq,100,"get maximum pixel shader version"+str$(get maximum pixel shader version())
if projectedtextures available()=1 then ink RGB(128,255,128),0:center text sw+lq,110,"projectedtextures available=yes":else ink RGB(255,0,0),0:center text sw+lq,110,"projectedtextures available=NO"
if renderafterflip available()=1 then ink RGB(128,255,128),0:center text sw+lq,120,"renderafterflip available=yes":else ink RGB(255,0,0),0:center text sw+lq,120,"renderafterflip available=NO"
if renderwindowed available()=1 then ink RGB(128,255,128),0:center text sw+lq,130,"renderwindowed available=yes":else ink RGB(255,0,0),0:center text sw+lq,130,"renderwindowed available=No"
if seperatetexturememories available()=1 then ink RGB(128,255,128),0:center text sw+lq,140,"seperatetexturememories available=yes":else ink RGB(255,0,0),0:center text sw+lq,140,"seperatetexturememories available=NO"
if onlysquaretextures available()=1 then ink RGB(128,255,128),0:center text sw+lq,150,"onlysquaretextures available+yes":else ink RGB(255,0,0),0:center text sw+lq,150,"onlysquaretextures available=NO"
if tnl available()=1 then ink RGB(128,255,128),0:center text sw+lq,160,"tnl available=yes":else ink RGB(255,0,0),0:center text sw+lq,160,"tnl available=NO"
if tlvertexsystemmemory available()=1 then ink RGB(128,255,128),0:center text sw+lq,170,"tlvertexsystemmemory available=yes":else ink RGB(255,0,0),0:center text sw+lq,170,"tlvertexsystemmemory available=NO"
if tlvertexvideomemory available()=1 then ink RGB(128,255,128),0:center text sw+lq,180,"tlvertexvideomemory available=yes":else ink RGB(255,0,0),0:center text sw+lq,180,"tlvertexvideomemory available=No"
if nonlocalvideomemory available()=1 then ink RGB(128,255,128),0:center text sw+lq,190,"nonlocalvideomemory available=yes":else ink RGB(255,0,0),0:center text sw+lq,190,"nonlocalvideomemory available=No"
if texturesystemmemory available()=1 then ink RGB(128,255,128),0:center text sw+lq,200,"texturesystemmemory available=yes":else ink RGB(255,0,0),0:center text sw+lq,200,"texturesystemmemory available=NO"
if texturevideomemory available()=1 then ink RGB(128,255,128),0:center text sw+lq,210,"texturevideomemory available=yes":else ink RGB(255,0,0),0:center text sw+lq,210,"texturevideomemory available=NO"
center text sw+lq,220,"get maximum vertex shader version="+str$(get maximum vertex shader version())
if volumemap available()=1 then ink RGB(128,255,128),0:center text sw+lq,230,"volumemap available=yes":else ink RGB(255,0,0),0:center text sw+lq,230,"volumemap available=NO"
if wbuffer available()=1 then ink RGB(128,255,128),0:center text sw+lq,240,"wbuffer available=yes":else ink RGB(255,0,0),0:center text sw+lq,240,"wbuffer available=NO"
if wfog available()=1 then ink RGB(128,255,128),0:center text sw+lq,250,"wfog available=yes":else ink RGB(255,0,0),0:center text sw+lq,250,"wfog available=NO"
if zbuffer available()=1 then ink RGB(128,255,128),0:center text sw+lq,260,"zbuffer available=yes":else ink RGB(255,0,0),0:center text sw+lq,260,"zbuffer available=NO"
if zfog available()=1 then ink RGB(128,255,128),0:center text sw+lq,270,"zfog available=yes":else ink RGB(255,0,0),0:center text sw+lq,270,"zfog available=NO"
ink rgb(128,255,128),0
center text sw,350,"Green = Ok"
ink rgb(255,0,0),0
center text sw,360,"Red = NO Go!"
sync
loop
I'm not getting you down am I, Ho Look! another fancy Door?