检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华北水利水电学院信息工程系,河南郑州450045
出 处:《计算机工程与设计》2011年第7期2439-2442,共4页Computer Engineering and Design
基 金:郑州市科技局科技攻关基金项目(10PTGS507-3)
摘 要:针对物体表面镜面反射现象的绘制,提出了一种新的基于二维纹理映射技术的加速算法。将具有镜面反射表达式的Phong模型分解成多个简单的数学函数,预先离散采样计算后作为纹理对象传给显卡。使用OpenGL多重纹理技术,将每个纹理对象放入相应的纹理单元,分别设置其组合函数,将多个纹理的运算组合起来。将三角片顶点坐标及多组纹理坐标传入,从而实现了物体镜面反射现象的实时绘制。实验结果表明,该算法大大提高了绘制的性能。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 coordinate of textures and vertices are transferred to display card to accomplish rendering for specular surfaces. The experimental results prove that our algorithm improves significantly the rendering performance.
关 键 词:镜面反射 绘制 纹理映射 模型 绘制管线 多重纹理
分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.38