DirectX text at (x,y,z)

Posted by bobobobo on Stack Overflow See other posts from Stack Overflow or by bobobobo
Published on 2010-05-07T23:25:59Z Indexed on 2010/05/07 23:38 UTC
Read the original article Hit count: 172

Filed under:
|

In OpenGL, you can actually draw text with an XYZ position, and it will appear at that location, but in a fixed size.

If anyone's played MechWarrior 2, they used it there for nav points. The text had a 3d position, but it always appeared a fixed size. The nav point was actually a bit of text at that exact point in space.

Other than that the ability to place 3d text was pretty much useless.. you'd always want text to be 2d, righT?

I'm finally in a position where I want this feature. I have these points in space that I need to assign text information to, i.e. I need to draw text at a fixed size but with a 3d position. Can this be done from DirectX?

© Stack Overflow or respective owner

Related posts about directx

Related posts about text