How can I write text in GLUT and C++?

有帮助吗?

解决方案

Drawing 3D character You can follow this tutorials http://videotutorialsrock.com/opengl_tutorial/draw_text/home.php

For 2D character You can draw bitmap character here is the example http://codeincodeblock.blogspot.com/2011/11/bitmap-is-rectangular-array-of-0s-and.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top