Definitionadvanced
Cross field
Also called 4-symmetry direction field, 4-RoSy field.
A field of four directions related by 90 degree turns on a surface, whose singularities set the irregular vertices of a field-aligned quad mesh.
A cross field on a surface gives, at each point, a cross: four tangent directions at right angles, with no first direction among them. It is the kind of field that a quad mesh follows, since the edges at a regular quad vertex form a cross. A smooth cross field cannot exist everywhere on most surfaces. It has isolated singular points, whose indices are multiples of and add up to the Euler characteristic of the surface, by a form of the Poincaré-Hopf theorem. In a quad mesh built from the field, a singularity of index becomes a vertex of valence 3 and one of index a vertex of valence 5, so choosing the field chooses the irregular vertices of the mesh.
Definition
Let be a connected, oriented manifold mesh of triangles, with faces oriented by the right-hand rule, so that each triangle has a well-defined counterclockwise rotation by in its plane. A cross in a triangle is a set
of four unit vectors in the plane of . In a fixed reference direction of , for example along one of its edges, the cross is given by the angle of any of its four vectors, and is defined modulo . A cross field on gives one cross in each triangle, or one in the tangent plane of each vertex in other discretizations. More generally, an -direction field or -RoSy field has directions at angles ; gives vector fields, line fields, such as the principal curvature directions, and cross fields.
Two representations.
- Angle and period jump. Unfold two triangles and that share an edge into one plane. Let be the angle from the reference direction of to that of in this plane; it is the discrete parallel transport from to . The crosses of and are compared by , which is defined modulo . Fixing a representative in each face, an integer , the period jump or matching, says which of the four vectors of the vector goes to. Smoothness energies in this form, , mix real and integer unknowns.
- Fourth power. The complex number does not depend on which of the four vectors is chosen, because . Transport across an edge multiplies by . So a cross field is the same as a field of unit complex numbers in the face frames, with no integer unknowns, and the smoothness energy is a Hermitian quadratic form. This is the starting point of globally optimal direction fields.
Index of a vertex. Let be an inner vertex with the triangles around it in counterclockwise order, and let be its angle defect, the discrete Gaussian curvature. For each step from to (with ), let be the smallest rotation that turns the transported cross of onto the cross of :
The index of is
Transport once around rotates every tangent vector by the defect , and the crosses then turn by the and come back to the cross they started from. So is a multiple of , and is a multiple of . The vertex is singular if . The index of the fourth power field is , an integer, the winding number of around measured against the transport.
Theorem (Poincaré-Hopf for cross fields). On a closed mesh with Euler characteristic , where is the genus, and with chosen so that the step from to has for every edge,
Proof. By the discrete Gauss-Bonnet theorem, . Each edge has two triangles and . The walk counterclockwise around crosses this edge in one direction, say from to , and the walk counterclockwise around crosses it from to , since the two walks run on opposite sides of the edge. The two terms are and , so the terms of all vertices add up to 0. Hence .
The choice only matters when exactly, where both and are smallest rotations.
Examples and non-examples
- The cube. Put on each face of a cube the cross along its edges, and split the faces into triangles. Across every edge the crosses match exactly after unfolding, so all . A corner has three right angles, so and . The 8 corners give of the sphere. The quad mesh of the cube surface has 8 vertices of valence 3, one per singularity.
- A flat singularity. Take six equilateral triangles around a vertex in the plane, so , and in the triangle the cross at the angle , , in one global frame. The steps give for , and from back to the angle goes from to , again . So . The fourth powers go once around the unit circle, winding number . A vector field cannot do this: going once around, it must turn by a multiple of .
- The torus. , so a cross field on a torus can have no singularities, like the field along the two grid directions of a flat torus. A field with singularities on a torus has as much positive index as negative index.
- A surface of genus . The indices add up to . With indices of only, a field needs at least singularities; a quad mesh of a genus 2 surface needs at least 8 vertices of valence 5, or some of higher valence.
- Quad meshes. In a closed quad mesh, the edges at a vertex of valence form a cross field with index at that vertex. The sum is , because , which checks the theorem.
- Non-example: a vector field read as a cross field. A field of single vectors gives a cross field, but not the other way round. The cross field of the flat example has no consistent choice of one of its four vectors around the vertex, so it is not a vector field with a symmetry chosen at each point.
- Non-example: four arbitrary directions. Four unit vectors at angles , , and are not a cross. A field of such frames is a non-orthogonal frame field, a wider class with its own representations.
Related definitions
- Line fields and principal directions. The two principal curvature directions, from curvature tensor estimation, are a line field with , the same idea with period . Taking both principal directions together gives a cross field away from the umbilic points, and quad meshing often aligns the cross field with them where the curvature is clearly anisotropic.
- Smoothest cross field. With the fourth power representation, the smoothest unit cross field is approached by the eigenvector of the smallest eigenvalue of a Hermitian matrix like the cotangent Laplacian, the minimizer of its Rayleigh quotient. This is the algorithm of globally optimal direction fields, which places the singularities by itself.
- Field-aligned parameterization. Mixed-integer quadrangulation computes a map whose gradients follow a given cross field, on the surface cut open along a cut graph through the singularities, with integer conditions across the cut so that the integer grid lines close up into quads.
- Euler characteristic. The Euler-Poincaré formula gives the total index that every cross field on the surface must have.
References
- Nicolas Ray, Bruno Vallet, Wan Chiu Li and Bruno Lévy, N-symmetry direction field design, ACM Transactions on Graphics 27(2), Article 10, 2008, the definition of N-symmetry direction fields on a triangle mesh, the period jumps across edges, and the index of a singularity with its relation to the Euler characteristic
- Amir Vaxman, Marcel Campen, Olga Diamanti, Daniele Panozzo, David Bommes, Klaus Hildebrandt and Mirela Ben-Chen, Directional field synthesis, design, and processing, Computer Graphics Forum 35(2), 545-572, 2016, the survey of representations (angles with period jumps, the power vector), discretizations, singularities and the Poincaré-Hopf theorem for directional fields
- Felix Knöppel, Keenan Crane, Ulrich Pinkall and Peter Schröder, Globally optimal direction fields, ACM Transactions on Graphics 32(4), Article 59, 2013, the representation of an n-direction field by the n-th power of a complex number, and the quadratic smoothness energy
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag E95VWG Edit this page History Report an error Markdown