节点文献

基于SDL和OpenGL实时绘制中文字体

Real-time rendering method of Chinese fonts based on SDL and OpenGL

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 陈飞黄海明杨猛刘金刚

【Author】 CHEN Fei1,HUANG Hai-ming1,YANG Meng1,2,LIU Jin-gang1(1.Joint Faculty of Computer Scientific Research(Capital Normal University & Institute of Computing Technology,Chinese Academy of Sciences),Beijing 100048,China;2.Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100080,China)

【机构】 计算机科学联合研究院(首都师范大学&中国科学院计算技术研究所)中国科学院计算技术研究所

【摘要】 为了能够在三维场景当中实时的将中文字体绘制在指定的位置上,提出了基于SDL和OpenGL跨平台图形库,采用生产者-消费者模型对字符串进行处理的实时绘制方法。优化了中文字体生成纹理图的过程,并控制中文字体纹理坐标,最终能够实时并且正确的显示中文字体。实验结果表明,该方法能够高效地实时绘制出中文字体,而且能够保证中文字体不会发生变形,对三维场景中指定位置的中文输入具有借鉴意义。

【Abstract】 To draw Chinese to the place which exist in a three dimensional screen in real time,a method of real time rendering based on SDL and OpenGL cross platform graphics library,and adopt the producer-consumer model to deal with character string is presented.The process of producing Chinese texture is optimized,and the Chinese texture coordinate is controlled.Finally,the Chinese characters will be displayed correctly in real time.The experimental results indicate this method can efficiently draw Chinese characters,and also can pledge the texture of the characters will not be out of shape.The experiment will be an example of inputting Chinese to a special place in three-dimensional scene.

  • 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2011年08期
  • 【分类号】TP391.41
  • 【被引频次】14
  • 【下载频次】195
节点文献中: 

本文链接的文献网络图示:

本文的引文网络