PDA

View Full Version : export blender model to python/pyOpenGL?



finer recliner
November 15th, 2007, 08:38 PM
hey guys. i'm making a 3d game in python using OpenGL.

my game involves a spaceship, and it's way to difficult to make details on the spaceship by making each individual vertex in straight python code.

so does anyone know if a 3d modeling tool (like blender) will allow me to export a static 3d model into python code?

maddog39
November 15th, 2007, 08:42 PM
I would recommend learning/checking out some sort of rendering or scene graph API such as ogre3d which has python bindings to it.

http://www.ogre3d.org/

Wybiral
November 15th, 2007, 09:13 PM
For Python, I believe Soya3D (http://home.gna.org/oomadness/en/soya3d/index.html) has a blender importer. It's also a really cool 3d engine with some nice features (it's not as fancy as Ogre, but it is quite a bit more Pythonic).