摘要
文章在研究三角Bezier曲面原理的基础上,提出在曲面绘制阶段采用一种新的明暗处理算法,这种明暗处理算法综合了Gouroud算法处理速度快的优点和Phong算法对法矢量进行插值优化的思想,并且该算法采用法矢量二次插值方法,用此法矢量代替原三角片的线性法矢量参与光照计算,可构造出视觉连续的三角Bezier曲面。此算法简单可靠,并可推广到高次三角Bezier曲面的光滑拼接。
Based on the research of the theorem of triangular bezier patch, a quick shading algorithm is proposed by integrating the quick processing of Gouraud algorithm with the normal interpolation idea of Phong algorithm. And an improved quadric interpolation of normal vector is adopted in this new shading algorithm. A global smooth Bezier surface model can be gained when the quadric normal vectors are used in shading calculation.This algorithm is simple and stable.
出处
《企业技术开发》
2005年第7期40-42,共3页
Technological Development of Enterprise