反向运动动画 [英] Inverse kinematic animation

查看:44
本文介绍了反向运动动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在three.js 中找到或创建一个反向运动摆姿势的工作示例.理想情况下,我想通过他们的 Collada 导出器从 Makehuman 导出人体模型,使用 THREE.ColladaLoader 加载它们,并以编程方式或通过一些 dat.GUI 界面在three.js 中将它们设置为不同的姿势.有点像艺术家娃娃的实现——我不需要动画,但是在调整姿势时的实时反馈会很好,并且非常喜欢反向运动风格的姿势.

I'm trying to find or create a working example of inverse kinematic posing in three.js. Ideally I would like to export human models from Makehuman via their Collada exporter, load them with THREE.ColladaLoader and set them into different poses in three.js programmatically or through some dat.GUI interface. A bit like an artist doll implementation - I don't need animation, but real-time feedback when tweaking the pose would be nice, and inverse kinematic style posing would be highly preferred.

我已经研究和搜索信息好几天了.这个 http://www.youtube.com/watch?v=6om9xy6rnc0 非常接近,但我找不到任何示例代码或下载.我发现的最接近的工作示例是:http://mrdoob.github.com/three.js/examples/webgl_animation_skinning.html 然而,这似乎使用了预定义的动画帧,而这又似乎以正向运动学的方式操纵骨骼,因此也没有太大帮助.

I've been studying and searching information for days. This http://www.youtube.com/watch?v=6om9xy6rnc0 is very close, but I was unable to find any example code or downloads. The closest working example I've found is this: http://mrdoob.github.com/three.js/examples/webgl_animation_skinning.html However that appears to use predefined animation frames, which in turn appears to manipulate the bones in forward kinematics manner so that was not much help either.

我什至找不到用于测试的模型,因为在使用与 Three.js 兼容的 IK 装备/蒙皮/骨骼搜索某些内容时,我不知道该寻找什么.Makehuman 似乎有很多索具导出选项,我不知道这些选项是否可用.

I couldn't even find a model for testing, as I don't know what to look for when searching something with IK rigs/skinning/bones compatible with Three.js. Makehuman does seem to have plenty of rigging export options, I don't know if any of those are usable.

Three.js 中是否有可用的 IK 系统,如果有,是否有任何工作示例、工作人体模型或任何关于应研究哪个确切的索具系统/工作流程来完成此任务的提示?如果无法直接支持 Collada,也可以在 Blender 中创建角色并导出它们.

Is there a usable IK system in Three.js, and if so, are there any working examples, working human models, or any hints on which exact rigging system/workflow should study to accomplish this? If direct Collada support is not possible, creating the characters in Blender and exporting them is an option too..

找到这个现场演示 http://www.akjava.com/demo/poseeditor/ 但代码完全不可读.

found this live demo http://www.akjava.com/demo/poseeditor/ but the code is totally unreadable.

推荐答案

这看起来很有希望.

Fullik:针对three.js 上的反向运动学的javascript 快速迭代求解器

Fullik : javascript fast iterative solver for Inverse Kinematics on three.js

是从 Java 到 Caliko 3D 库的转换Caliko 库是 FABRIK 逆运动学 (IK) 算法的实现

is a conversion from java to Caliko 3D libs Caliko library is an implementation of the FABRIK inverse kinematics (IK) algorithm

https://github.com/lo-th/fullik

这篇关于反向运动动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆