• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (7): 85-88.

• 论文 • 上一篇    下一篇

使用多重纹理实时绘制Phong高光表面

朱国仲,张帆,布辉   

  1. (华北水利水电学院信息工程学院,河南 郑州 450011)
  • 收稿日期:2010-11-15 修回日期:2011-02-23 出版日期:2011-07-21 发布日期:2011-07-25
  • 作者简介:朱国仲(1978),男,河南商水人,硕士,讲师,研究方向为图形图像处理。张帆(1972),女,河南洛阳人,硕士,讲师,研究方向为网络与多媒体技术。布辉(1979),女,河南延津人,硕士,讲师,研究方向为自动化测试技术。

RealTime Rendering for  the PhongSpecular Surface by Multitexture

ZHU Guozhong,ZHANG Fan,BU Hui   

  1. (School of Information Engineering,North China University of
    Water Resources and Electric Power,Zhengzhou 450011,China)
  • Received:2010-11-15 Revised:2011-02-23 Online:2011-07-21 Published:2011-07-25

摘要:

物体表面的高光现象均由镜面反射的一个复杂的非线性表达式描述,这为实时绘制带来了困难,由此本文提出了一种使用纹理映射技术绘制高光表面的方法。首先将具有镜面反射表达式的Phong模型分解成多个预计算的函数,然后存储为纹理图,最后使用多重纹理技术将这些纹理组合起来,实现高光表面的绘制。实验结果表明,本文算法大大提高了绘制的性能。

关键词: 高光, 镜面反射, 纹理映射, Phong模型

Abstract:

The highlights of realworld objects are usually induced by specular reflection which has a complex nonlinear expression and brings difficulties to its realtime rendering. Therefore, a realtime rendering technology using texture mapping for the specular surface is proposed in this paper. In detail, the Phong BRDF model with a specular expression is decomposed into multiple precomputed functions, which are in turn stored as texture maps. Combining these textures by multitexture leads to substantial rendering for specular surfaces. The experimental results  show that our algorithm improves significantly the rendering performance.

Key words: highlight;specular reflection;texture mapping;phong model