Jump to content

  • Log In with Google      Sign In   
  • Create Account


DirectX 11 Draw Text


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 StanIAm   Members   -  Reputation: 188

Like
0Likes
Like

Posted 20 August 2012 - 01:24 PM

Hey ya, I want to draw some stats from some tests and something else in my DirectX 11 application.So I searched a little bit and found some old commands from D3D9 ( ID3DXFont* and D3DXCreateFont....) but these commands needs a D3D9 Device (I have a D3D11 Device).

The second thing was the font engine from Rastertek ,but this is too much work for my state draws .

So now I want to ask you if somebody know how I can Draw Text like in Direct3D 9 with some commands .

Thanks

Sponsor:

#2 Ripiz   Members   -  Reputation: 529

Like
0Likes
Like

Posted 20 August 2012 - 02:39 PM

There's no such commands in DirectX 11. You'll have to use something like Rasterek did (those "commands" do the same thing anyways).

There are few font rendering demos if you search forums/Google.

Alternatively you could take CeGUI/MyGUI (and most likely some other GUI engines) and draw textbox whereever you need.

#3 JWalsh   Moderators   -  Reputation: 462

Like
0Likes
Like

Posted 20 August 2012 - 03:24 PM

Check out Ruefelt's OpenSource D3D Font Library. It's licensed under the MIT License. There's discussion about it here on gamedev.net as well.

Cheers and Good luck!
Jeromy Walsh
Sr. Tools & Engine Programmer | Software Engineer
Microsoft Windows Phone Team
GameDevelopedia.com - Blog & Tutorials
GDNet Mentoring: XNA Workshop | C# Workshop | C++ Workshop
"The question is not how far, the question is do you possess the constitution, the depth of faith, to go as far as is needed?" - Il Duche, Boondock Saints




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS