在 Android 上渲染 Maya 动画? [英] Rendering Maya animation on Android?

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

问题描述

我已经能够将 Maya 中的 3D 模型导入到 OBJ 文件中,然后我的 Android 应用程序会读取这些文件.现在可以显示这个模型,我也可以对它们应用转换,即使是在高多边形数量的对象上,这很好.

I've been able to import 3D models from Maya into OBJ files, which in turn, are read by my Android app. This model can now be displayed and I can apply transformations on them as well, even on high-polygon count objects, which is nice.

下一步是确定是否有任何合理的方式来显示 Maya 中定义的动画.我真的不知道如何处理这个问题,我对此的初步研究基本上是空洞的.

The next step is to figure out if there's any reasonable way to display animation defined within Maya. I really have no clue how to approach this and my initial research on this essentially came up empty.

以前有人尝试过吗?如果是这样,这将如何运作?

Has anyone attempted this before? If so, how would this work?

推荐答案

我认为值得注意的是,这个问题与 Maya 几乎或没有关系.Maya 的文件格式是专有且不透明的;你不会找到直接在 Android 上显示它们的方法(或其他任何地方,来吧).但是您可以将数据从 Maya 导出为(基本上)任何格式,这正是您真正想要做的.

I think it's worth noting that this question has little or nothing to do with Maya. Maya's file formats are proprietary and opaque; you will NOT find a way to directly display them on Android (or anywhere else, come to that). But you can export data from Maya to (basically) any format, which is what you actually want to do.

所以,这里是过程:

  1. 弄清楚您将如何在 Android 上显示 3D 模型和动画
  2. 弄清楚如何将 Maya 中的内容转换为步骤 1 中的答案所需的格式.

有很多方法可以执行第 1 步.为了简单易用,我可能会自己选择 Unity.基本上它是一款游戏开发工具,可以创建在 Android(以及 iOS、OSX、Windows 等)上运行的 3D 应用程序和游戏.它不是免费的——Android 插件售价 400 美元——但如果你真的打算用 Android 做任何严肃的事情,你会发现这是值得的.有了它,在 Unity 中制作一个显示动画模型的小 Android 应用程序实际上非常简单(并且很多 3D Android 和 iOS 游戏都是在 Unity 中制作的).Unity 还需要 FBX 格式的模型和动画,这是一种广泛支持的交换格式 - 您可以毫无问题地将 Maya 中的内容导入 FBX.

There's a lot of ways to do step 1. For sheer ease of use I'd probably go for Unity myself. Basically it's game development tool that can create 3D apps and games that run on Android (and iOS, OSX, Windows, etc.) It's not free - the Android addon costs $400 - but if you're actually planning on doing anything serious with Android, you'll find it worthwhile. With it, it's actually pretty trivial to make a little Android app in Unity that displays an animated model (and a LOT of 3D Android and iOS games are made in Unity). Unity also wants models and animations in FBX format, which is a widely supported interchange format - you'll have no problems getting stuff out of Maya into FBX.

如果您在第 1 步中使用了 Unity,那么第 2 步就很简单:将您的模型从 Maya 导出为 FBX,您就大功告成了.如果您决定推出自己的 Android 渲染应用程序,那么祝您好运.:)

If you've gone with Unity in step 1, then step 2 is trivial: Export your models from Maya as FBXes, and you're done. If you've decided to roll your own Android rendering app, well, good luck. :)

无论如何,关键是您想要做的是找到一个通用解决方案来在 Android 上渲染动画模型,然后才弄清楚如何从 Maya 中获取您的内容.

Anyhow, the point is that what you want to do is find a generic solution for rendering animated models on Android, and only then figure out how to get your content out of Maya.

这篇关于在 Android 上渲染 Maya 动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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