3D与搅拌机和Python渲染搅拌机、Python

2023-09-08 10:31:14 作者:月亮失约了

我有一个在我想创建一个基于一些数据的三维动画项目。考虑到具体点,我想创建一个动画,包括球,线,一些阴影和移动摄像头。我想我会用Python和搅拌机在命令行中要做到这一点,但它好像Python中的作用更多的作为搅拌器不是一个独立的场景的创建者和渲染器的延伸。我发现这个有用的资源: http://wiki.blender.org/index .PHP /文件:手动/渲染/ Command_Line_Options 的,但它似乎需要一个file.blend,这是由搅拌机GUI用户生成的?这是可能的,或者是有其他语言/ 3D渲染这将更好地满足我的需求?我非常灵活,也很愿意处理一个陡峭的学习曲线。

I have a project in which I would like to create a 3d animation based on some data. Given specific points, I'd like to create an animation including spheres, lines, some shading, and a moving camera. I was thinking I would use Python and Blender from the command line to do this, but it seems as if Python acts more as an extension to Blender than an independent scene creator and renderer. I found this useful resource: http://wiki.blender.org/index.php/Doc:Manual/Render/Command_Line_Options but it seems to need a "file.blend" which was generated by a user in the Blender GUI? Is this possible, or is there another language/3d renderer which would better suit my needs? I'm very flexible, and very willing to deal with a steep learning curve.

在此先感谢!

推荐答案

是的,搅拌机可能将是很好的那。新的(在写作的时候)版本搅拌机2.5倍。虽然它们目前处于测试阶段,它们是相当稳定的。搅拌机2.5倍的Python API文档可以在这里找到:搅拌机2.5倍的Python API文档。他们也有一些邮件列表,以及一个IRC频道,这是很好的地方提问等。

Yes, Blender probably would be good for that. The new (at the time of writing) versions are Blender 2.5x. Although they are currently in beta, they are quite stable. The Blender 2.5x Python API documentation can be found here: Blender 2.5x Python API docs. They also have some mailing lists, and an IRC channel, which are good places to ask questions etc.