计算机工程 ›› 2009, Vol. 35 ›› Issue (18): 203-205.doi: 10.3969/j.issn.1000-3428.2009.18.071

• 图形图像处理 • 上一篇    下一篇

基于多项式纹理的Lengyel毛发实时绘制

唐 勇,李 原,吕梦雅   

  1. (燕山大学信息科学与工程学院,秦皇岛 066004)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-09-20 发布日期:2009-09-20

Lengyel Fur Real-time Rendering Based on Polynomial Texture Maps

TANG Yong, LI Yuan, LV Meng-ya   

  1. (College of Information Science & Engineering, Yanshan University, Qinhuangdao 066004)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-09-20 Published:2009-09-20

摘要:

针对普通绘制毛发光照效果方法存在的实时性较差的问题,提出一种基于多项式纹理的Lengyel毛发实时绘制方法,将多项式纹理融入Lengyel绘制毛发方法中。在预处理阶段,对毛发模型进行采样,并计算纹元的多项式纹理系数,利用该系数计算不同光照下纹元的亮度信息,通过所得亮度信息确定当前光照下纹元的颜色值,并由内到外对毛发网格层进行融合绘制。实验结果表明,该方法可以满足中等规模物体的实时绘制需求。

关键词: 多项式纹理, Lengyel方法, 阴影, 毛发绘制

Abstract: Aiming at the problem of worse real-time in ordinary rendering fur linght effect method, a Lengyel fur real-time rendering method based on Polynomial Texture Maps(PTM) is proposed, which merges PTM into Lengyel rendering fur method. In period of pretreatment, the fur model is sampled, and the polynomial texture coefficients is calculated, use which, the light information is obtained. The color value is identified by using this information. The fur network layer is rendered from inner part to outer part. Experimental results show this method can meet the real-time rendering requirement of middle-scale objects.

Key words: Polynomial Texture Maps(PTM), Lengyel method, shadow, fur rendering

中图分类号: