Wavefront .obj 文件支持动画吗?

发布于 2024-07-16 14:54:29 字数 64 浏览 4 评论 0原文

如何将 3D Studio 动画模型导出为 OBJ 格式(如果可能)? 结果文件会是什么样子? 我该怎么读呢?

How does one export a 3D Studio animated model to OBJ format (if possible)? What will be the resulting file like? How would I read that?

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

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

发布评论

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

评论(5

彩扇题诗 2024-07-23 14:54:29

不,.obj 文件不支持动画。

您可以查看 .obj 规范,了解其支持的详细信息。

您可以每帧导出一个 .obj,但这会很麻烦。 根据工具的不同,可以为每个关键帧导出一个 .obj

No, .obj files do not support animation.

You can check the .obj specification for details of what it does support.

You could potentially export one .obj per frame, but that would be cumbersome. Depending on the tools, it may be possible to export one .obj per keyframe.

梦里泪两行 2024-07-23 14:54:29

Blender 2.63 可以导出 .obj 格式的动画,每个关键帧(如上面假设的)
是它自己的一个完整的.obj。 Blender 可以相对快速有效地处理此导出功能。 因此,第一,Blender 是一个出色的概念证明,第二,Blender 实际上可以帮助您明智地编写代码(它是开源的,您可以重新分发任何编辑过的代码源),使您完全无需编写自己的高效、快速的支持这个操作。

Blender 2.63 can export animations in .obj, with each keyframe (as hypothesized above)
being a complete .obj of it's own. Blender can handle this export func relatively quickly and efficiently. So 1, Blender is an excellent working proof of concept, and two, Blender may actually help you out code wise (it's open source and you can redistribute any edited code source), allowing you to completely bypass writing your own efficient, quick support for this operation.

零度° 2024-07-23 14:54:29

尽管 .obj 规范本身不支持动画,但只需使用单独的 .anm 文件对其进行增强,您就可以获得出色的无骨动画。

看一下:-
http://public.sanguinelabs.co.uk/expose/product.php ?id=wastudio

这提供了一个非常易于使用的“动画制作器”以及开源模型库(针对 OpenGL)。

注意:我是 Wavefront Animation Studio 的开发人员,但也在我自己的项目中大量使用它。 如果您有任何改进或错误要报告,请随时给我发电子邮件:)

Although the .obj specification doesnt support animations natively, by simply augmenting it with a seperate .anm file you can get brilliant albeit boneless animations.

Have a look at:-
http://public.sanguinelabs.co.uk/expose/product.php?id=wastudio

This provides a very easy to use "animation maker" as well as the open-source model library (for OpenGL).

Note: I am the developer of Wavefront Animation Studio but also use it heavily in my own projects. Feel free to email me if you have any improvements or bugs to report :)

雨后咖啡店 2024-07-23 14:54:29

事实上,您可以对波前格式对象进行动画处理,您必须在模型中使用组并在代码中单独转换它们。

In fact you can animate wavefront format objects, you have to use groups within your model and transform them seperately in your code.

噩梦成真你也成魔 2024-07-23 14:54:29

.obj 文件默认不支持存储动画。
但是,您可以使用 Blender 3D 将动画网格导出为一系列 .obj 文件。 (.obj 导出器包含相关选项...)
如果您想以 .obj 文件形式查看动画序列,可以使用以下由 OpenGL 和 python 编写的程序:

https://github.com/csmailis/ObjSequenceViewer

如果您使用它,请确保指定包含以顺序文件名存储的所有 .obj 文件的目录。

.obj files do not support storing animations by default.
However, you can export an animated mesh as a sequence of .obj files using Blender 3D. (The .obj exporter contains a relevant option...)
If you want to view an animation sequence as .obj files, you can use the following program that is written OpenGL and python:

https://github.com/csmailis/ObjSequenceViewer

If you use it, make sure you specify the directory containing all the .obj files stored with sequential filenames.

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