检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]衢州学院信息与电子工程系,浙江衢州3240002 [2]浙江大学CAD&CG国家重点实验室,杭州310058
出 处:《计算机工程与应用》2011年第11期1-2,14,共3页Computer Engineering and Applications
基 金:国家自然科学基金重点项目No.60933007;国家科技支撑计划(No.2007BAH11B02)~~
摘 要:轮廓线的高效提取是非真实感绘制的一个关键问题。提出了一个完全利用GPU生成光滑轮廓线的高效算法。在几何处理阶段,先根据相邻三角形的法向量与视向量的关系检测出轮廓线,然后对轮廓线进行宽度扩充,同时对轮廓线顶点设置相应的渐变因子;在像素处理阶段把渐变因子转化为相应的alpha值,通过光照生成卡通渲染,最后通过alpha混合得到光滑轮廓线。算法完全在GPU里实现,能满足实时的绘制要求。Efficient silhouette extraction is a key issue in non-photorealistic rendering.This paper presents an algorithm that is able to generate smooth silhouettes entirely in GPU.In the geometry shader stage,silhouettes are detected according to the relations between the normal vectors of two adjacent triangles and the view vector,and then the silhouette is extruded and a fade factor is set for each silhouette vertex.In the pixel shader stage,the fade factor is translated into pixel alpha channel value,cartoon style is generated based on the light direction and finally smooth silhouettes are obtained after alpha blending with frame buffer.Algorithm is implemented entirely in the GPU and it can meet the real-time rendering requirements.
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249