The Laplace coordinate (uniform weight) of the vertices on the mesh is defined as: the number of 1-ring neighborhood vertices where di is the Vertex VI.
Grid Laplace coordinates can be expressed in matrix form: =LV, in which, according to the Laplace coordinate of the grid, the vertex coordinates of the mesh can be obtained by solving the sparse linear equations.
Based on the idea of mesh Laplace deformation algorithm: the Laplace coordinate of vertex on the grid is the detail feature of the mesh, which does not change in the local coordinate system before and after the mesh deformation. Laplace deformation problem can be expressed in the following mathematical optimization form, then the crux of the problem is how to get the mesh deformation of the Laplace coordinates, or the Laplace coordinates of each vertex of the transformation ti.
Article [Lipman et al. 2004] The deformation algorithm mainly includes the following steps:
1. A local coordinate system is established on the initial mesh vertex, and the mesh is deformed by the original Laplace coordinates.
2. After the deformation of the mesh vertices to establish a local coordinate system, according to the deformation before and after Laplace coordinates in the local coordinate system, the estimated Laplace coordinates of the mesh vertex after deformation, as follows:
Δ (VJ) =αNJ+βUji+γ (NJxUji)
Δ (VJ ') =αNJ '+βUji '+γ (NJ 'xUji ')
of which:NJ and NJ ' are the normal direction of the vertex VJ before and after the deformation,Uji and Uji ' for the deformation before and after the Edge ji at Apex VJ The projection direction within the tangent plane, δ (VJ) and δ (VJ ') are the Laplace coordinates of the vertex VJ before and after the deformation.
3. The vertex coordinates of the mesh after deformation are solved according to the edited Laplace coordinates.
Step 2 and Step 3 can be iterated.
Algorithm effect: After dragging the blue control point, it is found that the mesh surface detail feature is gradually restored as the number of iterations of the algorithm increases.
Article [Sorkine et al. 2004] The deformation algorithm is the optimization of the expression of TI as a vi ' related form, so that you can directly solve the deformation of the mesh vertex coordinates vi ', do not need iterative solution, the specific process is as follows:
TI in the case of small angle can be approximated as:, TI represents the vi ' linear related form:
Among them:.
So ti is represented as the vi ' linear correlation form, and then according to the optimized expression through the least squares can be obtained VI '.
Algorithm effect: The mesh deformation effect when the blue control point is dragged from the bottom up.
The possion deformation and Laplace deformation described in the previous paper are based on the deformation of the mesh surface, and the algorithm does not guarantee the detail of the body graph when the large scale mesh is deformed. The article [Zhou et al. 05] presents a Laplace deformation algorithm based on the volume graph, for the input grid m, constructs two kinds of body graphs: the figure gin inside the filling mesh is used to prevent unnatural volume changes in large scale deformation, and the map gout to cover the extra side of the network is used to prevent partial self-intersection.
Blue is the input grid m, red is the figure gin the interior of the fill mesh, and green is the figure gout for the overlay of the mesh.
In order to balance the geometric details of the grid surface and maintain the geometric details of the body figure two targets, the optimization function is modified to the following form:
Where the first n points of Figure g are the dots of the grid m. LM is a discrete Laplace operator of the mesh, and G ' is a sub-image of G which removes the edge of M, the Εi (1≤i≤n) is the Laplace coordinate of the deformed mesh, the point in the grid M, and Δil (1≤i≤n) is the Laplace coordinate of the deformed body graph. The deformation energy is divided into three parts, depicting the degree of maintaining the surface geometry details, satisfying the user-specified constraints and preserving the detail of the body graph.
Algorithm effect: Possion deformation does not maintain the detail of the body map, volumetric Laplacian deformation of the body map details.
Welcome everyone to discuss computer graphics algorithm problem, email: [Email protected]
This article is original, reproduced please indicate the source.
Reference documents:
[1] Y. Lipman, O. Sorkine, D. cohen-or, D. Levin, C. Rossl, and H.-p. Seidel. "Differential coordinates for Interactive Mesh Editing." In Proc. of Shape Modeling International, pp.181-90. Washington, Dc:ieee Computer Society, 2004.
[2] O. sorkine, D. Cohen-or, Y. Lipman, M. Alexa, C. Rossl, and H.-p. Seidel. "Laplacian Surface Editing." In Proc. of Eurographics Symposium on Geometry Processing, pp. 179-88. Aire-la-ville, Switzerland:eurographics Association, 2004.
[3] K. Zhou, J. Huang, J. Snyder, X. Liu, H. Bao, B. Guo, and H.-y.shum. "Large Mesh deformation Using the volumetric Graph Laplacian." ACM Transactions on Graphics (Proc. SIGGRAPH) 24:3 (2005), 496-503.
[4] Huang Jin. Theory and method of large-scale geometric deformation [D]. Zhejiang University, 2007.
Mesh deformation algorithm (laplacian-based deformation)