3维水墨风格模拟是非真实绘图(NPR)的重要课题之一。传统的渲染方法局限于黑白墨色,色彩单一。该文提出一种轮廓线优化的多通道3维水墨渲染模型。首先,利用光照模型配合Alpha通道,完成3维水墨画的内部着色;其次,运用网格模型扩张实现轮廓线的风格化;最后,利用表优先级3维深度排序算法隐去Alpha通道中多余的轮廓线,实现3维水墨渲染图像输出。实验结果表明,该方法渲染效果好,轮廓线优化使水墨效果更加逼真,多通道的渲染图像输出也方便后期的图像处理。
The simulation of 3D Chinese ink painting style is an important research topic of the Non-Photorealistic Rendering(NPR). The traditional rendering methods are mostly confined to black and white ink. This paper puts forward a contour optimization of multi-channel 3D ink rendering model. Firstly, this method completes the inner coloring of multi-color ink by using the illumination model with the Alpha channel. Then it achieves contour stylization by means of the grid model expansion and texture map. Lastly, it hides the excess contours on the Alpha channel through the table priority algorithm of 3D depth sorting method for achieving the output of 3D Chinese ink rendering images. The experimental results demonstrate that the rendering effects under contour stylization provide more vivid ink effects. And the output of multi-channel images facilitates the following images procession as well.