首页 | 本学科首页   官方微博 | 高级检索  
     

基于二维纹理映射的镜面反射加速绘制
引用本文:朱国仲,张玉华.基于二维纹理映射的镜面反射加速绘制[J].计算机工程与设计,2011,32(7):2439-2442.
作者姓名:朱国仲  张玉华
作者单位:华北水利水电学院信息工程系,河南郑州,450045
基金项目:郑州市科技局科技攻关基金项目(10PTGS507-3)
摘    要:针对物体表面镜面反射现象的绘制,提出了一种新的基于二维纹理映射技术的加速算法。将具有镜面反射表达式的Phong模型分解成多个简单的数学函数,预先离散采样计算后作为纹理对象传给显卡。使用OpenGL多重纹理技术,将每个纹理对象放入相应的纹理单元,分别设置其组合函数,将多个纹理的运算组合起来。将三角片顶点坐标及多组纹理坐标传入,从而实现了物体镜面反射现象的实时绘制。实验结果表明,该算法大大提高了绘制的性能。

关 键 词:镜面反射  绘制  纹理映射  模型  绘制管线  多重纹理

Accelerated rendering for specular surface using 2D texture mapping
ZHU Guo-zhong,ZHANG Yu-hua.Accelerated rendering for specular surface using 2D texture mapping[J].Computer Engineering and Design,2011,32(7):2439-2442.
Authors:ZHU Guo-zhong  ZHANG Yu-hua
Affiliation:ZHU Guo-zhong,ZHANG Yu-hua(Department of Information Engineering,North China University of Water Resources and Electric Power,Zhengzhou 450045,China)
Abstract:Aimed at the rendering for specular reflection of most real-world object surfaces,an accelerated rendering algorithm based on 2D texture mapping is proposed.Firstly,the Phong model with a specular expression is decomposed into multiple simple arithmetic functions,which are in turn discretely sampled and pre-computed,and the results are transferred to OpenGL rendering pipeline.Secondly,all texture targets are placed into corresponding texture units and combined with their combinatorial function.At last the c...
Keywords:specular reflection  rendering  texture mapping  model  rendering pipeline  multi-texture  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号