我正在寻找一个易于使用的 Python 3D 场景渲染器。我所寻找的只是能够:
- 加载 3D 场景模型
- 使用正交相机进行渲染
- 导出图片以便我进行分析
到目前为止,我发现的软件要么太低级(如基本的 OpenGL 绑定(bind)),要么太复杂(如 Ogre)。有什么建议吗?
最佳答案
真的取决于你想要完成什么。你的场景有多复杂?你追求什么样的渲染质量?您需要实时动画,还是渲染的静止图像足够好?
一流的完整游戏引擎(已用于商业游戏)
- Panda3d http://www.panda3d.org/
- PyOgre http://www.ogre3d.org/tikiwiki/PyOgre
- Pyrr(Irrlicht 包装)
不太流行的 3d 引擎,新的或测试版:YMMV。
- OpenSceneGraph http://www.openscenegraph.org/projects/osg
- Spyre http://pduel.sourceforge.net/spyre/spyre.spyre-module.html
- PySoy http://www.pysoy.org/
- 大 bean http://pypi.python.org/pypi/Soya/0.11.2
- PyCrystal http://www.crystalspace3d.org/main/PyCrystal
- Horde3d http://www.horde3d.org/
- VTK(可视化工具包)http://www.vtk.org/
低级 OpenGL 接口(interface) - 更多控制,更多您自己做
- PyOpenGL http://pyopengl.sourceforge.net/
- Pyglet http://www.pyglet.org/
- 佐伊 http://www.alcyone.com/software/zoe/
非实时接口(interface)
- cgkit http://cgkit.sourceforge.net/documentation.html (渲染器,玛雅)
- blender http://www.blender3d.org/
- POVray 封装 http://code.activestate.com/recipes/205451/
关于python - 用于 Python 的 3D 场景渲染器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4522748/