Version 3 (modified by nicolasc, 17 years ago) (diff) |
---|
Blender Export howto
This page explains how to export 3D models from Blender to load them in Orxonox.
mesh Files
Prerequisites
Blender Mesh exporter from the http://www.ogre3d.org/index.php?option=com_content&task=view&id=413&Itemid=133 Ogre Webpage. this package should be installed alongside the other Blender scripts. (/usr/share/blender/scripts for a global installation)
exporting to mesh
obj Files
- Delete all unused Materials
- Load the correct texture files for your meshes into blender (jpg or png)
- Select all objects you want to export. Don't forget the mountpoints of your spaceship!
- Export the the Blender scene as an Object file (File → Export → Wavefront (obj))
Now you should have two new files: a *.obj and a *.mtl file. The OBJ file contains all you meshes and texture coordinates. The MTL file contains all material (texture) related data. These files can be edited with any good text editor.
- Wavefront OBJ File Format Summary: http://www.fileformat.info/format/wavefrontobj/
- Alias/WaveFront Material File Format: http://www.fileformat.info/format/material/
Problems
- If your model is transparent in the engine (but shouldn't) you have to flatten you texture file in GIMP before exporting as png or jpg. That deletes the alpha channel, which is not needed anyway.
Attachments (1)
- export.png (5.9 KB) - added by FelixSchulthess 17 years ago.
Download all attachments as: .zip