RE: [Plib-users] Compiling for windows
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2000-10-11 19:13:30
|
Eric Espie writes: > >I found that PLIB fonts looked blurry with my voodoo 2 and >gltt bitmap fonts >too slow, so for TORCS I use glf fonts. >It is (IMHO) the same principle than PLIB fonts, so don't >expect any speed >benefits from PLIB fonts (with all the respect due to PLIB). >The other advantage of glf over PLIB is that the 'texture' is >done with a true type font an not an X11 one. You can use true type fonts with PLib You just have to make the textures yourself. You can also make the texture text font size to exactly match yhe desired output size and this will take care of any 'blurring'. :-) Also FWIW there is some 'ugly' code in the FlightGear Source cockpit / hud.hxx that I used to speed up PLib text when I 'KNEW' that I was rendering a lot of text with no intervening glstate changes. class fgText class fgTextList This code could probably be cleaned up a little bit but it served its purpose for me as is :-) Cheers Norman |