|
-
Aug 24th, 2015, 08:46 AM
#3
Re: [VB6] Direct3D9.
For drawing text you can use standard GDI functions. Usually uses special texture which contain a symbols. When you desire to draw some string you create a quads which represent each symbol with texture coordinates. Of course you can create this table dynamically using DrawText, GetTextExtentPoint32 etc.
I add example work with text, download again it. In the example i use fixed simplest table using only digit and letter:

If you want create 3D-text look like this:

Then you should use GetGlyphOutline function in order to obtain a shape of each symbols and extrude mesh from it.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|