计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (23): 32-35.DOI: 10.3778/j.issn.1002-8331.2008.23.010

• 博士论坛 • 上一篇    下一篇

基于GPU加速的轮廓毛发绘制技术

杨 刚1,2,林 琳3,曹卫群1,黄心渊1   

  1. 1.北京林业大学 信息学院,北京 100083
    2.中国科学院 软件研究所计算机科学重点实验室,北京 100080
    3.61938部队 业务处,北京 100089
  • 收稿日期:2008-04-02 修回日期:2008-05-05 出版日期:2008-08-11 发布日期:2008-08-11
  • 通讯作者: 杨 刚

GPU-based silhouette fur rendering

YANG Gang1,2,LIN Lin3,CAO Wei-qun1,HUANG Xin-yuan1   

  1. 1.School of Information Science and Technology,Beijing Forestry University,Beijing 100083,China
    2.Laboratory of Computer Science,Institute of Software,Chinese Academy of Sciences,Beijing 100080,China
    3.Service Office,61938 Army,Beijing 100089,China

  • Received:2008-04-02 Revised:2008-05-05 Online:2008-08-11 Published:2008-08-11
  • Contact: YANG Gang

摘要: 在采用层状纹理切片来表达真实感毛发的方法中,模型轮廓处毛发切片的计算与生成需要耗费很多时间,影响绘制效率。针对此问题,提出一种利用图形处理器(GPU)可编程能力的轮廓毛发快速生成技术。该技术通过为顶点设计一种“边信息”的数据结构,将轮廓边的检测及轮廓毛发切片的生成完全转移到了GPU中进行,从而大大加速了轮廓毛发的处理,提高了真实感毛发的绘制效率。

关键词: 毛发绘制, 轮廓毛发, 层状纹理切片, 图形处理器

Abstract: In those methods that represent furry surfaces with multi-layer textured slices,the computation and generation of silhouette fur always spend much time,affecting rendering efficiency greatly.To solve the problem,this paper presents an approach that can generate silhouette fur very fast based on the programmable ability of Graphic Process Units(GPU).In the approach,by using an “edge information” data structure,the silhouette-edge detection and silhouette fur slice generation are wholly transformed into GPU,hence greatly shortening the time spending on silhouette fur and improving the rendering efficiency.

Key words: fur rendering, silhouette fur, multi-layer textured slices, Graphic Process Units(GPU)