在 iOS 应用程序中使用 3D 对象

发布于 2024-11-23 16:30:54 字数 118 浏览 4 评论 0原文

我如何将 Maya 中的 3D 对象添加到 iOS 应用程序中?现在,在它变得太复杂之前,我只想添加它,触摸还没有响应。有这方面的教程吗?谢谢!

编辑:不一定非得是 Maya。我可以学习如何使用另一个程序。

How would I go about adding a 3D object from Maya into an iOS app? For now, before it gets too complicated, I just want to add it in, no response to touch yet. Is there a tutorial about this? Thanks!

Edit: It doesn't necessarily have to be Maya. I can learn how to use another program.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

云朵有点甜 2024-11-30 16:30:54

Molecules 是一款出色的开源 iOS 应用程序,它使用 OpenGL ES 渲染具有良好触摸交互效果的 3D 对象。也许这将是一个很好的起点。

Molecules is a great open source iOS app that uses OpenGL ES to render 3D objects that have nice touch interaction. Maybe that would be a good starting point.

在你怀里撒娇 2024-11-30 16:30:54

转到 Xcode 并启动 OpenGL-ES 项目。

将您的 Maya 模型导出为 *.obj(Wavefront) 格式并使用 Jeff Lamarches obj-loader 创建 c 头文件,您可以将其包含到您的 iPhone 项目中!

Go to Xcode and start an OpenGL-ES Project.

Export your maya-model to *.obj(Wavefront)-format and use Jeff Lamarches obj-loader to create c-header files that you can include into your iPhone project!

烟花易冷人易散 2024-11-30 16:30:54

有关渲染 3D 网格的更现代的示例,请查看此库。它配备了 OBJ 解析器,因此如果您可以将几何图形导出为 OBJ 文件,则可以使用 iOS 上的库进行渲染并与之交互。这是该库实际运行的短视频

For a more modern example of rendering 3D meshes, check out this library. It comes with an OBJ parser, so if you can export your geometry as an OBJ file, you can render and interact with it using the library on iOS. Here's a short video of the library in action.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文