计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (23): 86-87.DOI: 10.3778/j.issn.1002-8331.2008.23.027

• 研发、设计、测试 • 上一篇    下一篇

基于OpenGL的等角插补明暗处理的软件实现

张 华   

  1. 中国工程物理研究院 计算机应用研究所,四川 绵阳 621900
  • 收稿日期:2007-10-18 修回日期:2007-12-06 出版日期:2008-08-11 发布日期:2008-08-11
  • 通讯作者: 张 华

OpenGL based software implementation of equal angle interpolation shading

ZHANG Hua   

  1. Insitute of Computer Applications,China Academy of Engineering Physics,Mianyang,Sichuan 621900,China
  • Received:2007-10-18 Revised:2007-12-06 Online:2008-08-11 Published:2008-08-11
  • Contact: ZHANG Hua

摘要: 等角插补明暗处理具有Phong明暗处理的视觉效果,而且具有较Phong明暗处理更快的渲染效率,基于标准图形渲染管道,用C语言实现了OpenGL渲染管道的硬件计算部分,同时用C语言实现了等角插补明暗处理,并给出了实验结果。该方法的实现可为渲染算法的研究和实现提供参考。

关键词: OpenGL, 等角插补, 明暗处理

Abstract: Equal angle interpolation shading not only has the same visual effect as that of Phong shading,but also can get more rendering efficiency than that of Phong shading.In this paper,based on the standard graphics rendering pipeline,hardware computing of OpenGL rendering pipeline,and equal angle interpolation shading are implemented by using C language.In the final,experiments are presented.This implementation can be referenced in the research and designing of rendering algorithm.

Key words: OpenGL, equal angle interpolation, shading