Followers 0

DirectX 11 Draw Text

2 posts in this topic

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
0

Share on other sites
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.
0

Share on other sites
Check out [url="http://fw1.codeplex.com/"]Ruefelt's OpenSource D3D Font Library[/url]. It's licensed under the MIT License. There's [url="http://www.gamedev.net/topic/597917-d3d11-drawing-text/"]discussion about it[/url] here on gamedev.net as well.

Cheers and Good luck!
0

Create an account

Register a new account