yes,I know OpenGl can do it,but how?I really see the OpenGl 3D screen Saver(build in windows)display some 3D cool chinese charaters…
but i really donot know how to use these chinese characters in my opengl app.
only 26 letters in english,but there are more than 10000 characters in chinese.dare you use display lists?
please,donot tell me it is impossible,please tell me the way.
Either pre-render, so render to a bitmap and bind the dib as an OpenGL texture. Your font will be drawn with GDI and hence characters will be mapped correctly. You can do this at run-time with a simple routine “CreateStringTexture…”.
If all of your text is static and you ONLY want to use it in Chinese then of course, pre-drawing in a paint package is the way to go but by run-time drawing to DIB, you don’t have to pre-define a set of different textures for each language you wish to support.