DRvoodoo Posted September 13, 2003 Posted September 13, 2003 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 Quote
sho Posted September 13, 2003 Posted September 13, 2003 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 :) Quote
DRvoodoo Posted September 13, 2003 Author Posted September 13, 2003 :) ok. thanks a lot...ill try that Quote
DRvoodoo Posted September 14, 2003 Author Posted September 14, 2003 k ok , no doubt. it works. what about displaying fps ? thanks a lot Quote
*Experts* mutant Posted September 14, 2003 *Experts* Posted September 14, 2003 To display it you have to find it first :). See this thread which has a lot of info on working FPS. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75420 Quote
DRvoodoo Posted September 14, 2003 Author Posted September 14, 2003 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. :/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.