Maxscript skin vertex weight bones
Maxscript skin vertex weight bones
参考链接:https://forums.cgsociety.org/t/maxscript-print-all-vertex-weights/1593264/5
( if iskindof (sk = modpanel.getcurrentobject()) Skin do ( local skinVerts = skinops.getnumbervertices sk local getVertsWC = skinops.getvertexweightcount local getVWeight = skinops.getvertexweight local getBoneID = skinops.getvertexweightboneid local getBoneName = skinops.getbonename for v=1 to skinVerts do ( count = getVertsWC sk v format "% => weights:% " v count for k=1 to count do ( boneid = getBoneID sk v k format " weight:% name:% id:% " (getVWeight sk v k) (getBoneName sk boneid 0) boneid ) ) ) )
未经博主允许,禁止直接转载本博客任何内容(可以在文章中添加链接,禁止原文照搬),如需直接原文转载对应文章,请在该文章中留言联系博主,谢谢!!