MarilynKeller / SMPL2AddBiomechanics

Enable inputting a SMPL sequence into AddBiomechanics to fit an OpenSim skeleton model to the sequence.
Other
78 stars 3 forks source link

How to choose the vertices of SMPL model #11

Closed 2382752230 closed 3 weeks ago

2382752230 commented 3 weeks ago

Hi, thank you for your excellent work.

I'm new to this and I want to know how to get the vertices number of the SMPL model and where the vertices correspond to the body. For example, in bsm_markers.yaml, how do I get the mapping of anatomy markers to vertex serial numbers? Is the vertices sequence number obtained by visualization software? Can you answer it for me?

Thank you in advance for your help. @MarilynKeller

MarilynKeller commented 3 weeks ago

Hi, the SMPL model has 6080.

To know the index of a vertex, you can export the SMPL mesh, open it in Meshlab, click in the "i" icon then click a triangle from the SMPL mesh

image
2382752230 commented 3 weeks ago

Thank you very much for your answer, I will close this question.