How can I write a text in GLUT? [duplicate]

早过忘川 提交于 2019-12-12 03:54:25

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/15843832/how-can-i-write-a-text-in-glut

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!