fast-n-deep-faces
fast-n-deep-faces copied to clipboard
how to generate `ik_control_points.pkl`?
Thanks for great work!
Here , you said ik_control_points.pkl
File specifies the face on the mesh and the barycentric coordinates for the point on the face. However when i load it , I found
` faces= [2181 2154 1319 3770 3745 2904 786 511 10 24 2964 1881 3608 1984 3572 1163 2730 2638 2696 2819]
bary= [[0.29411766 0.40392157 0.3019608 ] [0.13333334 0.30980393 0.55686277] [0.49803922 0.10588235 0.39607844] [0.07058824 0.23137255 0.69803923] [0.50980389 0.32941175 0.1607843 ] [0.04705882 0.56078434 0.39215687] [0.14117648 0.52941179 0.32941177] [0.45490196 0.36862746 0.17647059] [0.67450982 0.26274511 0.0627451 ] [0.2 0.75294119 0.04705882] [0.1496063 0.79527563 0.05511811] [0.47058824 0.46666667 0.0627451 ] [0.02745098 0.94117647 0.03137255] [0.70588237 0.13725491 0.15686275] [0.7764706 0.09803922 0.1254902 ] [0.25882354 0.32156864 0.41960785] [0.43359372 0.5078125 0.05859375] [0.09411765 0.60000002 0.30588236] [0.26953125 0.6171875 0.11328124] [0.1254902 0.11372549 0.76078433]] `
As barycentric coordinates should be (0.3, 0.3, 0.3) as barycentric coordinates means, how did you calculate it? I find code here is too confusing to understand.
Could anyone could explain it? I spent much time in this issue.