基于GPU的实时素描风格渲染算法  被引量:1

Real-time sketch style rendering algorithm based on GPU

在线阅读下载全文

作  者:高山晓 吴献[1] 

机构地区:[1]福建师范大学软件学院,福州350108

出  处:《计算机应用》2015年第A01期221-225,共5页journal of Computer Applications

基  金:福建省自然科学基金青年创新项目(2012J05111);福建省教育厅自然科学基金面上项目(JA12079)

摘  要:为了更好地模拟素描画中线条的轻重变化和明暗变化,提出了一种改进的素描风格渲染算法。将渲染过程分为轮廓线绘制、纹理绘制和色调调整三个部分;在轮廓线染绘制过程中采用多重采样来辨识轮廓线,利用卡方分布和紊乱场来模拟生成素描化线条绘制;在纹理渲染绘制中,利用模型的切线和副法线生成多个方向场,通过对白噪声纹理的线性卷积(LIC)生成素描化纹理;通过牛顿插值法重新计算了输出曲线解决多重渲染混合后绘制效果偏灰问题。实验结果显示改进后素描风格渲染算法具有更高的渲染效率和更好的渲染效果。算法能够较好地实现素描风格的渲染效果,并可广泛适用于影视游戏开发中。To simulate lines and shades in sketch style better, this paper presented an improved technique for rendering 3D meshes in the pencil drawing style. The algorithm divided the rendering process into three processes - contour drawing, texture drawing and tone adjustment. For contour drawing, this paper used multi-sampling to detect object contours and proposed chi-square distribution and trigonometric function to imitate the pencil line drawing. For texture drawing, this paper used the tangent and binormal of the model to generate integration directions. Then a pencil drawing texture was generated by using Liner Integral Convolution ( LIC) technology. As the result of the blend of multiple rendering may lead the tone to gray, this paper added the tone drawing before the final output. Through the Newton interpolation method to calculate the output curve, the final color distribution results were more like pencil drawing style. Experiments show that the work is more efficient and has a better performance. This algorithm can better simulate the hand-painted style lines and be applied to video game rendering.

关 键 词:非真实感渲染 线性卷积 铅笔画 多重采样 多重渲染 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象