如何使用形状键对人脸网格进行动画处理?
我有一个人脸形状的简单网格,我需要根据不同帧的不同面部特征(如眼睛的内外角、嘴唇、眉毛等)的坐标位置,根据各种面部表情进行动画处理(>500) 作为文本文件。
我对搅拌机和Python相当陌生,但通过一些研究很明显,答案在于使用形状键,但我不知道如何去做。
I have a simple mesh in the shape of the a human face, that I need to animate in terms of various facial expressions given the coordinate positions of the different facial features (like inner outer corners of eyes, lips, eyebrows etc) for different frames (>500) as text files.
I'm fairly new to blender and python but from a little research it was obvious that the answer lies in using shape keys, but I don't know how to go about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想这就是你所需要的。检查源代码,你就会得到解决方案。关键是使用形状键。
https://www.stickmanventures.com/labs/demo/webgl -twojs-morph-target/#
I think this is what you need. Check the source code and you will get with the solution. The key is to use shape keys.
https://www.stickmanventures.com/labs/demo/webgl-threejs-morph-target/#
您是否正在寻求一种方法来执行此 ,但是以编程方式?
这是关于编写脚本的教程。我已经很长时间没有使用 Blender 编写脚本了,但是文档就在那里(某处)。
如果必须,只需在模块和函数上运行
help()
函数即可。它们在内部有一定的记录。Are you asking for a way to do this, but programatically?
Here's a tutorial on scripting them. I have't scripted with Blender in a long time, but the documentation is out there (somewhere).
If you must, just run the
help()
function on modules and functions. They are somewhat documented internally.