Pregunta

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

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top