patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.92k stars 598 forks source link

Mesh Point Index and Symmetry #277

Closed imaccormick275 closed 5 years ago

imaccormick275 commented 5 years ago

Is there any documentation on the mesh indexes and their symmetry? Trying to extract some points and is important I get the symmetry correct.

patrikhuber commented 5 years ago

See the share/ directory, and the description of sfm_reference_symmetry.txt in the readme.txt in that directory. This is a symmetry list for the 745 vertices reference (template) mesh. I am not sure whether the subdivided 3448 vertices mesh is still 100% symmetric. Most vertices should have a symmetric counterpart but there might be the odd one out where the subdivision created a slightly non-symmetric topology. You'd best ask CVSSP about it, or perhaps easier, just write a short script that computes (and checks) the symmetric counterpart for each vertex. If you need help doing that, Google or StackExchange is probably a good friend.

If you're referring to the 4DFM, then we can also provide a full symmetry list for all vertices.