Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
True Type Font Support
10-20-2009, 10:34 PM,
#2
 
If you're interested in digging into VDrift fonts:

The font rendering in VDrift is pretty nifty, it uses a distance field (if you have shaders enabled) which, using only a small bitmap, provides exceptionally high quality (with antialiasing) even when the lettering is huge... and hardly uses any resources. It's an application of this:
http://www.valvesoftware.com/publication...cation.pdf
to fonts.

The font generator I use to create the distance fields is this one:
http://www.lonesock.net/files/SDFont.zip
from this thread:
http://www.gamedev.net/community/forums/..._id=491938

You can fiddle with adding/changing fonts; the program outputs .png and .txt files and those can be copied over the ones in VDrift/data/skins/simple/fonts if you want to see them in-game.
Reply


Messages In This Thread
True Type Font Support - by zimluura - 10-19-2009, 09:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-20-2009, 10:34 PM
[No subject] - by zimluura - 10-21-2009, 11:04 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-22-2009, 10:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)