• Advertisement
Sign in to follow this  

How do you render text in your D3D applications?

This topic is 3674 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Morning, I a curious to know how you guys create and draw text to the screen in D3D. For example, do you use GDI, D3DXCreateFont, DXUTTextHelper or some other method. Today i am considering wrapping the 3D text creation routines that come with D3DX in order to provide a font library that can draw 2D text using scalable meshes. I am also interested to hear any comments on whether or not this kind of small library would be used. If this appeals to you, what kind of features would you like to see? So, i'm all ears people! :) Cheers,

Share this post


Link to post
Share on other sites
Advertisement
I created a tool that uses D3DX font systems to generate custom font textures, then wrote a sprite blitter to render them in the game engine.

Here are some snapshots, if you're curious. One of the tool, then one of the fonts being used in my project:
Free Image Hosting at www.ImageShack.usFree Image Hosting at www.ImageShack.us

Share this post


Link to post
Share on other sites
I roll my own method, rather than using some other tool or API. I basically just render a bunch of quads on the screen using vertex shader constant instancing. Then I just plop a texture like in Kest's first screenshot onto the quads.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement