文件转换器可将 Autodesk Maya 中的动画 3D 角色导出为 Quake MD2
我想知道是否有人知道如何为 Quake MD2 等已装备的动画角色导出几何/纹理?我正在为移动设备开发一个应用程序,我发现 MD2 非常适合轻量级 OpenGL 渲染。我有几个动画角色,我想将它们从 Maya 导出为 MD2。以下是我尝试过的一些方法:
将 FBX 导出到 3D Studio Max 并使用 QTip 插件 -- 这有效,但前提是我将动画转换为点缓存 (pc2) 并将其带入 Max。当我这样做时,QTip 插件不支持点缓存节点,我得到的只是模型,没有动画
将 OBJ 序列导出到 Blender,从那里导出 MD2 -- 我似乎无法让 Blender 将导入的 obj 序列编译为单个动画对象
将 FBX 导出到 Milkshape -- Maya 装备在此过程中被损坏
- -- Maya 装备在动画烘焙点缓存、导出到 FBX、导入到 Milkshape 的 -- 同样,Milkshape 不支持几何缓存,因此出现的只是静态角色。
我目前正在使用 Blender MD2 导出脚本作为参考编写 Maya 插件(但使用 C++ Maya API 重写),但我只是想知道是否有人以前做过此操作或对如何执行此操作有任何建议。
另外,如果有人对在 OpenGL ES(Android 或 iPhone)设备上渲染单个动画角色的最佳格式有其他建议,我将非常感激!我愿意尝试任何方法来在设备上渲染这些动画,
谢谢!
I'm wondering if anyone knows of a way to export geometry/textures for a rigged, animated character as Quake MD2? I’m developing an app for mobile devices, and I’ve found that MD2 works great for lightweight OpenGL rendering. I have several animated characters, and I’d like to export them as MD2 from Maya. Here are some of the things I have tried:
Exporting FBX to 3D Studio Max and using the QTip plugin
-- this works, but only if I convert my animation to point cache (pc2) and bring that into Max. When I do that, QTip plugin doesn’t honor the point cache node, and all I get is the model, no animationExporting OBJ Sequence to Blender, exporting MD2 from there
-- I can’t seem to get blender to compile the imported obj sequence into a single animated objectExporting FBX to Milkshape
-- the maya rig gets corrupted in the process- Bake point cache for animation, export to FBX, import to Milkshape
-- again, Milkshape doesn’t honor the geometry cache, so all that appears is a static character.
I’m currently writing a plugin for Maya using the blender MD2 export script as reference (but re-writing using the C++ Maya API), but I’m just wondering if anyone has done this before or has any suggestions of how to do this.
Also, if anyone has other suggestions for the best format to render a single animated character on an OpenGL ES (Android or iPhone) device, I would be very grateful! I’m open to trying anything to get these animations rendering on device
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果有人感兴趣,我最终通过为导出 Quake MD2 文件的 Maya API 编写自己的插件来解决这个问题。我已将其作为开源发布在 github 上:
http://github.com/arifken/MD2Export
If anyone is interested, I ended up solving this problem by just writing my own plugin for the Maya API that exports Quake MD2 files. I've released it as open source on github:
http://github.com/arifken/MD2Export