摘要
In computer graphics, non-photorealistic rendering(NPR) is an important branch. NPR technology is to achieve a variety of artistic effects through the computer, such as oil painting, cartoon, watercolor and other effects. The purpose of this paper is to automatically convert the 3D model into two-dimensional Chinese ink painting effect on graphics processing unit(GPU), and has improved the traditional algorithm that has some lacks of rendering effect. The algorithm is divided into two major steps: contour line rendering, and interior rendering. For contour line rendering, on the basis of the traditional extraction of contours, this paper adds self-bold, particle diffusion and other steps. For interior rendering, on the basis of the traditional layered rendering of diffuse lighting, two methods are added. The first method is based on the mean filtering, and the filter kernel is stratified by the principle of percentage-closer soft shadows(PCSS). The second method is Noise texture mapping, to obtain an ink diffusion effect.
In computer graphics, non-photorealistic rendering(NPR) is an important branch. NPR technology is to achieve a variety of artistic effects through the computer, such as oil painting, cartoon, watercolor and other effects. The purpose of this paper is to automatically convert the 3D model into two-dimensional Chinese ink painting effect on graphics processing unit(GPU), and has improved the traditional algorithm that has some lacks of rendering effect. The algorithm is divided into two major steps: contour line rendering, and interior rendering. For contour line rendering, on the basis of the traditional extraction of contours, this paper adds self-bold, particle diffusion and other steps. For interior rendering, on the basis of the traditional layered rendering of diffuse lighting, two methods are added. The first method is based on the mean filtering, and the filter kernel is stratified by the principle of percentage-closer soft shadows(PCSS). The second method is Noise texture mapping, to obtain an ink diffusion effect.
基金
Supported by National Natural Science Foundation of China(NSFC)(61672260)