问题描述
我正在寻找一个易于使用的 Python 3D 场景渲染器.我正在寻找的是能够:
I'm looking for an easy to use 3D scene renderer for Python. All I'm looking for is to be able to:
- 加载 3D 场景模型
- 使用正交相机渲染它
- 导出图像以便我进行分析
到目前为止,我发现的软件要么太低级(如基本的 OpenGL 绑定),要么太复杂(如 Ogre).有什么建议吗?
So far the software I've found is either too low-level (like basic OpenGL bindings) or too complex (like Ogre). Any advice?
推荐答案
实际上取决于您想要完成的任务.你的场景有多复杂?你追求什么样的渲染质量?您需要实时动画,还是渲染的静止图像足够好?
Really depends exactly what you want to accomplish. How complex is your scene? What sort of render quality are you after? Do you need real-time animation, or are rendered stills good enough?
一流、完整的游戏引擎(已用于商业游戏)
First-rate, full game engines (have been used for commercial games)
- Panda3d http://www.panda3d.org/
- PyOgre http://www.ogre3d.org/tikiwiki/PyOgre
- Pyrr(Irrlicht 包装器)
不太流行的 3d 引擎,新的或测试版:YMMV.
Less popular 3d engines, new or beta: YMMV.
- OpenSceneGraph http://www.openscenegraph.org/projects/osg
- Spyre http://pduel.sourceforge.net/spyre/spyre.spyre-module.html
- PySoy http://www.pysoy.org/
- 大豆 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接口——更多控制,更多让你自己做
Low-level OpenGL interfaces - more control, more for you to do yourself
- PyOpenGL http://pyopengl.sourceforge.net/
- Pyglet http://www.pyglet.org/
- 佐伊 http://www.alcyone.com/software/zoe/莉>
非实时接口
- cgkit http://cgkit.sourceforge.net/documentation.html(Renderman、Maya)
- 搅拌机 http://www.blender3d.org/
- POVray 包装器 http://code.activestate.com/recipes/205451/
- cgkit http://cgkit.sourceforge.net/documentation.html (Renderman, Maya)
- Blender http://www.blender3d.org/
- POVray wrapper http://code.activestate.com/recipes/205451/
这篇关于用于 Python 的 3D 场景渲染器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!