玛雅动画three.js所 [英] Maya to three.js with animation
问题描述
我在Maya中操纵(骨骼和软绑定)模型。该模型都是一个无缝的低多边形与映射单个JPEG质感。还有就是骨骼的简单的动画。 (联合旋转)。我需要得到它与ThreeJs(WebGL的)工作。
I have a rigged (skeleton and soft bind) model in Maya. The model is all one seamless low poly with a single jpeg texture mapped. There is simple animation of the skeleton. (joint rotation). I need to get it to work with ThreeJs (webGL).
我尝试导出与变形的OBJ瞄准一些如何?我能做的OBJ但我如何获得变形目标?可以说,我在读的WebGL Maya的出炉动画文件(.MC或.xml)合作开发。难道我导出的Collada DAE?
Do I try to export an OBJ with Morph Targets some how? I can do OBJ but how do I get the morph targets? Can the developer that I am working with read Maya's baked animation file (.MC or .XML) in webGL. Do I export a Collada DAE?
任何帮助,可以指导我们在正确的方向将是极大的AP preciated。
Any help that can steer us in the right direction would be greatly appreciated.
感谢
推荐答案
three.js所附带了玛雅出口国,但它仅适用于静态模型。我已经创建了一个更新的版本还支持导出操纵和动画模型。它不需要任何中间步骤:它只是输出直.js文件。我们有一个拉请求与三条主干更新的出口整合,但如果你想马上得到新的和改进的出口,你可以从这个库中得到它:的 https://github.com/BlackTowerEntertainment/three.js/tree/maya_animation_exporter 。出口商文件在utils的/出口商/玛雅。
THREE.js comes with an exporter for Maya, but it only works for static models. I have created an updated version that also supports exporting rigged and animated models. It doesn't require any intermediate steps: it just outputs straight to a .JS file. We have a pull request to integrate the updated exporter with the THREE trunk, but if you want to get the new and improved exporter immediately you can get it from this repository: https://github.com/BlackTowerEntertainment/three.js/tree/maya_animation_exporter. The exporter files are in utils/exporters/maya.
希望这有助于。
这篇关于玛雅动画three.js所的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!