Three-dimensional carving method based on hand-drawn lines
暂无分享,去创建一个
The invention relates to a three-dimensional carving method based on hand-drawn lines. The method comprises the following four steps: 1) drawing a plurality of hand-drawn lines on a three-dimensional model in a user interaction mode, determining the edge points, which a hand-drawn curve passes through, of the surface of the three-dimensional model through curve refining operation, removing triangular surface patches, which the hand-draw curve passes through, of a network model, triangulating the removed part into small triangular surface patches, and inserting the small triangular surface patches into the original network mode; 2) calculating the distance between vertexes on the three-dimensional model and a hand-draw line set; 3) calculating the translation distance and the translation direction of the vertexes of the three-dimensional model according to the width of a carving line selected by the user and an outline function; and 4) according to the translation distance and the translation direction of the vertexes of the three-dimensional model, translating the vertexes on the three-dimensional model to achieve the three-dimensional carving effect of the network model, wherein the distance between the vertexes and the hand-drawn line set does not exceed the width of the given carving line. The three-dimensional carving method based on the hand-drawn lines provided by the invention is simple to operate, efficient and quick and is convenient to carve.