Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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 :)

Posted

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. :/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...