Antialias

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Ishtm

Antialias

Post by Ishtm »

I made changes in the source of the engine to be able this capability for rendering... i can compile but i dont can use driver.. this is the output console message...

Microsoft Windows XP Professional Se
DirectX9 Renderer
ATI MOBILITY RADEON 9000/9100 IGP at
Was not able to create Direct3D9 dev
Was not able to create DirectX9 devi
Could not create DirectX9 Driver.
Error: Could not load built-in Font.

Anywone can help? :(
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

yeah, ur driver was not compiled with directx....
Ishtm

Yes it was

Post by Ishtm »

If i don't add code for multisample render i can compile and use direct3d 9d or 8d well, but if i add multisample code just like a past post say that dont work anymore.

what do you think?
Ishtm
Posts: 37
Joined: Mon May 09, 2005 8:03 pm

I answer my self :)

Post by Ishtm »

That happend because not all video cards support D3DMULTISAMPLE_2_SAMPLES, some just have D3DMULTISAMPLE_NONMASKABLE so we have to use a direct3d check functions to know quality level of nonmaskable and if it is supported. Ati video cards like Mobility IGP (very used in notebooks), antialias is nonmaskable.

There is a example code in How to... forum section.
Post Reply