Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (17): 172-173.DOI: 10.3778/j.issn.1002-8331.2009.17.052

• 图形、图像、模式识别 • Previous Articles     Next Articles

Arithmetic research on shading handle on surface of object

LI Li-dan   

  1. Liaoning Engineering and Technology University,Fuxin,Liaoning 123000,China
  • Received:2008-04-10 Revised:2008-08-06 Online:2009-06-11 Published:2009-06-11
  • Contact: LI Li-dan

物体表面明暗处理算法的研究

李丽丹   

  1. 辽宁工程技术大学,辽宁 阜新 123000
  • 通讯作者: 李丽丹

Abstract: The paper makes simple statement and comparing towards the shading handling method after the surface of the curvy object is discreted into small polygons,based on popular Phone shading handling method.It presents the improved handling method,Phone shading handling method.The direct bilinear interpolation to diffuse reflection L·N and specular reflection N·H in the Phone illumination mode not only guarantees the coloring effects,but also makes the efficiency of Phone shading handle grow by 1/3.

摘要: 基于现在普遍应用的Phone光照模型而对曲面体表面离散成小多边形后进行明暗处理的方法进行了简单的陈述和比较,提出了改进的Phone明暗处理方法,采用Visual C++实现程序,对Phone光照模型中的漫反射项中的L·N和镜面反射项中的N·H直接进行双线性插值,既保证了着色效果,又使Phone明暗处理的效率提高了近1/3。