View Full Version : What way is faster than wglUseFontBitmap to draw t
08-04-2011, 05:52 AM
What way is faster than wglUseFontBitmaps to draw text?
I use it to draw Chinese character,But it is so slowly.I try to use List to increase the speed,but result is not satisfactory.What way is faster than wglUseFontBitmaps to draw text?
08-05-2011, 07:48 AM
First of all,I use wglUseFontBitmaps to get some Chinese character list.Then though I use glNewList Create a list and call the list.It is too slow.FPS cannot more than 20.What way is faster than wglUseFontBitmaps to draw text?
08-05-2011, 08:27 AM
There are many ways to render text in OpenGL,
try one of those (All presented approaches should offer acceptable performance, but I don't know anything about Chineese support):
Bitmap text rendering relies on deprecated functionality (bitmaps, display lists) and should be avoided in new OpenGL.
I would go with textured text (You can load any font you like) or some freetype wrapper.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.