Font Size: a A A

Chinese Ink Painting Rendering Based On3D Terrain

Posted on:2014-12-07Degree:MasterType:Thesis
Country:ChinaCandidate:W WangFull Text:PDF
GTID:2268330428957340Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
As traditional Chinese painting art, Chinese ink painting has been very important in the study of Non-photorealistic Rendering (NPR) in our country. Up to now, we have achieved fruitful results about ink painting simulation in2D space. With the continuous development of3D display technology in recent years,3D ink painting rendering increasingly attract people’s attention. The present study on3D ink painting rendering is mostly based on existing3D model, such as plant and animal model, little on terrain.After learning plenty of Chinese landscape ink paintings and related studies, this article focuses on freehand ink painting styled simulation of3D terrain. It designs a gray-coloring method based on a shader, so that the ink effects can be easily observed when the terrain changes its angle.This paper includes two modules, the terrain building and processing module and the ink style rendering module.In the terrain building and processing module, it firstly uses the random number generator to generate the elevation values of grid DEM. Then it uses the algorithm of Catmull-Rom spline interpolation to smooth the terrain, on this basis, this paper puts forward an improved Catmull-Rom algorithm, which achieve a smooth terrain by replacing the point of the curve with corresponding interpolation result of the same curve. Although the improved Catmull-Rom algorithm is not so good as the original algorithm from the point of smoothness, but its vertices are far less than the original algorithm, so that it can reduce the vertex computation in the coming rendering.In the ink style rendering module, the paper calculates the initial color values respectively according to the height value and the diffuse reflection strength. Specifically, it designed two methods to divide the color levels, that is, unidirectional and bidirectional transition levels classified method. When applied to the3D terrain, it has respectively achieved the integrated rendering effect and the fission rendering effect of the Contour and the internal. When come to programming, this paper uses a gray-coloring method based on a shader to render the terrain rather than texture mapping. In the end, in consideration of the artistic conception of Chinese ink painting, this article brings in the atomization effect, successfully gets a terrain with ethereal cloud.
Keywords/Search Tags:3D terrain, Chinese ink painting, Spline interpolation, Color gradation, Non-photorealistic rendering
PDF Full Text Request
Related items