Supported multisampling types? (DX8)
I want to add antialiasing (multisampling) to my program, which uses DirectX 8.
I have read through the SDK docs (just search for ''antialiasing''), and found that there are several levels of multisampling (2 through 16 samples). How many samples are supported on current hardware (eg Geforce 3/Radeon 8500, regular Geforece cards)? Should I be checking for up to 8 samples, or somewhere around 5?
My geforce 2 supports 0, 2 and 4 multisamples (as I would guess do most other cards). This is really one of those settings you should query and let the user adjust, as it can greatly impact performace. See IDirect3D8::CheckDeviceMultiSampleType.
Yeah, I did take a look at all the stuff in the SDK. I just wasn''t sure how many samples are supported on higher end cards (I don''t happen to own a Geforce card). Thanks!
Yes, look at the sample framework that comes with the SDK, all the sample programs enumerate the available multisample modes and let the user by pressing F2 and making selections from a dialog box.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement