fps question (C#)

DRvoodoo

Newcomer
Joined
Sep 13, 2003
Messages
4
sorry im still new at Direct3D programming so i have 2 simple (i guess) questions. How to draw text in Direct3D and display fps on that text. i have done the Tutorial 3 from SDK and im moving to Tutorial 4 so i think its time to know that stuff =)

thanks
 
I think that simplest way is use Font object from Microsoft.Directx.Direct3D namespace. When you have Font object you can simply draw text calls DrawText method.

Sorry for my english :)
 
nice

cool thanks. i tried looking into some sample programs from the SDK since they have fps displayed but it seemed like it needed like 600 lines of code just for that. :/
 
Back
Top