PeizhuoLi / neural-blend-shapes

An end-to-end library for automatic character rigging, skinning, and blend shapes generation, as well as a visualization tool [SIGGRAPH 2021]
Other
637 stars 92 forks source link

maya #3

Closed yangtao19920109 closed 3 years ago

yangtao19920109 commented 3 years ago

hello,I am a student of USTB,Thanks for excite project,I want to apply your project to maya, but I can't understand rig,I make a FBX file and run this code to get blendshape values,But with the wrong rig,the results is a bit bad, if you have made a fbx file?

PeizhuoLi commented 3 years ago

Hi, we haven't tried to integrate everything within an FBX file. Since the neural blend shapes requires evaluating a small MLP network, it's not a straightforward work. PS. You are welcome to discuss with me in Chinese : )

yangtao19920109 commented 3 years ago

你的工程可以生成一个FBX文件,我这边暂时没有打通怎样把blendshape用代码写进fbx文件。这个代码输入的obj文件,所有的顶点的数值必须归一化到0-1之间吗?

yangtao19920109 commented 3 years ago

运行代码时,输入的obj文件需要对齐3D模型的空间顶点,这个是怎么做到的?

PeizhuoLi commented 3 years ago

你好,目前根据我们的了解暂时无法直接将生成的结果集成到fbx文件中

输入的3D模型可以先尝试通过启用--normalize=1参数进行自动对齐,具体代码见这里。如果效果不佳的话也可以尝试和给出的eval_constant/meshes/smpl_std.obj手动对齐,推荐的对齐方式为将手部高度以及手臂长度对齐。

yangtao19920109 commented 3 years ago

非常感谢