为了解决非真实感渲染方法中三维模型的细节特征保持不足的问题,提出一种基于三维模型内在属性特征绘制图的带水墨画效果的非真实感渲染方法.将模型曲面的平均曲率转化为表面材质,使用帧缓冲对象渲染到纹理,经过像素变换、高斯模糊等处理得到水墨效果;再经过非线性映射得到黑白分明的内在属性特征绘制图,然后在图像空间通过GPU进行图像处理;通过调节光源位置可以实时地调整水墨笔画的分布,调整阈值以改变特征细节的展示层次.大量实例结果表明,文中方法是高效、可靠的.
To preserve intrinsic features of 3D shapes, a novel non-photorealistic rendering method of generating Chinese-painting style image from 3D shapes is presented in this paper. First, mean curvatures of surface are calculated and mapped to surface materials. The 3D model is then rendered to a texture using frame buffer object. Finally a Chinese-painting style image is created by post image processing. After calculating and non-linearly transforming the mean curvatures, a series of image processing steps are implemented in the image space based on GPU. Users can edit the painting effects in real-time by controlling the position of light and by tuning a threshold. Experimental results show that our method is efficient and robust.