문제

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