Font Size: a A A

Uniform Stroke Algorithm Based On Depth Compensation And Various Stroke Logic Designs

Posted on:2021-12-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y L LinFull Text:PDF
GTID:2518306470957159Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
With the development of science and technology,computer hardware and software have been greatly developed,and 3D engine technology has gradually become one of the main directions of computer graphics research.In the threedimensional engine technology,after the non-photorealistic technology was proposed in the 1990 s,it has developed rapidly in the field of graphic stylized rendering after just over two decades.In the cartoon rendering sub-field,contour stroke technology,as one of the most important implementation methods,is also more diverse and efficient.This article puts forward a set of evaluation indicators for the rendering effect of graphics,especially for the rendering effect of the stroke algorithm,and proposes two quantitative evaluation indicators for stroke coverage and stroke uniformity.For these two core evaluation indicators,quantitative algorithms are designed separately.Based on the Unity3 D engine,using the C # programming language,a variety of graphics stroke algorithms have been rapidly developed,implemented,and applied,including the zoom stroke method,normal offset method,angle of view normal vertical method,and image edge detection drawing method.Based on the perspective normal vertical stroke method,combined with the phong lighting model and texture sampling,an ink stylized stroke effect algorithm is realized.Applying multiple evaluation and quantization indicators to different rendering algorithms to render renderings,based on the quantization results,comparatively evaluated the effects of various stroke algorithms.Aiming at the problems of stroke outline and model penetration in the stroke rendering effect realized by the normal offset method,this paper proposes an optimization algorithm for normal flattening.Aiming at the non-uniform stroke effect of the normal offset method with near coarse and long thin,combined with the quantization relationship of the solid geometry and the similar triangle solution,the relationship between the depth of the model data and the rendering effect of the model is studied and analyzed,and a uniform stroke based on depth compensation is innovatively proposed The edge algorithm realizes the real-time calculation,and the effect and performance of the algorithm that the stroke uniformity does not change drastically with the depth of the rendered object.According to the needs of different stroke package types,combined with the uniform stroke algorithm,three uniform stroke effects of the inner outline uniform stroke effect,the full package uniform stroke effect and the independent object outer outline uniform stroke effect were designed.The influence of the algorithm logic of different stroke package types on the overall algorithm performance is compared and evaluated.Finally,a variety of stroke algorithms are applied to the production of animation effects.They are applied to two different types of models,mecha robots and humanoid robots.The uniform stroke algorithm is compared with other stroke rendering algorithms in different animation scenarios.The performance and effect of the uniform stroke algorithm and various other stroke rendering algorithms in different animation scenes are compared and evaluated.
Keywords/Search Tags:Depth Compensation, Non-photorealistic Rendering, Uniform Stroke, Cartoon Rendering, Performance Analysis
PDF Full Text Request
Related items