如何在GLUT中编写文本? [英] How can I write a text in GLUT?

查看:277
本文介绍了如何在GLUT中编写文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在GLUT和C ++中写入文本?

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

推荐答案

绘制3D角色您可以按照此教程 http://videotutorialsrock.com/opengl_tutorial/draw_text/home.php

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

对于2D字符,您可以绘制位图字符是示例 http:/ /codeincodeblock.blogspot.com/2011/11/bitmap-is-rectangular-array-of-0s-and.html

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

这篇关于如何在GLUT中编写文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆