除了编写我自己的文本渲染引擎之外,是否有任何方法可以导入外部字体,以便在glutstrokecharacter中渲染OpenGL中的3D文本。(为了清楚起见,这需要使用JOGL API来完成)。
发布于 2011-06-02 20:10:08
glutStrokeCharacter使用内置字体。如果你想使用自定义字体,你需要使用TextRenderer。有关更多选项,请查看this question。
https://stackoverflow.com/questions/6212648
复制相似问题